Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Add state of clickhouse max_table_size_to_drop config option
Browse files Browse the repository at this point in the history
  • Loading branch information
Khatskevich committed Nov 1, 2023
1 parent 4941ab3 commit 3330e47
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/products/clickhouse/howto/manage-databases-tables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,16 @@ Select a table engine
Part of the table definition includes a targeted table engine. The full list of supported table engines in Aiven for ClickHouse can be found :doc:`in this article <../reference/supported-table-engines>`. Aiven for ClickHouse uses ``replicated`` variants of table engines to ensure high availability. Even if you select ``MergeTree`` engine, we will automatically use the replicated variant on our side.

With this knowledge, try out an example dataset described :doc:`over here </docs/products/clickhouse/howto/load-dataset>`.

Remove a table
--------------

A table can be removed both through the command line and Aiven web interface.

.. code:: sql
DROP TABLE transactions.expenses;
.. note::

Clickhouse ``max_table_size_to_drop`` and ``max_partition_size_to_drop`` are disabled in Aiven service, which allows any user with the ``DROP`` privilege to drop a table of any size. Please, consider :doc:`granting </docs/products/clickhouse/howto/manage-users-roles>` only necessary permissions to database users.

Check failure on line 63 in docs/products/clickhouse/howto/manage-databases-tables.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Aiven.aiven_spelling] 'Clickhouse' does not seem to be a recognised word Raw Output: {"message": "[Aiven.aiven_spelling] 'Clickhouse' does not seem to be a recognised word", "location": {"path": "docs/products/clickhouse/howto/manage-databases-tables.rst", "range": {"start": {"line": 63, "column": 5}}}, "severity": "ERROR"}

Check failure on line 63 in docs/products/clickhouse/howto/manage-databases-tables.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Aiven.common_replacements] Use 'ClickHouse' instead of 'Clickhouse'. Raw Output: {"message": "[Aiven.common_replacements] Use 'ClickHouse' instead of 'Clickhouse'.", "location": {"path": "docs/products/clickhouse/howto/manage-databases-tables.rst", "range": {"start": {"line": 63, "column": 5}}}, "severity": "ERROR"}

Check failure on line 63 in docs/products/clickhouse/howto/manage-databases-tables.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Aiven.common_replacements] Use 'ClickHouse' instead of 'clickhouse'. Raw Output: {"message": "[Aiven.common_replacements] Use 'ClickHouse' instead of 'clickhouse'.", "location": {"path": "docs/products/clickhouse/howto/manage-databases-tables.rst", "range": {"start": {"line": 63, "column": 236}}}, "severity": "ERROR"}

0 comments on commit 3330e47

Please sign in to comment.