1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Expose the estimation of number of changed tuples since last analyze

This value, now pg_stat_all_tables.n_mod_since_analyze, was already
tracked and used by autovacuum, but not exposed to the user.

Mark Kirkwood, review by Laurenz Albe
This commit is contained in:
Magnus Hagander
2013-07-05 15:02:09 +02:00
parent 9ce9dfdb99
commit c87ff71f37
6 changed files with 29 additions and 1 deletions

View File

@ -950,6 +950,11 @@ postgres: <replaceable>user</> <replaceable>database</> <replaceable>host</> <re
<entry><type>bigint</></entry>
<entry>Estimated number of dead rows</entry>
</row>
<row>
<entry><structfield>n_mod_since_analyze</></entry>
<entry><type>bigint</></entry>
<entry>Estimated number of rows modified since this table was last analyzed</entry>
</row>
<row>
<entry><structfield>last_vacuum</></entry>
<entry><type>timestamp with time zone</></entry>