DT
Size: a a a
DT
DT
OΜ
<?xml version="1.0"?>
<yandex>
<logger>
<level>debug</level>
<log>/var/log/clickhouse-server/clickhouse-server.log</log>
<errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog>
<size>1000M</size>
<count>10</count>
</logger>
<http_port>8123</http_port>
<listen_host>::</listen_host>
<listen_host>0.0.0.0</listen_host>
<listen_try>1</listen_try>
<max_connections>4096</max_connections>
<keep_alive_timeout>3</keep_alive_timeout>
<max_concurrent_queries>100</max_concurrent_queries>
<uncompressed_cache_size>8589934592</uncompressed_cache_size>
<mark_cache_size>5368709120</mark_cache_size>
<path>/var/lib/clickhouse/</path>
<tmp_path>/var/lib/clickhouse/tmp/</tmp_path>
<users_config>users.xml</users_config>
<default_profile>default</default_profile>
<default_database>default</default_database>
<remote_servers>
</remote_servers>
<builtin_dictionaries_reload_interval>3600</builtin_dictionaries_reload_interval>
<query_log>
<database>system</database>
<table>query_log</table>
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
</query_log>
<dictionaries_config>*_dictionary.xml</dictionaries_config>
<resharding>
<task_queue_path>/clickhouse/task_queue</task_queue_path>
</resharding>
</yandex>
version: '3'
services:
clickhouse:
container_name: clickhouse1
image: yandex/clickhouse-server
ports:
- "8123:8123"
volumes:
- ./clickhouse/data:/var/lib/clickhouse:rw
- ./clickhouse/logs:/var/log/clickhouse-server
- ./clickhouse/init_schema.sql:/docker-entrypoint-initdb.d/init_schema.sql
- ./clickhouse/config.xml:/etc/clickhouse-server/config.xml
networks:
- App
networks:
App:
driver: bridge
DN
DT
<?xml version="1.0"?>
<yandex>
<logger>
<level>debug</level>
<log>/var/log/clickhouse-server/clickhouse-server.log</log>
<errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog>
<size>1000M</size>
<count>10</count>
</logger>
<http_port>8123</http_port>
<listen_host>::</listen_host>
<listen_host>0.0.0.0</listen_host>
<listen_try>1</listen_try>
<max_connections>4096</max_connections>
<keep_alive_timeout>3</keep_alive_timeout>
<max_concurrent_queries>100</max_concurrent_queries>
<uncompressed_cache_size>8589934592</uncompressed_cache_size>
<mark_cache_size>5368709120</mark_cache_size>
<path>/var/lib/clickhouse/</path>
<tmp_path>/var/lib/clickhouse/tmp/</tmp_path>
<users_config>users.xml</users_config>
<default_profile>default</default_profile>
<default_database>default</default_database>
<remote_servers>
</remote_servers>
<builtin_dictionaries_reload_interval>3600</builtin_dictionaries_reload_interval>
<query_log>
<database>system</database>
<table>query_log</table>
<flush_interval_milliseconds>7500</flush_interval_milliseconds>
</query_log>
<dictionaries_config>*_dictionary.xml</dictionaries_config>
<resharding>
<task_queue_path>/clickhouse/task_queue</task_queue_path>
</resharding>
</yandex>
version: '3'
services:
clickhouse:
container_name: clickhouse1
image: yandex/clickhouse-server
ports:
- "8123:8123"
volumes:
- ./clickhouse/data:/var/lib/clickhouse:rw
- ./clickhouse/logs:/var/log/clickhouse-server
- ./clickhouse/init_schema.sql:/docker-entrypoint-initdb.d/init_schema.sql
- ./clickhouse/config.xml:/etc/clickhouse-server/config.xml
networks:
- App
networks:
App:
driver: bridge
DT
OΜ
ТИ
AS
ТИ
ТИ
DT
SELECT
toDecimal64(now64(), 3),
now64()
Query id: 1b2cd2b4-6731-4ae0-965c-8067c9b12cd2
┌─toDecimal64(now64(), 3)─┬─────────────────now64()─┐
│ 1613720802.033 │ 2021-02-19 10:46:42.033 │
└─────────────────────────┴─────────────────────────┘
ТИ
SELECT
toDecimal64(now64(), 3),
now64()
Query id: 1b2cd2b4-6731-4ae0-965c-8067c9b12cd2
┌─toDecimal64(now64(), 3)─┬─────────────────now64()─┐
│ 1613720802.033 │ 2021-02-19 10:46:42.033 │
└─────────────────────────┴─────────────────────────┘
АЗ
DT
АЗ
MD
Too many parts (N). Merges are processing significantly slower than inserts.
DT
M
Too many parts (N). Merges are processing significantly slower than inserts.