mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +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%';
|