These settings are available in system.settings and are autogenerated from source.
lightweight_delete_mode
Type
LightweightDeleteMode
Default
alter_update
Version history
| Version | Default value | Comment |
|---|---|---|
| 25.5 | alter_update | A new setting |
A mode of internal update query that is executed as a part of lightweight delete.
Possible values:
alter_update- runALTER UPDATEquery that creates a heavyweight mutation.lightweight_update- run lightweight update if possible, runALTER UPDATEotherwise.lightweight_update_force- run lightweight update if possible, throw otherwise.
lightweight_deletes_sync
Type
UInt64
Default
2
Version history
| Version | Default value | Comment |
|---|---|---|
| 24.4 | 2 | The same as 'mutation_sync', but controls only execution of lightweight deletes |
The same as mutations_sync, but controls only execution of lightweight deletes.
Possible values:
| Value | Description |
|---|---|
0 |
Mutations execute asynchronously. |
1 |
The query waits for the lightweight deletes to complete on the current server. |
2 |
The query waits for the lightweight deletes to complete on all replicas (if they exist). |
3 |
The query waits only for active replicas. Supported only for SharedMergeTree. For ReplicatedMergeTree it behaves the same as mutations_sync = 2. |
See Also
Cloud default value: 1.