Deleting a database
Written by
Updated at July 24, 2026
If you have a ClickHouse® database, you can delete it.
If you delete the ClickhouseDatabase resource, the relevant database will be deleted in ClickHouse® as well together with all its tables and data.
Using the CLI
- Find the name of the database in the list of project databases:
kubectl get clickhousedatabase -n <project_name>. - Delete the database resource:
kubectl delete clickhousedatabase <resource_name> -n <project_name>.
Using the management console
- If you have not opened a project yet, select one.
- In the left-hand menu, select ClickHouse® Clusters.
- Select a cluster.
- Navigate to the Databases tab.
- Select the database.
- Click Delete.
- Confirm the deletion.