mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-15253: Default optimizer setting changes for MariaDB 10.4
use_stat_tables= PREFERABLY optimizer_use_condition_selectivity= 4
This commit is contained in:
@ -19,6 +19,7 @@ COUNT(*)
|
||||
16
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
connect con1, localhost, root,,;
|
||||
START TRANSACTION;
|
||||
@ -100,7 +101,7 @@ COUNT(*)
|
||||
# ha_innobase::records_in_range() would count the delete-marked records.
|
||||
EXPLAIN SELECT * FROM t1;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE t1 index NULL val 4 NULL 1 Using index
|
||||
1 SIMPLE t1 index NULL val 4 NULL 16 Using index
|
||||
ROLLBACK;
|
||||
EXPLAIN SELECT * FROM t1;
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
|
Reference in New Issue
Block a user