mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
Fix first run of 02494_query_result_cache_events
This commit is contained in:
parent
a4e58908ff
commit
8e9ce68c2b
tests/queries/0_stateless
@ -1,5 +1,12 @@
|
||||
-- { echoOn }
|
||||
|
||||
-- Warm up: If the query result cache has not been used yet, its event counters don't show up in
|
||||
-- system.events (instead of simply being shown as 0). Insert into query result cache once to
|
||||
-- initialize the hit (**) and miss counters (*).
|
||||
SELECT 42 SETTINGS enable_experimental_query_result_cache = true; -- (*)
|
||||
42
|
||||
SELECT 42 SETTINGS enable_experimental_query_result_cache_passive_usage = true; -- (**)
|
||||
42
|
||||
SYSTEM DROP QUERY RESULT CACHE;
|
||||
DROP TABLE IF EXISTS old;
|
||||
-- save current event counts for query result cache
|
||||
|
@ -1,5 +1,11 @@
|
||||
-- { echoOn }
|
||||
|
||||
-- Warm up: If the query result cache has not been used yet, its event counters don't show up in
|
||||
-- system.events (instead of simply being shown as 0). Insert into query result cache once to
|
||||
-- initialize the hit (**) and miss counters (*).
|
||||
SELECT 42 SETTINGS enable_experimental_query_result_cache = true; -- (*)
|
||||
SELECT 42 SETTINGS enable_experimental_query_result_cache_passive_usage = true; -- (**)
|
||||
|
||||
SYSTEM DROP QUERY RESULT CACHE;
|
||||
DROP TABLE IF EXISTS old;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user