git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e3931d0) | patch
Cache smgrnblocks() results in recovery.
2020年7月31日 02:15:18 +0000 (14:15 +1200)
2020年7月31日 02:29:52 +0000 (14:29 +1200)
commit c5315f4f44843c20ada876fdb0d0828795dfbdf5
Cache smgrnblocks() results in recovery.

Avoid repeatedly calling lseek(SEEK_END) during recovery by caching
the size of each fork. For now, we can't use the same technique in
other processes, because we lack a shared invalidation mechanism.

Do this by generalizing the pre-existing caching used by FSM and VM
to support all forks.

Discussion: https://postgr.es/m/CAEepm%3D3SSw-Ty1DFcK%3D1rU-K6GSzYzfdD4d%2BZwapdN7dTa6%3DnQ%40mail.gmail.com
contrib/pg_visibility/pg_visibility.c diff | blob | blame | history
src/backend/access/heap/visibilitymap.c diff | blob | blame | history
src/backend/catalog/storage.c diff | blob | blame | history
src/backend/storage/freespace/freespace.c diff | blob | blame | history
src/backend/storage/smgr/smgr.c diff | blob | blame | history
src/include/storage/smgr.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /