mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-08 07:22:25 +00:00
13 lines
498 B
Plaintext
13 lines
498 B
Plaintext
-- Run a query with query cache not enabled
|
|
124437993
|
|
QueryFinish SELECT 124437993; None
|
|
-- Run a query with query cache enabled
|
|
124437994
|
|
QueryFinish SELECT 124437994 SETTINGS use_query_cache = 1; Write
|
|
-- Run the same query with query cache enabled
|
|
124437994
|
|
QueryFinish SELECT 124437994 SETTINGS use_query_cache = 1; Write
|
|
QueryFinish SELECT 124437994 SETTINGS use_query_cache = 1; Read
|
|
-- Throw exception with query cache enabled
|
|
SELECT 124437995, throwIf(1) SETTINGS use_query_cache = 1; None
|