Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Vacuum statisti...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4034 of 4154
Post > Topic >>

Vacuum statistics

by lists@[EMAIL PROTECTED] (Francisco Reyes) Apr 29, 2008 at 08:14 AM

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';

From the output how can I tell the number of dead tuples? Or how effective

autovacuum is in the particular table..

Recently inheritted several large Postgresql DBs (tables in the hundreds
of 
millions and some tables over a billion rows) and I am just starting to go

over them and see how autovacuum has been performing.


-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance




 4 Posts in Topic:
Vacuum statistics
lists@[EMAIL PROTECTED]   2008-04-29 08:14:54 
Re: Vacuum statistics
chirag.dave@[EMAIL PROTEC  2008-05-02 10:09:49 
Re: Vacuum statistics
lists@[EMAIL PROTECTED]   2008-05-03 22:15:11 
Re: Vacuum statistics
markir@[EMAIL PROTECTED]   2008-05-04 16:43:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 22:21:34 CDT 2008.