mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
19 lines
733 B
Text
19 lines
733 B
Text
set default_storage_engine='tokudb';
|
|
drop table if exists t;
|
|
create table t (a int, b int, c int, primary key(a), key(b), key(c));
|
|
set tokudb_optimize_index_name='primary';
|
|
optimize table t;
|
|
Table Op Msg_type Msg_text
|
|
test.t optimize note Table does not support optimize, doing recreate + analyze instead
|
|
test.t optimize status OK
|
|
set tokudb_optimize_index_name='b';
|
|
optimize table t;
|
|
Table Op Msg_type Msg_text
|
|
test.t optimize note Table does not support optimize, doing recreate + analyze instead
|
|
test.t optimize status OK
|
|
set tokudb_optimize_index_name='c';
|
|
optimize table t;
|
|
Table Op Msg_type Msg_text
|
|
test.t optimize note Table does not support optimize, doing recreate + analyze instead
|
|
test.t optimize status OK
|
|
drop table t;
|