I have a materialized view thats larger than 50gb.
When I want to go drop the materialized view, it keeps coming back with
Size (58.45 GB) is greater than max_[table/partition]_size_to_drop (50.00 GB) 2. File '/var/lib/clickhouse/flags/force_drop_table' intended to force DROP doesn't exist How to fix this:
I tried setting the max_table_size_to_drop to 0, but with no success
Can you try this command:
drop view ... SETTINGS max_table_size_to_drop = 0;
According to https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#max_table_size_to_drop
max_table_size_to_drop this is a global server settings, try to change it in
/etc/clickhouse-server/config.d/max_table_size_to_drop.xml
<clickhouse><max_table_size_to_drop>0</max_table_size_to_drop></clickhouse>
after that restart clickhouse-server
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With