Skip to content

Commit 926938e

Browse files
committed
updates the TPS metrics
1 parent cd353f3 commit 926938e

File tree

1 file changed

+32
-31
lines changed

1 file changed

+32
-31
lines changed

articles/postgresql/flexible-server/concepts-monitoring.md

Lines changed: 32 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -87,22 +87,22 @@ You can choose from the following categories of enhanced metrics:
8787

8888
#### Database
8989

90-
|Display name|Metric ID|Unit|Description|Dimension|Default enabled|
91-
|---|---|---|---|---|---|
92-
|**Backends** |`numbackends`|Count|Number of back ends that are connected to this database.|DatabaseName|No|
93-
|**Deadlocks** |`deadlocks` |Count|Number of deadlocks that are detected in this database.|DatabaseName|No|
94-
|**Disk Blocks Hit** |`blks_hit` |Count|Number of times disk blocks were found already in the buffer cache, so that a read wasn't necessary.|DatabaseName|No|
95-
|**Disk Blocks Read** |`blks_read`|Count|Number of disk blocks that were read in this database.|DatabaseName|No|
96-
|**Temporary Files** |`temp_files` |Count|Number of temporary files that were created by queries in this database. |DatabaseName|No|
97-
|**Temporary Files Size** |`temp_bytes` |Bytes|Total amount of data that's written to temporary files by queries in this database. |DatabaseName|No|
98-
|**Total Transactions** |`xact_total` |Count|Number of total transactions that executed in this database. |DatabaseName|No|
99-
|**Transactions Committed** |`xact_commit`|Count|Number of transactions in this database that have been committed.|DatabaseName|No|
100-
|**Transactions Rolled back** |`xact_rollback`|Count|Number of transactions in this database that have been rolled back.|DatabaseName|No|
101-
|**Tuples Deleted** |`tup_deleted`|Count|Number of rows that were deleted by queries in this database. |DatabaseName|No|
102-
|**Tuples Fetched** |`tup_fetched`|Count|Number of rows that were fetched by queries in this database. |DatabaseName|No|
103-
|**Tuples Inserted** |`tup_inserted` |Count|Number of rows that were inserted by queries in this database.|DatabaseName|No|
104-
|**Tuples Returned** |`tup_returned` |Count|Number of rows that were returned by queries in this database.|DatabaseName|No|
105-
|**Tuples Updated** |`tup_updated`|Count|Number of rows that were updated by queries in this database. |DatabaseName|No|
90+
|Display name |Metric ID |Unit |Description |Dimension |Default enabled|
91+
|---------------------------------------|---------------------------------|-------|-----------------------------------------------------------------------------------------------------------|------------|---------------|
92+
|**Analyze Counter User Tables** |`analyze_count_user_tables` |Count |Number of times user-only tables have been manually analyzed in this database. |DatabaseName|No |
93+
|**AutoAnalyze Counter User Tables** |`autoanalyze_count_user_tables` |Count |Number of times user-only tables have been analyzed by the autovacuum daemon in this database. |DatabaseName|No |
94+
|**AutoVacuum Counter User Tables** |`autovacuum_count_user_tables` |Count |Number of times user-only tables have been vacuumed by the autovacuum daemon in this database. |DatabaseName|No |
95+
|**Bloat Percent (Preview)** |`bloat_percent` |Percent|Estimated bloat percentage for user only tables. |DatabaseName|No |
96+
|**Estimated Dead Rows User Tables** |`n_dead_tup_user_tables` |Count |Estimated number of dead rows for user-only tables in this database. |DatabaseName|No |
97+
|**Estimated Live Rows User Tables** |`n_live_tup_user_tables` |Count |Estimated number of live rows for user-only tables in this database. |DatabaseName|No |
98+
|**Estimated Modifications User Tables**|`n_mod_since_analyze_user_tables`|Count |Estimated number of rows that were modified since user-only tables were last analyzed. |DatabaseName|No |
99+
|**Transactions per second (Preview)** |`tps` |Count |Number of transactions executed within a second. |DatabaseName|No |
100+
|**User Tables Analyzed** |`tables_analyzed_user_tables` |Count |Number of user-only tables that have been analyzed in this database. |DatabaseName|No |
101+
|**User Tables AutoAnalyzed** |`tables_autoanalyzed_user_tables`|Count |Number of user-only tables that have been analyzed by the autovacuum daemon in this database. |DatabaseName|No |
102+
|**User Tables AutoVacuumed** |`tables_autovacuumed_user_tables`|Count |Number of user-only tables that have been vacuumed by the autovacuum daemon in this database. |DatabaseName|No |
103+
|**User Tables Counter** |`tables_counter_user_tables` |Count |Number of user-only tables in this database. |DatabaseName|No |
104+
|**User Tables Vacuumed** |`tables_vacuumed_user_tables` |Count |Number of user-only tables that have been vacuumed in this database. |DatabaseName|No |
105+
|**Vacuum Counter User Tables** |`vacuum_count_user_tables` |Count |Number of times user-only tables have been manually vacuumed in this database (not counting `VACUUM FULL`).|DatabaseName|No |
106106

107107
#### Logical replication
108108

@@ -151,21 +151,22 @@ Autovaccum metrics can be used to monitor and tune autovaccum performance for Az
151151

152152
### List of autovacuum metrics
153153

154-
|Display name|Metric ID|Unit|Description|Dimension|Default enabled|
155-
|---|---|---|---|---|---|
156-
|**Analyze Counter User Tables** |`analyze_count_user_tables`|Count|Number of times user-only tables have been manually analyzed in this database. |DatabaseName|No |
157-
|**AutoAnalyze Counter User Tables** |`autoanalyze_count_user_tables`|Count|Number of times user-only tables have been analyzed by the autovacuum daemon in this database. |DatabaseName|No |
158-
|**AutoVacuum Counter User Tables** |`autovacuum_count_user_tables` |Count|Number of times user-only tables have been vacuumed by the autovacuum daemon in this database. |DatabaseName|No |
159-
|**Estimated Dead Rows User Tables** |`n_dead_tup_user_tables` |Count|Estimated number of dead rows for user-only tables in this database. |DatabaseName|No |
160-
|**Estimated Live Rows User Tables** |`n_live_tup_user_tables` |Count|Estimated number of live rows for user-only tables in this database. |DatabaseName|No |
161-
|**Estimated Modifications User Tables** |`n_mod_since_analyze_user_tables`|Count|Estimated number of rows that were modified since user-only tables were last analyzed. |DatabaseName|No |
162-
|**User Tables Analyzed** |`tables_analyzed_user_tables`|Count|Number of user-only tables that have been analyzed in this database. |DatabaseName|No |
163-
|**User Tables AutoAnalyzed** |`tables_autoanalyzed_user_tables`|Count|Number of user-only tables that have been analyzed by the autovacuum daemon in this database.|DatabaseName|No |
164-
|**User Tables AutoVacuumed** |`tables_autovacuumed_user_tables`|Count|Number of user-only tables that have been vacuumed by the autovacuum daemon in this database.|DatabaseName|No |
165-
|**User Tables Counter** |`tables_counter_user_tables` |Count|Number of user-only tables in this database.|DatabaseName|No |
166-
|**User Tables Vacuumed** |`tables_vacuumed_user_tables`|Count|Number of user-only tables that have been vacuumed in this database. |DatabaseName|No |
167-
|**Vacuum Counter User Tables** |`vacuum_count_user_tables` |Count|Number of times user-only tables have been manually vacuumed in this database (not counting `VACUUM FULL`).|DatabaseName|No |
168-
|**Bloat Percent (Preview)** |`bloat_percent` |Percent|Estimated bloat percentage for user only tables. |DatabaseName|No |
154+
|Display name |Metric ID |Unit |Description |Dimension |Default enabled|
155+
|---------------------------------------|---------------------------------|-------|-----------------------------------------------------------------------------------------------------------|------------|---------------|
156+
|**Analyze Counter User Tables** |`analyze_count_user_tables` |Count |Number of times user-only tables have been manually analyzed in this database. |DatabaseName|No |
157+
|**AutoAnalyze Counter User Tables** |`autoanalyze_count_user_tables` |Count |Number of times user-only tables have been analyzed by the autovacuum daemon in this database. |DatabaseName|No |
158+
|**AutoVacuum Counter User Tables** |`autovacuum_count_user_tables` |Count |Number of times user-only tables have been vacuumed by the autovacuum daemon in this database. |DatabaseName|No |
159+
|**Bloat Percent (Preview)** |`bloat_percent` |Percent|Estimated bloat percentage for user only tables. |DatabaseName|No |
160+
|**Estimated Dead Rows User Tables** |`n_dead_tup_user_tables` |Count |Estimated number of dead rows for user-only tables in this database. |DatabaseName|No |
161+
|**Estimated Live Rows User Tables** |`n_live_tup_user_tables` |Count |Estimated number of live rows for user-only tables in this database. |DatabaseName|No |
162+
|**Estimated Modifications User Tables**|`n_mod_since_analyze_user_tables`|Count |Estimated number of rows that were modified since user-only tables were last analyzed. |DatabaseName|No |
163+
|**Transactions per second (Preview)** |`tps` |Count |Number of transactions executed within a second. |DatabaseName|No |
164+
|**User Tables Analyzed** |`tables_analyzed_user_tables` |Count |Number of user-only tables that have been analyzed in this database. |DatabaseName|No |
165+
|**User Tables AutoAnalyzed** |`tables_autoanalyzed_user_tables`|Count |Number of user-only tables that have been analyzed by the autovacuum daemon in this database. |DatabaseName|No |
166+
|**User Tables AutoVacuumed** |`tables_autovacuumed_user_tables`|Count |Number of user-only tables that have been vacuumed by the autovacuum daemon in this database. |DatabaseName|No |
167+
|**User Tables Counter** |`tables_counter_user_tables` |Count |Number of user-only tables in this database. |DatabaseName|No |
168+
|**User Tables Vacuumed** |`tables_vacuumed_user_tables` |Count |Number of user-only tables that have been vacuumed in this database. |DatabaseName|No |
169+
|**Vacuum Counter User Tables** |`vacuum_count_user_tables` |Count |Number of times user-only tables have been manually vacuumed in this database (not counting `VACUUM FULL`).|DatabaseName|No |
169170

170171
### Considerations for using autovacuum metrics
171172

0 commit comments

Comments
 (0)