Skip to content

Commit

Permalink
Index scan support for UPDATE/DELETE.
Browse files Browse the repository at this point in the history
During UPDATE/DELETE on compressed hypertables, we do a sequential
scan which can be improved by supporting index scans.

In this patch for a given UPDATE/DELETE query, if there are any
WHERE conditions specified using SEGMENT BY columns, we use index
scan to fetch all matching rows. Fetched rows will be decompressed
and moved to uncompressed chunk and a regular UPDATE/DELETE is
performed on the uncompressed chunk.
  • Loading branch information
sb230132 committed Jun 15, 2023
1 parent 77318dc commit c48f905
Show file tree
Hide file tree
Showing 4 changed files with 791 additions and 71 deletions.
1 change: 1 addition & 0 deletions .unreleased/PR_5586
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Implements: #5586 Index scan support during UPDATE/DELETE
Loading

0 comments on commit c48f905

Please sign in to comment.