BDR Documentation | |||
---|---|---|---|
Prev | Up | Chapter 7. Monitoring | Next |
Statistics on table and index usage are updated normally by the downstream master. This is essential for correct function of autovacuum. If there are no local writes on the downstream master and stats have not been reset these two views should show matching results between upstream and downstream:
pg_stat_user_tables
pg_statio_user_tables
Since indexes are used to apply changes, the identifying indexes on downstream side may appear more heavily used with workloads that perform UPDATEs and DELETEs than non-identifying indexes are.
The built-in index monitoring views are:
pg_stat_user_indexes
pg_statio_user_indexes
All these views are discussed in the PostgreSQL documentation on the statistics views.