Commit Graph

219 Commits (79b2ee20c8a041a85dd230c4e787bef22edae57b)

Author SHA1 Message Date
Tom Lane 79b2ee20c8 Add a bit of debug logging to backend_read_statsfile(). 15 years ago
Heikki Linnakangas 89fd72cbf2 Introduce a pipe between postmaster and each backend, which can be used to 15 years ago
Tom Lane b4b6923e03 Fix VACUUM so that it always updates pg_class.reltuples/relpages. 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Tom Lane 7193a90fc1 Zero out vacuum_count and related counters in pgstat_recv_tabstat(). 15 years ago
Robert Haas 4a25bc145a Add client_hostname field to pg_stat_activity. 15 years ago
Magnus Hagander 4c468b37a2 Track last time for statistics reset on databases and bgwriter 15 years ago
Magnus Hagander 40d9e94bd7 Add views and functions to monitor hot standby query conflicts 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Tom Lane 0c90442355 Reset all database-level stats in pgstat_recv_resetcounter(). 15 years ago
Robert Haas 3134d8863e Add new buffers_backend_fsync field to pg_stat_bgwriter. 15 years ago
Tom Lane f4d242ef94 Remove some unnecessary tests of pgstat_track_counts. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 16 years ago
Magnus Hagander 946045f04d Add vacuum and analyze counters to pg_stat_*_tables views. 16 years ago
Tom Lane 46aa77c7bd Add stats functions and views to provide access to a transaction's own 16 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 16 years ago
Tom Lane 223f82d4da Now that we know last_statrequest > last_statwrite can be observed in the 16 years ago
Tom Lane 52e2b33a55 Add some logging code for unexpected cases in pgstat.c, particularly being 16 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Magnus Hagander f13944e9c9 Make checks for invalid pgStatSock use PGINVALID_SOCKET 16 years ago
Magnus Hagander 083e1b0f27 Add functions to reset the statistics counter for a single table/index or 16 years ago
Magnus Hagander 7e40cdc075 Add pg_stat_reset_shared('bgwriter') to reset the cluster-wide shared 16 years ago
Magnus Hagander 87091cb1f1 Create typedef pgsocket for storing socket descriptors. 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Tom Lane 48c192c15e Revise pgstat's tracking of tuple changes to improve the reliability of 16 years ago
Tom Lane 0b39231431 Avoid memory leak if pgstat_vacuum_stat is interrupted partway through. 16 years ago
Tom Lane 8217cfbd99 Add support for an application_name parameter, which is displayed in 16 years ago
Tom Lane 66a8417f4e Fix an oversight in an 8.3-era patch: pgstat_initstats should allow stats 17 years ago
Tom Lane 47ef623c0b Remove pgstat's discrimination against MsgVacuum and MsgAnalyze messages. 17 years ago
Tom Lane 04011cc970 Allow backends to start up without use of the flat-file copy of pg_database. 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 32ea236361 Improve the IndexVacuumInfo/IndexBulkDeleteResult API to allow somewhat sane 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Heikki Linnakangas dcf8409985 Don't reset pg_class.reltuples and relpages in VACUUM, if any pages were 17 years ago
Tom Lane 4e0b63b0b9 Teach pgstat_vacuum_stat to not bother scanning pg_proc in the common case 17 years ago
Peter Eisentraut 9beb9e761b Fix compiler warning about uninitialized variable 17 years ago
Alvaro Herrera 88dd4b0a0d Reduce the acceptable staleness of pgstat data for autovacuum, per the 17 years ago
Tom Lane 3c2313f481 Change the pgstat logic so that the stats collector writes the stats file only 17 years ago
Magnus Hagander f1e237b6b2 Unconditionally write the statsfile when SIGHUP is received, to minimize 18 years ago
Magnus Hagander be8d6c5c34 Make stats_temp_directory PGC_SIGHUP, and document how it may cause a temporary 18 years ago
Magnus Hagander 5b8eb2b4b9 Make the temporary directory for pgstat files configurable by the GUC 18 years ago
Magnus Hagander 70d756970b Move pgstat.tmp into a temporary directory under $PGDATA named pg_stat_tmp. 18 years ago
Alvaro Herrera e36e6b1cab Add a few more DTrace probes to the backend. 18 years ago
Heikki Linnakangas 995fb74202 Turn PGBE_ACTIVITY_SIZE into a GUC variable, track_activity_query_size. 18 years ago
Alvaro Herrera a3540b0f65 Improve our #include situation by moving pointer types away from the 18 years ago
Tom Lane 93c701edc6 Add support for tracking call counts and elapsed runtime for user-defined 18 years ago
Tom Lane 51e1445f10 Teach ANALYZE to distinguish dead and in-doubt tuples, which it formerly 18 years ago
Alvaro Herrera 73b0300b2a Move the HTSU_Result enum definition into snapshot.h, to avoid including 18 years ago
Tom Lane 9b8e1eb375 Adjust the recent patch for reporting of deadlocked queries so that we report 18 years ago
Tom Lane 4b7ae4afae Report the current queries of all backends involved in a deadlock 18 years ago