ClickHouse/tests/queries/1_stateful/00162_mmap_compression_none.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
416 B
MySQL
Raw Normal View History

2021-03-26 19:08:53 +00:00
DROP TABLE IF EXISTS hits_none;
2023-08-13 02:47:05 +00:00
CREATE TABLE hits_none (Title String CODEC(NONE)) ENGINE = MergeTree ORDER BY tuple() SETTINGS index_granularity = 8192, index_granularity_bytes = '10Mi';
2024-07-22 12:42:30 +00:00
INSERT INTO hits_none SELECT Title FROM test.hits SETTINGS enable_filesystem_cache_on_write_operations=0, max_insert_threads=16;
2021-03-26 19:08:53 +00:00
SET min_bytes_to_use_mmap_io = 1;
SELECT sum(length(Title)) FROM hits_none;
DROP TABLE hits_none;