mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 04:52:10 +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;
|