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 5, 2023
1 parent ecc1b7b commit 989d9db
Show file tree
Hide file tree
Showing 4 changed files with 731 additions and 88 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 989d9db

Please sign in to comment.