Skip to navigationSkip to main contentSkip to footerScaleway DocsAsk our AI
Ask our AI

How to manage databases in your Data Warehouse for ClickHouse® deployment

This page explains how to manage databases in your Data Warehouse for ClickHouse® deployment.

Before you start

To complete the actions presented below, you must have:

How to manage databases using the Scaleway console

The Scaleway console allows you to create and delete databases for your Data Warehouse for ClickHouse® deployment.

How to create a database using the Scaleway console

  1. Click ClickHouse® under Data & Analytics on the side menu. The Data Warehouse deployment page displays.

  2. Click the name of the desired Data Warehouse deployment. The Overview tab of the deployment displays.

  3. Click the Databases tab. A list of your current databases displays.

  4. Click + Create database. A pop-up displays.

  5. Enter a name for your new database. It can can only contain alphanumeric characters, underscores, and dashes.

  6. Click Create database to confirm.

Your new database appears in the list.

How to delete a database using the Scaleway console

Note

The default database cannot be deleted.

  1. Click ClickHouse® under Data & Analytics on the side menu. The Data Warehouse deployment page displays.

  2. Click the name of the desired Data Warehouse deployment. The Overview tab of the deployment displays.

  3. Click delete icon next to the name of the database you want to delete. A confirmation pop-up displays.

  4. Enter DELETE, then click Delete database to confirm.

The deleted database no longer appears in the list.

How to manage databases using frameworks

Connect to your deployment using your preferred framework.

Tip

You can also connect using the ClickHouse HTTP console from the Overview tab of your deployment. Make sure to enter valid credentials in the top-right fields.

Once connected, you can run SQL queries to CREATE/ALTER/DROP your DATABASE/TABLE.

Refer to the official ClickHouse® documentation on database management for more information.

Still need help?

Create a support ticket
No Results