mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
9 lines
270 B
MySQL
9 lines
270 B
MySQL
|
DROP TABLE IF EXISTS hits_none;
|
||
|
CREATE TABLE hits_none (Title String CODEC(NONE)) ENGINE = MergeTree ORDER BY tuple();
|
||
|
INSERT INTO hits_none SELECT Title FROM test.hits;
|
||
|
|
||
|
SET min_bytes_to_use_mmap_io = 1;
|
||
|
SELECT sum(length(Title)) FROM hits_none;
|
||
|
|
||
|
DROP TABLE hits_none;
|