mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
6 lines
198 B
MySQL
6 lines
198 B
MySQL
|
-- Tags: use-rocksdb
|
||
|
|
||
|
CREATE TABLE dict (key UInt64, value String) ENGINE = EmbeddedRocksDB PRIMARY KEY key;
|
||
|
INSERT INTO dict SELECT number, toString(number) FROM numbers(1e3);
|
||
|
OPTIMIZE TABLE dict;
|