mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +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:
@@ -4,6 +4,7 @@ INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARCHAR(100) NULL, c2 VARCHAR(100) NULL);
|
||||
@@ -11,6 +12,7 @@ INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BINARY(100) NULL, c2 BINARY(100) NULL);
|
||||
@@ -18,6 +20,7 @@ INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 VARBINARY(100) NULL, c2 VARBINARY(100) NULL);
|
||||
@@ -25,6 +28,7 @@ INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 BLOB(100) NULL, c2 BLOB(100) NULL);
|
||||
@@ -32,6 +36,9 @@ INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze Warning Engine-independent statistics are not collected for column 'c1'
|
||||
test.t1 analyze Warning Engine-independent statistics are not collected for column 'c2'
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1(c1 TEXT(100) NULL, c2 TEXT(100) NULL);
|
||||
@@ -39,5 +46,8 @@ INSERT INTO t1 VALUES('abc','ABCDEFG');
|
||||
INSERT INTO t1 VALUES('123','1234567890');
|
||||
ANALYZE TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 analyze status Engine-independent statistics collected
|
||||
test.t1 analyze Warning Engine-independent statistics are not collected for column 'c1'
|
||||
test.t1 analyze Warning Engine-independent statistics are not collected for column 'c2'
|
||||
test.t1 analyze status OK
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user