mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +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:
@ -74,6 +74,9 @@ root[root] @ localhost [] >> create table t1 (a int)
|
||||
root[root] @ localhost [] test.t1 : create
|
||||
root[root] @ localhost [] >> insert t1 values (1), (2)
|
||||
root[root] @ localhost [] test.t1 : write
|
||||
root[root] @ localhost [] mysql.table_stats : read
|
||||
root[root] @ localhost [] mysql.column_stats : read
|
||||
root[root] @ localhost [] mysql.index_stats : read
|
||||
root[root] @ localhost [] >> select * from t1
|
||||
root[root] @ localhost [] test.t1 : read
|
||||
root[root] @ localhost [] >> rename table t1 to t2
|
||||
@ -90,6 +93,9 @@ root[root] @ localhost [] test.t2 : read
|
||||
root[root] @ localhost [] >> select * from v1
|
||||
root[root] @ localhost [] test.t2 : read
|
||||
root[root] @ localhost [] test.t2 : read
|
||||
root[root] @ localhost [] mysql.table_stats : read
|
||||
root[root] @ localhost [] mysql.column_stats : read
|
||||
root[root] @ localhost [] mysql.index_stats : read
|
||||
root[root] @ localhost [] >> drop view v1
|
||||
root[root] @ localhost [] >> create temporary table t2 (a date)
|
||||
root[root] @ localhost [] >> insert t2 values ('2020-10-09')
|
||||
|
Reference in New Issue
Block a user