mariadb/mysql-test/suite
Vicențiu Ciorbaru f0773b7842 Introduce analyze_sample_percentage variable
The variable controls the amount of sampling analyze table performs.

If ANALYZE table with histogram collection is too slow, one can reduce the
time taken by setting analyze_sample_percentage to a lower value of the
total number of rows.
Setting it to 0 will use a formula to compute how many rows to sample:

The number of rows collected is capped to a minimum of 50000 and
increases logarithmically with a coffecient of 4096. The coffecient is
chosen so that we expect an error of less than 3% in our estimations
according to the paper:
"Random Sampling for Histogram Construction: How much is enough?”
– Surajit Chaudhuri, Rajeev Motwani, Vivek Narasayya, ACM SIGMOD, 1998.

The drawback of sampling is that avg_frequency number is computed
imprecisely and will yeild a smaller number than the real one.
2019-02-19 12:01:21 +02:00
..
archive Optimize flush tables with read lock (FTWRL) to not wait for select's 2018-12-09 22:12:25 +02:00
binlog MDEV-17658 change the structure of mysql.user table 2018-12-12 00:31:44 +01:00
binlog_encryption MDEV-15253: Default optimizer setting changes for MariaDB 10.4 2018-12-09 09:22:00 +05:30
compat/oracle MDEV-17959 Assertion `opt_bootstrap || mysql_parse_status || thd->lex->select_stack_top == 0' failed in parse_sql upon DELETE HISTORY under ORACLE mode 2018-12-27 10:32:33 +04:00
csv Optimize flush tables with read lock (FTWRL) to not wait for select's 2018-12-09 22:12:25 +02:00
encryption Merge 10.3 into 10.4 2019-01-17 13:21:27 +02:00
engines MDEV-14576 Include full name of object in message about incorrect value for column 2018-12-21 13:31:18 +01:00
federated MDEV-17096 Pushdown of simple derived tables to storage engines 2019-02-12 14:00:48 -08:00
funcs_1 MDEV-6111 Optimizer Trace 2019-02-13 11:52:36 +05:30
funcs_2
galera MTR tests for galera sync wait up to 2019-02-18 12:54:42 +02:00
galera_3nodes Fixed and re-recorded tests for galera 2019-02-08 14:26:56 +01:00
galera_3nodes_sr Move Galera disabled.def files from test directory to correct suite directory. 2019-01-24 09:14:30 +02:00
galera_sr MDEV-18587 Don't reject DDLs if streaming replication is on 2019-02-19 07:58:03 +02:00
gcol MDEV-18608: Defaults for 10.4: histogram size should be set 2019-02-18 13:37:57 +03:00
handler Changed FLUSH TABLES to not change share version 2018-12-09 22:12:26 +02:00
heap MDEV-16188 Post merge fixes: more for TokuDB 2019-02-08 12:32:31 -08:00
innodb MDEV-18627 Wrong result after instant size change of integer 2019-02-18 18:30:01 +02:00
innodb_fts Merge 10.3 into 10.4 2019-01-18 13:58:33 +02:00
innodb_gis MDEV-16188 Post-merge corrections and adjustments 2019-02-04 22:44:33 -08:00
innodb_zip Merge 10.3 into 10.4 2019-02-05 12:48:02 +02:00
jp
json
large_tests MDEV-15253: Default optimizer setting changes for MariaDB 10.4 2018-12-09 09:22:00 +05:30
maria MDEV-16188 Post-merge corrections and adjustments 2019-02-04 22:44:33 -08:00
mariabackup Merge 10.3 into 10.4 2019-02-16 12:34:41 +02:00
mtr/t
mtr2
multi_source MDEV-16421 Make system tables crash safe 2018-08-14 12:18:38 +03:00
optimizer_unfixed_bugs
parts MDEV-16188 Post-merge corrections and adjustments 2019-02-04 22:44:33 -08:00
perfschema MDEV-15135 - Make LOCK_show_status rwlock, to enable parallelism of 2019-01-28 17:49:53 +04:00
perfschema_stress
plugins MDEV-11340 Allow multiple alternative authentication methods for the same user 2019-02-04 16:07:12 +01:00
roles MDEV-12484 Enable unix socket authentication by default 2019-02-12 19:14:37 +01:00
rpl update the result file after the merge 2019-01-28 14:41:38 +01:00
sql_sequence MDEV-17503 CREATE SEQUENCE failed with innodb_force_primary_key =1 2018-10-29 16:12:52 +02:00
storage_engine Merge branch '10.2' into 10.3 2019-01-03 13:09:41 +01:00
stress
sys_vars Introduce analyze_sample_percentage variable 2019-02-19 12:01:21 +02:00
unit upgrade C/C to 3.1 2019-02-04 16:06:31 +01:00
vcol MDEV-16188 Post-merge corrections and adjustments 2019-02-04 22:44:33 -08:00
versioning Merge branch '10.3' into 10.4 2019-01-26 01:13:41 +01:00
wsrep Merge 10.3 into 10.4 2019-02-05 12:48:02 +02:00