mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Added a test #4396
This commit is contained in:
parent
b7a4456007
commit
048f966cde
@ -0,0 +1,2 @@
|
||||
10000000
|
||||
10000000
|
@ -0,0 +1,9 @@
|
||||
DROP TABLE IF EXISTS test.index_memory;
|
||||
CREATE TABLE test.index_memory (x UInt64) ENGINE = MergeTree ORDER BY x SETTINGS index_granularity = 1;
|
||||
INSERT INTO test.index_memory SELECT * FROM system.numbers LIMIT 10000000;
|
||||
SELECT count() FROM test.index_memory;
|
||||
DETACH TABLE test.index_memory;
|
||||
SET max_memory_usage = 79000000;
|
||||
ATTACH TABLE test.index_memory;
|
||||
SELECT count() FROM test.index_memory;
|
||||
DROP TABLE test.index_memory;
|
Loading…
Reference in New Issue
Block a user