max_table_num_to_throw
If number of tables is greater than this value, server will throw an exception. The following tables are not counted:- view
- remote
- dictionary
- system
- Atomic
- Ordinary
- Replicated
- Lazy
A value of
0 means no limitation.max_table_num_to_warn
If the number of attached tables exceeds the specified value, clickhouse server will add warning messages tosystem.warnings table.
Example
max_table_size_to_drop
Restriction on deleting tables. If the size of a MergeTree table exceedsmax_table_size_to_drop (in bytes), you can’t delete it using a DROP query or TRUNCATE query.
A value of
0 means that you can delete all tables without any restrictions.This setting does not require a restart of the ClickHouse server to apply. Another way to disable the restriction is to create the <clickhouse-path>/flags/force_drop_table file.