mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
6 lines
305 B
MySQL
6 lines
305 B
MySQL
|
set log_queries = 1;
|
||
|
select count() > 0 from system.settings;
|
||
|
|
||
|
system flush logs;
|
||
|
select result_rows, result_bytes >= 8 from system.query_log where event_date >= today() - 1 and lower(query) like '%select count() > 0 from system.settings%' and type = 'QueryFinish' order by query_start_time desc limit 1;
|