mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +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%';
|