mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 02:21:59 +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;
|