-
Notifications
You must be signed in to change notification settings - Fork 764
Add cache for relation persistence #12166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
knizhnik
wants to merge
66
commits into
main
Choose a base branch
from
relkind_cache
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
883379f
Add cache for relation kind
1f93b66
Add test_unlogged for measuring effect of relkind cache
8884f55
Increase number of updates in test_unlogged.py
c083765
Address review comments
ac233dc
Fix access to uninitialized flag
510c891
Add comments
2e34fe0
Replace flags with enum
d5d4124
Fix incorrect unpin condition in get_cached_relkind
a9d4cbe
Unpin entry in case of mdexists error
2c0a87a
Update pgxn/neon/relkind_cache.c
knizhnik 02ecb1e
Update pgxn/neon/pagestore_client.h
knizhnik a9e940e
Add assertion to store_cached_relkind
840c73e
Rename safe_mdexists to determine_entry_relkind and do unpin instead …
e9df43a
Change return type of determine_entry_relkind to RelKind
87c9b06
Remove obsolete comment
ca13e7a
Do not return from TRY/CATCH in determine_entry_relkind
20dea3a
Move lwlock to pagestore_smgr
1e4783f
Update pgxn/neon/pagestore_client.h
knizhnik c3fdab3
Update pgxn/neon/pagestore_client.h
knizhnik 5d93a8c
Update pgxn/neon/relkind_cache.c
knizhnik fb6d7c4
Fix merge conflict
902ea0c
Address review comments
c1362cb
Fix empty list check
9d12eea
Fix merge problems
67c31b6
Fix warning
1c0f4d6
Replace spinlock with LWLock
1ca23b4
Add comment to the test
8e15056
Handle init fork in specialk way
eabac14
Fix merge conflicts
de33aff
Fix merge conflicts
3c54a23
Add test_unlogged_build.py
ae7b92a
Undo check for INIT_FORKNUM
28ce584
Rename relkind to relpersistence
4580391
Update pgxn/neon/pagestore_smgr.c
knizhnik 4885621
Update pgxn/neon/pagestore_smgr.c
knizhnik 657c63b
Update pgxn/neon/pagestore_smgr.c
knizhnik 9955d02
Update pgxn/neon/pagestore_smgr.c
knizhnik 388be47
Update test_runner/performance/test_unlogged.py
knizhnik adf103a
Update test_runner/performance/test_unlogged.py
knizhnik ec89876
Update test_runner/performance/test_unlogged_build.py
knizhnik b36c02d
Update pgxn/neon/pagestore_smgr.c
knizhnik d6d39f7
Reduce size of shared_buffer in test_unlogged_build to rertproduce th…
0226a67
Restore timeout for test_unlogged_)build_test
6164f5e
Update pgxn/neon/relperst_cache.c
knizhnik dd14409
Update pgxn/neon/relperst_cache.c
knizhnik d961d39
Update pgxn/neon/relperst_cache.c
knizhnik 74076ee
Update pgxn/neon/relperst_cache.c
knizhnik 34cf566
Update pgxn/neon/relperst_cache.c
knizhnik 374cd22
Update pgxn/neon/relperst_cache.c
knizhnik 963ffda
Update pgxn/neon/relperst_cache.c
knizhnik 382895d
Update pgxn/neon/relperst_cache.c
knizhnik 9030bc8
Update pgxn/neon/relperst_cache.c
knizhnik 4c49423
Update pgxn/neon/relperst_cache.c
knizhnik b7dbf4c
Update test_runner/performance/test_unlogged.py
knizhnik 2546b79
Update test_runner/performance/test_unlogged.py
knizhnik 71980e3
Address review comments
43b0106
Improve the added test case
hlinnaka d161115
Update test_runner/performance/test_unlogged_build.py
knizhnik b71c609
Move test_unlogged_build.py from p[erformance to regression tests
499df11
Fix bug with using @skip_in_debug_build directive
d3f91be
Compare unlogged build speed with vanilla
75dafd4
Speedup test_unlogged_build.py
9a1317e
Update pgxn/neon/relperst_cache.c
knizhnik f8b4875
Update test_runner/regress/test_unlogged_build.py
knizhnik 9290103
Update test_runner/regress/test_unlogged_build.py
knizhnik fbd668e
Update comment for test_runner/regress/test_unlogged_build.py
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.