MEDIARITHMICS / liquibase-clickhouse

Apache License 2.0
43 stars 39 forks source link

Use lightweight deletes #30

Open gustavlarson opened 1 year ago

gustavlarson commented 1 year ago

Change lock logic to use lightweight deletes to improve performance on heavily loaded clusters.

Using mutations_sync waits until mutation is finished on all nodes. Using lightweight deletes (in Clickhouse since 22.8) is a lot quicker.