select @@rocksdb_default_cf_options;
@@rocksdb_default_cf_options
compression=kLZ4Compression
create table t1(id int primary key, data int) engine=rocksdb;
set global rocksdb_force_flush_memtable_now = true;
set global rocksdb_compact_cf = 'default';
select SUM(id), SUM(data) from t1;
SUM(id)	SUM(data)
50005000	50005000
select cf_name, option_type, value from information_schema.rocksdb_cf_options where cf_name='default' and option_type like 'COMPRESSION%' order by option_type;
cf_name	option_type	value
default	COMPRESSION_OPTS	-14:32767:0
default	COMPRESSION_PER_LEVEL	NUL
default	COMPRESSION_TYPE	kLZ4Compression
select table_name, index_name, cf from information_schema.rocksdb_ddl where table_name='t1' order by table_name, index_name;
table_name	index_name	cf
t1	PRIMARY	default
drop table t1;
