mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
32 lines
1.2 KiB
Text
32 lines
1.2 KiB
Text
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
|
|
DROP TABLE IF EXISTS foo;
|
|
create table foo (a int) compression=tokudb_small;
|
|
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
|
|
CREATE_OPTIONS
|
|
`compression`=tokudb_small
|
|
drop table foo;
|
|
create table foo (a int) compression=tokudb_fast;
|
|
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
|
|
CREATE_OPTIONS
|
|
`compression`=tokudb_fast
|
|
drop table foo;
|
|
create table foo (a int) compression=tokudb_zlib;
|
|
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
|
|
CREATE_OPTIONS
|
|
`compression`=tokudb_zlib
|
|
drop table foo;
|
|
create table foo (a int) compression=tokudb_lzma;
|
|
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
|
|
CREATE_OPTIONS
|
|
`compression`=tokudb_lzma
|
|
drop table foo;
|
|
create table foo (a int) compression=tokudb_quicklz;
|
|
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
|
|
CREATE_OPTIONS
|
|
`compression`=tokudb_quicklz
|
|
drop table foo;
|
|
create table foo (a int) compression=tokudb_uncompressed;
|
|
select CREATE_OPTIONS from information_schema.tables where table_name='foo';
|
|
CREATE_OPTIONS
|
|
`compression`=tokudb_uncompressed
|
|
drop table foo;
|