Add stats functions and views to provide access to a transaction's own
statistics counts. These numbers are being accumulated but haven't yet been transmitted to the collector (and won't be, until the transaction ends). For some purposes, though, it's handy to be able to look at them. Joel Jacobson, reviewed by Itagaki Takahiro
Showing
- doc/src/sgml/monitoring.sgml 147 additions, 6 deletionsdoc/src/sgml/monitoring.sgml
- src/backend/catalog/system_views.sql 43 additions, 1 deletionsrc/backend/catalog/system_views.sql
- src/backend/postmaster/pgstat.c 44 additions, 1 deletionsrc/backend/postmaster/pgstat.c
- src/backend/utils/adt/pgstatfuncs.c 201 additions, 1 deletionsrc/backend/utils/adt/pgstatfuncs.c
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
- src/include/catalog/pg_proc.h 26 additions, 1 deletionsrc/include/catalog/pg_proc.h
- src/include/pgstat.h 4 additions, 1 deletionsrc/include/pgstat.h
- src/test/regress/expected/rules.out 58 additions, 54 deletionssrc/test/regress/expected/rules.out
Loading
Please register or sign in to comment