postgresql/src/backend/access
Andres Freund 73487a60fc snapshot scalability: Move subxact info to ProcGlobal, remove PGXACT.
Similar to the previous changes this increases the chance that data
frequently needed by GetSnapshotData() stays in l2 cache. In many
workloads subtransactions are very rare, and this makes the check for
that considerably cheaper.

As this removes the last member of PGXACT, there is no need to keep it
around anymore.

On a larger 2 socket machine this and the two preceding commits result
in a ~1.07x performance increase in read-only pgbench. For read-heavy
mixed r/w workloads without row level contention, I see about 1.1x.

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
2020-08-14 15:33:35 -07:00
..
brin BRIN: Handle concurrent desummarization properly 2020-08-12 15:33:36 -04:00
common
gin snapshot scalability: Don't compute global horizons while building snapshots. 2020-08-12 16:03:49 -07:00
gist snapshot scalability: Move PGXACT->xmin back to PGPROC. 2020-08-13 16:25:21 -07:00
hash
heap snapshot scalability: Introduce dense array of in-progress xids. 2020-08-14 15:33:35 -07:00
index snapshot scalability: Don't compute global horizons while building snapshots. 2020-08-12 16:03:49 -07:00
nbtree snapshot scalability: Move PGXACT->xmin back to PGPROC. 2020-08-13 16:25:21 -07:00
rmgrdesc Rename VariableCacheData.nextFullXid to nextXid. 2020-08-11 12:07:14 -07:00
spgist snapshot scalability: Don't compute global horizons while building snapshots. 2020-08-12 16:03:49 -07:00
table Implement streaming mode in ReorderBuffer. 2020-08-08 07:47:06 +05:30
tablesample
transam snapshot scalability: Move subxact info to ProcGlobal, remove PGXACT. 2020-08-14 15:33:35 -07:00
Makefile