mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Add a test for mmap IO
This commit is contained in:
parent
e55f7e6333
commit
e32beab913
@ -0,0 +1 @@
|
|||||||
|
687074654
|
8
tests/queries/1_stateful/00162_mmap_compression_none.sql
Normal file
8
tests/queries/1_stateful/00162_mmap_compression_none.sql
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
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;
|
Loading…
Reference in New Issue
Block a user