Skip to main content

Why ClickHouse default logging setting is verbose?

· One min read

One thing that often confuses new users is that ClickHouse generates a lot of log output, even under light load.

This is because the default log level is for historical reasons trace (instead of warning that would be the default in other databases).

The ClickHouse developers argue that trace provides a lot of insight in case goes wrong.

On the other hand, large volumes of logging means that system table system.text_log fills up quickly and needs to be merged in the background.

If the database runs stable, users may re-configure the log level.

How to insert all rows from one table to another?

· 2 min read

Introduction

Sometimes you need to reingest all the data from one table to another.

For example, you might want to reingest data from a staging table to a production table. This article shows how to do this using the INSERT INTO statement.

Why is my primary key not used? How can I check?

· 6 min read

Users may see cases where their query is slower than expected, in the belief they are ordering or filtering by a primary key. In this article we show how users can confirm the key is used, highlighting common reasons its not.

How to Enable SSL with Let's Encrypt on a Single ClickHouse Server

· 6 min read

The following steps can be used to enable SSL for a single ClickHouse Server using Let's Encrypt, a free, automated, and open Certificate Authority (CA) designed to make it easy for anyone to secure their websites with HTTPS. By automating the certificate issuance and renewal process, Let's Encrypt ensures websites remain secure without requiring manual intervention.