SPB Git forge
38commits 1branches 0releases
338.7 MBsize
maindefault branch
3 h agolast push
HTML 53.9% TypeScript 44.5% JavaScript 0.6% SQL 0.5%
1.2 KB · 31 lines xml
Raw Blame History
1<!-- Server tuning for the data node (128 GB host, ClickHouse capped at ~24 GB by compose mem_limit). -->2<clickhouse>3    <listen_host>0.0.0.0</listen_host>4    <max_server_memory_usage>20000000000</max_server_memory_usage>5    <max_concurrent_queries>64</max_concurrent_queries>6    <mark_cache_size>2147483648</mark_cache_size>7    <uncompressed_cache_size>2147483648</uncompressed_cache_size>8    <logger>9        <level>warning</level>10        <console>1</console>11    </logger>12    <!-- BACKUP DATABASE dci TO File('/backups/…') — bind-mounted from /srv/dci/backups/clickhouse -->13    <backups>14        <allowed_path>/backups/</allowed_path>15    </backups>16    <!-- keep system logs small -->17    <query_log><ttl>event_date + INTERVAL 30 DAY</ttl></query_log>18    <trace_log remove="1"/>19    <metric_log remove="1"/>20    <asynchronous_metric_log remove="1"/>21    <part_log><ttl>event_date + INTERVAL 30 DAY</ttl></part_log>22    <text_log remove="1"/>23    <prometheus>24        <endpoint>/metrics</endpoint>25        <port>9363</port>26        <metrics>true</metrics>27        <events>true</events>28        <asynchronous_metrics>true</asynchronous_metrics>29    </prometheus>30</clickhouse>31