Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,196 of 9,196 pages
About the help in other languages
All help pages

site.ini [ClickHouseSettings]

The settings of [ClickHouseSettings] in site.ini: Secure, VerifyTLS, ConnectTimeout, Timeout, MutationsSync, Settings

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/site/ClickHouseSettings.md

On this page

site.ini [ClickHouseSettings]

The block [ClickHouseSettings] of settings/site.ini, with 6 setting(s).

ClickHouse (expClickHouseDB): data table connections and import sources on a ClickHouse server, over its HTTP
interface (port 8123, 8443 with TLS). Not a database for a whole site: no transactions, no enforced keys, no
sequences. A data table connection sets these through its options; these are the defaults.

Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/site.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/site.ini.append.php for one siteaccess,
  • extension/<extension>/settings/site.ini.append.php in an extension (read when the extension is active).

Secure

enabled: HTTPS (port 8443 unless one is given)

Default: disabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ClickHouseSettings]
Secure=disabled
*/ ?>

VerifyTLS

disabled: accept any certificate (a test server)

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ClickHouseSettings]
VerifyTLS=enabled
*/ ?>

ConnectTimeout

Seconds to connect, and seconds a statement may take

Default: 10.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ClickHouseSettings]
ConnectTimeout=10
*/ ?>

Timeout

Default: 300.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ClickHouseSettings]
Timeout=300
*/ ?>

MutationsSync

What an ALTER TABLE ... UPDATE/DELETE (a mutation) waits for: 0 nothing, 1 this server, 2 every replica

Default: 2.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ClickHouseSettings]
MutationsSync=2
*/ ?>

Settings

ClickHouse settings sent with every statement, Settings[<name>]=<value> (e.g. Settings[max_execution_time]=60)

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[ClickHouseSettings]
# an empty "Settings[]" first replaces the shipped list; without it the items are added
Settings[]
*/ ?>

Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x