It's missing from here: https://clickhouse.yandex/docs/en/system_tables/index.html
What's the meaning of type column? — that was my initial question, though.
https://github.com/BayoNet is going to add the documentation.
What's the meaning of type column? — that was my initial question, though.
1 - successful start of query execution
2 - successful end of query execution
3 - exception before start of query execution
4 - exception while query execution
Each query create one or two events in query_log table:
Are there any way to avoid writing INSERT queries into query_log ?
There is no way. Please note, that INSERTs are logged without data.
can I safely truncate query_log table?
can I safely truncate
query_logtable?
Yes, it's 100% safe.
Documentation is added and available on the official website:
https://clickhouse.yandex/docs/en/operations/system_tables/#system_tables-query-log
Most helpful comment
https://github.com/BayoNet is going to add the documentation.
1 - successful start of query execution
2 - successful end of query execution
3 - exception before start of query execution
4 - exception while query execution
Each query create one or two events in
query_logtable: