You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

clickhouse-config.xml 3.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0"?>
  2. <yandex>
  3. <logger>
  4. <!-- Possible levels: https://github.com/pocoproject/poco/blob/develop/Foundation/include/Poco/Logger.h#L105 -->
  5. <level>debug</level>
  6. <log>${RSPAMD_TMPDIR}/clickhouse/clickhouse-server.log</log>
  7. <errorlog>${RSPAMD_TMPDIR}/clickhouse/clickhouse-server.err.log</errorlog>
  8. <size>1000M</size>
  9. <count>10</count>
  10. <!-- <console>1</console> --> <!-- Default behavior is autodetection (log to console if not daemon mode and is tty) -->
  11. </logger>
  12. <listen_host>127.0.0.1</listen_host>
  13. <http_port>${CLICKHOUSE_PORT}</http_port>
  14. <!-- Path to configuration file with users, access rights, profiles of settings, quotas. -->
  15. <users_config>${RSPAMD_TMPDIR}/users.xml</users_config>
  16. <!-- <listen_reuse_port>0</listen_reuse_port> -->
  17. <!-- <listen_backlog>64</listen_backlog> -->
  18. <max_connections>4096</max_connections>
  19. <keep_alive_timeout>3</keep_alive_timeout>
  20. <!-- Maximum number of concurrent queries. -->
  21. <max_concurrent_queries>100</max_concurrent_queries>
  22. <!-- Set limit on number of open files (default: maximum). This setting makes sense on Mac OS X because getrlimit() fails to retrieve
  23. correct maximum value. -->
  24. <max_open_files>256</max_open_files>
  25. <!-- Approximate size of mark cache, used in tables of MergeTree family.
  26. In bytes. Cache is single for server. Memory is allocated only on demand.
  27. You should not lower this value.
  28. -->
  29. <mark_cache_size>5368709120</mark_cache_size>
  30. <!-- Path to data directory, with trailing slash. -->
  31. <path>${RSPAMD_TMPDIR}/clickhouse/</path>
  32. <!-- Default profile of settings. -->
  33. <default_profile>default</default_profile>
  34. <!-- System profile of settings. This settings are used by internal processes (Buffer storage, Distibuted DDL worker and so on). -->
  35. <!-- <system_profile>default</system_profile> -->
  36. <!-- Default database. -->
  37. <default_database>default</default_database>
  38. <!-- Server time zone could be set here.
  39. Time zone is used when converting between String and DateTime types,
  40. when printing DateTime in text formats and parsing DateTime from text,
  41. it is used in date and time related functions, if specific time zone was not passed as an argument.
  42. Time zone is specified as identifier from IANA time zone database, like UTC or Africa/Abidjan.
  43. If not specified, system time zone at server startup is used.
  44. Please note, that server could display time zone alias instead of specified name.
  45. Example: W-SU is an alias for Europe/Moscow and Zulu is an alias for UTC.
  46. -->
  47. <!-- <timezone>Europe/Moscow</timezone> -->
  48. <!-- You can specify umask here (see "man umask"). Server will apply it on startup.
  49. Number is always parsed as octal. Default umask is 027 (other users cannot read logs, data files, etc; group can only read).
  50. -->
  51. <!-- <umask>022</umask> -->
  52. </yandex>