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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 941697c) | patch
snapshot scalability: Move PGXACT->vacuumFlags to ProcGlobal->vacuumFlags.
2020年7月15日 22:35:07 +0000 (15:35 -0700)
2020年8月14日 22:33:35 +0000 (15:33 -0700)
commit 5788e258bb26495fab65ff3aa486268d1c50b123
snapshot scalability: Move PGXACT->vacuumFlags to ProcGlobal->vacuumFlags.

Similar to the previous commit this increases the chance that data
frequently needed by GetSnapshotData() stays in l2 cache. As we now
take care to not unnecessarily write to ProcGlobal->vacuumFlags, there
should be very few modifications to the ProcGlobal->vacuumFlags array.

Author: Andres Freund <andres@anarazel.de>
Reviewed-By: Robert Haas <robertmhaas@gmail.com>
Reviewed-By: Thomas Munro <thomas.munro@gmail.com>
Reviewed-By: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/20200301083601.ews6hz5dduc3w2se@alap3.anarazel.de
src/backend/access/transam/twophase.c diff | blob | blame | history
src/backend/commands/vacuum.c diff | blob | blame | history
src/backend/postmaster/autovacuum.c diff | blob | blame | history
src/backend/replication/logical/logical.c diff | blob | blame | history
src/backend/replication/slot.c diff | blob | blame | history
src/backend/storage/ipc/procarray.c diff | blob | blame | history
src/backend/storage/lmgr/deadlock.c diff | blob | blame | history
src/backend/storage/lmgr/proc.c diff | blob | blame | history
src/include/storage/proc.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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