heap: partial-HOT index update improvements (phot)#37
Draft
gburd wants to merge 4 commits into
Draft
Conversation
This patch extends the cases where HOT updates are possible in the heapam by examining expression indexes and determining if indexed values where mutated or not. Previously, any expression index on a column would disqualify it from the HOT update path. Also examines partial indexes to see if the values are within the predicate or not. This is a modified application of a patch proposed on the pgsql-hackers list: https://www.postgresql.org/message-id/flat/4d9928ee-a9e6-15f9-9c82-5981f13ffca6%40postgrespro.ru applied: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=c203d6cf8 reverted: https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=05f84605dbeb9cf8279a157234b24bbb706c5256 Signed-off-by: Greg Burd <gregburd@amazon.com>
15913cb to
06a2a69
Compare
3b49b2a to
0b3e646
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft PR opened to enable OCR AI review on the
heap-hot-updatesbranch. Title/description are provisional — rename before publishing to pgsql-hackers.