# ClickHouse

`ClickHouse` is an open-source column-oriented DBMS (columnar database management system) for online analytical processing (OLAP) that allows users to generate analytical reports using SQL queries in real-time.

Glances uses the `ClickHouse-connect` Python lib.

The connection should be defined in the Glances configuration file as following:

    [clickhouse]
    host=localhost
    port=8123
    db=glances
    user=default
    password=password

and run Glances with:

    $ glances --export clickhouse