mirror of
https://github.com/MariaDB/server.git
synced 2025-02-13 17:05:35 +01:00
53 lines
2.1 KiB
Text
53 lines
2.1 KiB
Text
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE t1(c1 CHAR(100) NULL, c2 CHAR(100) NULL);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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);
|
|
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;
|