mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
enable part_log by default
This commit is contained in:
parent
9a1bed8b91
commit
c83551ef8e
@ -888,13 +888,13 @@
|
|||||||
</query_views_log>
|
</query_views_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -741,10 +741,11 @@ query_views_log:
|
|||||||
|
|
||||||
# Uncomment if use part log.
|
# Uncomment if use part log.
|
||||||
# Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
# Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
||||||
# part_log:
|
part_log:
|
||||||
# database: system
|
database: system
|
||||||
# table: part_log
|
table: part_log
|
||||||
# flush_interval_milliseconds: 7500
|
partition_by: toYYYYMM(event_date)
|
||||||
|
flush_interval_milliseconds: 7500
|
||||||
|
|
||||||
# Uncomment to write text log into table.
|
# Uncomment to write text log into table.
|
||||||
# Text log contains all information from usual server log but stores it in structured and efficient way.
|
# Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -304,14 +304,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Parameters for embedded dictionaries, used in Yandex.Metrica.
|
<!-- Parameters for embedded dictionaries, used in Yandex.Metrica.
|
||||||
See https://clickhouse.yandex/docs/en/dicts/internal_dicts/
|
See https://clickhouse.yandex/docs/en/dicts/internal_dicts/
|
||||||
|
@ -544,7 +544,7 @@
|
|||||||
<port>9019</port>
|
<port>9019</port>
|
||||||
</jdbc_bridge>
|
</jdbc_bridge>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Configuration of clusters that could be used in Distributed tables.
|
<!-- Configuration of clusters that could be used in Distributed tables.
|
||||||
https://clickhouse.tech/docs/en/operations/table_engines/distributed/
|
https://clickhouse.tech/docs/en/operations/table_engines/distributed/
|
||||||
-->
|
-->
|
||||||
@ -838,13 +838,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -317,13 +317,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -317,13 +317,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -317,13 +317,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -329,13 +329,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -321,13 +321,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -323,13 +323,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -323,13 +323,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -323,13 +323,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -329,13 +329,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -337,13 +337,13 @@
|
|||||||
</query_views_log>
|
</query_views_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
@ -329,13 +329,13 @@
|
|||||||
</query_thread_log>
|
</query_thread_log>
|
||||||
|
|
||||||
<!-- Uncomment if use part log.
|
<!-- Uncomment if use part log.
|
||||||
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).
|
Part log contains information about all actions with parts in MergeTree tables (creation, deletion, merges, downloads).-->
|
||||||
<part_log>
|
<part_log>
|
||||||
<database>system</database>
|
<database>system</database>
|
||||||
<table>part_log</table>
|
<table>part_log</table>
|
||||||
|
<partition_by>toYYYYMM(event_date)</partition_by>
|
||||||
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
|
||||||
</part_log>
|
</part_log>
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Uncomment to write text log into table.
|
<!-- Uncomment to write text log into table.
|
||||||
Text log contains all information from usual server log but stores it in structured and efficient way.
|
Text log contains all information from usual server log but stores it in structured and efficient way.
|
||||||
|
Loading…
Reference in New Issue
Block a user