ClickHouse/tests/queries/0_stateless/02910_rocksdb_optimize.sql
Azat Khuzhin 09c1e76982 Allow manual compaction of rocksdb via OPTIMIZE query
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-01 22:27:11 +01:00

6 lines
198 B
SQL

-- 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;