postgresql/src/backend/storage
Robert Haas 10ea0f924a Expose some information about backend subxact status.
A new function pg_stat_get_backend_subxact() can be used to get
information about the number of subtransactions in the cache of
a particular backend and whether that cache has overflowed. This
can be useful for tracking down performance problems that can
result from overflowed snapshots.

Dilip Kumar, reviewed by Zhihong Yu, Nikolay Samokhvalov,
Justin Pryzby, Nathan Bossart, Ashutosh Sharma, Julien
Rouhaud. Additional design comments from Andres Freund,
Tom Lane, Bruce Momjian, and David G. Johnston.

Discussion: http://postgr.es/m/CAFiTN-ut0uwkRJDQJeDPXpVyTWD46m3gt3JDToE02hTfONEN=Q@mail.gmail.com
2022-12-19 14:43:09 -05:00
..
buffer Clean up some inconsistencies with GUC declarations 2022-10-31 12:44:48 +09:00
file Update types in File API 2022-12-08 08:58:15 +01:00
freespace Revert 56-bit relfilenode change and follow-up commits. 2022-09-28 09:55:28 -04:00
ipc Expose some information about backend subxact status. 2022-12-19 14:43:09 -05:00
large_object meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
lmgr Static assertions cleanup 2022-12-15 10:10:32 +01:00
page Static assertions cleanup 2022-12-15 10:10:32 +01:00
smgr Apply a better fix to mdunlinkfork(). 2022-11-09 14:15:38 -05:00
sync meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
Makefile Refactor the fsync queue for wider use. 2019-04-04 23:38:38 +13:00
meson.build meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00