mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
4 lines
196 B
SQL
4 lines
196 B
SQL
SYSTEM FLUSH LOGS;
|
|
SET max_rows_to_read = 0; -- system.text_log can be really big
|
|
SELECT count() > 0 FROM system.text_log WHERE event_date >= yesterday() AND message LIKE '%Starting ClickHouse%';
|