diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml index ea8b017..672a1fe 100644 --- a/doc/src/sgml/monitoring.sgml +++ b/doc/src/sgml/monitoring.sgml @@ -1070,95 +1070,95 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, - transaction-start + transaction__start (LocalTransactionId) Probe that fires at the start of a new transaction. arg0 is the transaction id. - transaction-commit + transaction__commit (LocalTransactionId) Probe that fires when a transaction completes successfully. arg0 is the transaction id. - transaction-abort + transaction__abort (LocalTransactionId) Probe that fires when a transaction completes unsuccessfully. arg0 is the transaction id. - query-start + query__start (const char *) Probe that fires when the processing of a query is started. arg0 is the query string. - query-done + query__done (const char *) Probe that fires when the processing of a query is complete. arg0 is the query string. - query-parse-start + query__parse__start (const char *) Probe that fires when the parsing of a query is started. arg0 is the query string. - query-parse-done + query__parse__done (const char *) Probe that fires when the parsing of a query is complete. arg0 is the query string. - query-rewrite-start + query__rewrite__start (const char *) Probe that fires when the rewriting of a query is started. arg0 is the query string. - query-rewrite-done + query__rewrite__done (const char *) Probe that fires when the rewriting of a query is complete. arg0 is the query string. - query-plan-start + query__plan__start () Probe that fires when the planning of a query is started. - query-plan-done + query__plan__done () Probe that fires when the planning of a query is complete. - query-execute-start + query__execute__start () Probe that fires when the execution of a query is started. - query-execute-done + query__execute__done () Probe that fires when the execution of a query is complete. - statement-status + statement__status (const char *) Probe that fires anytime the server process updates its pg_stat_activity.current_query status. arg0 is the new status string. - checkpoint-start + checkpoint__start (int) Probe that fires when a checkpoint is started. arg0 holds the bitwise flags used to distinguish different checkpoint types, such as shutdown, immediate or force. - checkpoint-done + checkpoint__done (int, int, int, int, int) Probe that fires when a checkpoint is complete. (The probes listed next fire in sequence during checkpoint processing.) @@ -1167,20 +1167,20 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, removed and recycled respectively. - clog-checkpoint-start + clog__checkpoint__start (bool) Probe that fires when the CLOG portion of a checkpoint is started. arg0 is true for normal checkpoint, false for shutdown checkpoint. - clog-checkpoint-done + clog__checkpoint__done (bool) Probe that fires when the CLOG portion of a checkpoint is - complete. arg0 has the same meaning as for clog-checkpoint-start. + complete. arg0 has the same meaning as for clog__checkpoint__start. - subtrans-checkpoint-start + subtrans__checkpoint__start (bool) Probe that fires when the SUBTRANS portion of a checkpoint is started. @@ -1188,14 +1188,14 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, checkpoint. - subtrans-checkpoint-done + subtrans__checkpoint__done (bool) Probe that fires when the SUBTRANS portion of a checkpoint is complete. arg0 has the same meaning as for - subtrans-checkpoint-start. + subtrans__checkpoint__start. - multixact-checkpoint-start + multixact__checkpoint__start (bool) Probe that fires when the MultiXact portion of a checkpoint is started. @@ -1203,14 +1203,14 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, checkpoint. - multixact-checkpoint-done + multixact__checkpoint__done (bool) Probe that fires when the MultiXact portion of a checkpoint is complete. arg0 has the same meaning as for - multixact-checkpoint-start. + multixact__checkpoint__start. - buffer-checkpoint-start + buffer__checkpoint__start (int) Probe that fires when the buffer-writing portion of a checkpoint is started. @@ -1218,7 +1218,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, types, such as shutdown, immediate or force. - buffer-sync-start + buffer__sync__start (int, int) Probe that fires when we begin to write dirty buffers during checkpoint (after identifying which buffers must be written). @@ -1226,47 +1226,47 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, arg1 is the number that are currently dirty and need to be written. - buffer-sync-written + buffer__sync__written (int) Probe that fires after each buffer is written during checkpoint. arg0 is the ID number of the buffer. - buffer-sync-done + buffer__sync__done (int, int, int) Probe that fires when all dirty buffers have been written. arg0 is the total number of buffers. arg1 is the number of buffers actually written by the checkpoint process. arg2 is the number that were expected to be written (arg1 of - buffer-sync-start); any difference reflects other processes flushing + buffer__sync__start); any difference reflects other processes flushing buffers during the checkpoint. - buffer-checkpoint-sync-start + buffer__checkpoint__sync__start () Probe that fires after dirty buffers have been written to the kernel, and before starting to issue fsync requests. - buffer-checkpoint-done + buffer__checkpoint__done () Probe that fires when syncing of buffers to disk is complete. - twophase-checkpoint-start + twophase__checkpoint__start () Probe that fires when the two-phase portion of a checkpoint is started. - twophase-checkpoint-done + twophase__checkpoint__done () Probe that fires when the two-phase portion of a checkpoint is complete. - buffer-read-start + buffer__read__start (ForkNumber, BlockNumber, Oid, Oid, Oid, bool, bool) Probe that fires when a buffer read is started. arg0 and arg1 contain the fork and block numbers of the page (but @@ -1278,7 +1278,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, read. - buffer-read-done + buffer__read__done (ForkNumber, BlockNumber, Oid, Oid, Oid, bool, bool, bool) Probe that fires when a buffer read is complete. arg0 and arg1 contain the fork and block numbers of the page (if this @@ -1292,7 +1292,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, arg7 is true if the buffer was found in the pool, false if not. - buffer-flush-start + buffer__flush__start (ForkNumber, BlockNumber, Oid, Oid, Oid) Probe that fires before issuing any write request for a shared buffer. @@ -1301,15 +1301,15 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, identifying the relation. - buffer-flush-done + buffer__flush__done (ForkNumber, BlockNumber, Oid, Oid, Oid) Probe that fires when a write request is complete. (Note that this just reflects the time to pass the data to the kernel; it's typically not actually been written to disk yet.) - The arguments are the same as for buffer-flush-start. + The arguments are the same as for buffer__flush__start. - buffer-write-dirty-start + buffer__write__dirty__start (ForkNumber, BlockNumber, Oid, Oid, Oid) Probe that fires when a server process begins to write a dirty buffer. (If this happens often, it implies that @@ -1320,13 +1320,13 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, identifying the relation. - buffer-write-dirty-done + buffer__write__dirty__done (ForkNumber, BlockNumber, Oid, Oid, Oid) Probe that fires when a dirty-buffer write is complete. - The arguments are the same as for buffer-write-dirty-start. + The arguments are the same as for buffer__write__dirty__start. - wal-buffer-write-dirty-start + wal__buffer__write__dirty__start () Probe that fires when when a server process begins to write a dirty WAL buffer because no more WAL buffer space is available. @@ -1334,24 +1334,24 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, is too small.) - wal-buffer-write-dirty-done + wal__buffer__write__dirty__done () Probe that fires when a dirty WAL buffer write is complete. - xlog-insert + xlog__insert (unsigned char, unsigned char) Probe that fires when a WAL record is inserted. arg0 is the resource manager (rmid) for the record. arg1 contains the info flags. - xlog-switch + xlog__switch () Probe that fires when a WAL segment switch is requested. - smgr-md-read-start + smgr__md__read__start (ForkNumber, BlockNumber, Oid, Oid, Oid) Probe that fires when beginning to read a block from a relation. arg0 and arg1 contain the fork and block numbers of the page. @@ -1359,7 +1359,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, identifying the relation. - smgr-md-read-done + smgr__md__read__done (ForkNumber, BlockNumber, Oid, Oid, Oid, int, int) Probe that fires when a block read is complete. arg0 and arg1 contain the fork and block numbers of the page. @@ -1369,7 +1369,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, requested (if these are different it indicates trouble). - smgr-md-write-start + smgr__md__write__start (ForkNumber, BlockNumber, Oid, Oid, Oid) Probe that fires when beginning to write a block to a relation. arg0 and arg1 contain the fork and block numbers of the page. @@ -1377,7 +1377,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, identifying the relation. - smgr-md-write-done + smgr__md__write__done (ForkNumber, BlockNumber, Oid, Oid, Oid, int, int) Probe that fires when a block write is complete. arg0 and arg1 contain the fork and block numbers of the page. @@ -1387,7 +1387,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, requested (if these are different it indicates trouble). - sort-start + sort__start (int, bool, int, int, bool) Probe that fires when a sort operation is started. arg0 indicates heap, index or datum sort. @@ -1397,7 +1397,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, arg4 is true if random access to the sort result is required. - sort-done + sort__done (bool, long) Probe that fires when a sort is complete. arg0 is true for external sort, false for internal sort. @@ -1405,21 +1405,21 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, or kilobytes of memory used for an internal sort. - lwlock-acquire + lwlock__acquire (LWLockId, LWLockMode) Probe that fires when an LWLock has been acquired. arg0 is the LWLock's ID. arg1 is the requested lock mode, either exclusive or shared. - lwlock-release + lwlock__release (LWLockId) Probe that fires when an LWLock has been released (but note that any released waiters have not yet been awakened). arg0 is the LWLock's ID. - lwlock-wait-start + lwlock__wait__start (LWLockId, LWLockMode) Probe that fires when an LWLock was not immediately available and a server process has begun to wait for the lock to become available. @@ -1427,7 +1427,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, arg1 is the requested lock mode, either exclusive or shared. - lwlock-wait-done + lwlock__wait__done (LWLockId, LWLockMode) Probe that fires when a server process has been released from its wait for an LWLock (it does not actually have the lock yet). @@ -1435,7 +1435,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, arg1 is the requested lock mode, either exclusive or shared. - lwlock-condacquire + lwlock__condacquire (LWLockId, LWLockMode) Probe that fires when an LWLock was successfully acquired when the caller specified no waiting. @@ -1443,7 +1443,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, arg1 is the requested lock mode, either exclusive or shared. - lwlock-condacquire-fail + lwlock__condacquire__fail (LWLockId, LWLockMode) Probe that fires when an LWLock was not successfully acquired when the caller specified no waiting. @@ -1451,7 +1451,7 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, arg1 is the requested lock mode, either exclusive or shared. - lock-wait-start + lock__wait__start (unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, LOCKMODE) Probe that fires when a request for a heavyweight lock (lmgr lock) has begun to wait because the lock is not available. @@ -1460,14 +1460,14 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS procpid, arg5 indicates the lock type being requested. - lock-wait-done + lock__wait__done (unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, LOCKMODE) Probe that fires when a request for a heavyweight lock (lmgr lock) has finished waiting (i.e., has acquired the lock). - The arguments are the same as for lock-wait-start. + The arguments are the same as for lock__wait__start. - deadlock-found + deadlock__found () Probe that fires when a deadlock is found by the deadlock detector.