Re: Vacuum statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What version of Postgres you are running ?

If you are using 8.3, you can use pg_stat_all_tables.If Not you can use http://www.postgresql.org/docs/current/static/pgstattuple.html

Chirag

On Tue, Apr 29, 2008 at 8:14 AM, Francisco Reyes <lists@xxxxxxxxxxxxxxxx> wrote:
I recall reading posts in the past where one could query the stat tables and see how well autovacuum was performing. Not finding the posts.


I found this query:
SELECT relname, relkind, reltuples, relpages FROM pg_class where relkind = 'r';


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux