-
Notifications
You must be signed in to change notification settings - Fork 735
Open
Labels
area/queryprocessorQuery processor issues and requestsQuery processor issues and requests
Description
Information
BATCH UPDATE and BATCH DELETE FROM operations allow to update/delete records in large tables while minimizing the risk of lock invalidation and transaction rollback by weakening guarantees.
Documentation
v25.1.2
How to enable and configure
// cluster.yaml
table_service_config:
// Required flags
enable_oltp_sink: true
enable_batch_updates: true
// Optional
batch_operation_settings:
max_batch_size: 10000
min_batch_size: 1
start_retry_delay_ms: 50
max_retry_delay_ms: 30000
partition_execution_limit: 10Tasks
v25.1.2
- implement batch update & delete operations #15695
- [KQP] Write a doc for BATCH operations #17161
- Implement stress and compatibility tests for BATCH operations #18672
- KqpTableSinkSettings.IsBatch() == false for the BATCH UPDATE query #19394
- [KQP] Improve BATCH operations by custom pruning table partitions #19734
- [KQP] Unexpected crash with BATCH operations from stress tests #19775
- [KQP] Write a doc for NoTx transaction mode with SDK and CLI examples #21065 + link it to BATCH docs
v25.2
- [KQP] PartitionPruner for BATCH queries to stable-25-1 #21075
- Flaky BATCH DELETE large tests, fix locks invalidation #23716
v25.3.1
- Some bugs with BATCH operations after enabling, /ru-prestable #28865
- Set sequential scan for BATCH operations #28934
Future works
Development
v25.1.2
- BATCH UPDATE/DELETE queries for per row updates with NoTx #13340
- Fixes + new features for BATCH UPDATE/DELETE #14994
- Add target batch_operations to kqp/ut/ya.make #17203
- Add size and rows limits for batch operations large tests #17270
- Add docs for batch operations #17283
- 25-1: Fixes for BATCH UPDATE/DELETE operations #18135
- Disable OLAP support for BATCH operations, add tests for ON and OLAP #18293
- Impl compatibility tests for BATCH operations #18969
- feat: add batch update+delete ops to simple queue #19419
- Fixes for BATCH operations for tables with index and empty result rows #19463
- [KQP] Fix nullptr errors with BATCH operations and not created tables #19766
v25.2
- [KQP] Add configuration for the custom partition pruning for DataExecuter and PartitionedExecuter #19919
- [KQP] Compatibility changes for BATCH operations #21204
- [KQP] Fix flaky tests for BATCH operations with gvit's single partitioning optimizations #23758
v25.3
Metadata
Metadata
Assignees
Labels
area/queryprocessorQuery processor issues and requestsQuery processor issues and requests