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 Admin > autovacuum?
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4921 of 5124
Post > Topic >>

autovacuum?

by jesper@[EMAIL PROTECTED] (Jesper Krogh) Apr 17, 2008 at 09:48 PM

Hi.

I have a mostly insert/select database, so vacumming is generally not 
much needed.. but among the tables I have one which is used as a 
message-queue so a lot of insert/updates/deletes on small simple records 
on that one.

How do I check that autovacumm is running at all? (I think i have 
enabled it in /etc/postgresql/8.2/*/postgresql.conf ).

select relname,last_autovacuum,last_autoanalyze from pg_stat_user_tables 
where relname = 'job';
  relname |        last_autovacuum        |       last_autoanalyze
---------+-------------------------------+-------------------------------
  job     | 2008-04-16 07:19:24.832413+02 | 2008-04-17 01:40:05.242914+02


So it seems to be running. But shouldn't it hit the table a lot more?
How do I check that it is somehow near optimal?


-- 
Jesper

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




 2 Posts in Topic:
autovacuum?
jesper@[EMAIL PROTECTED]   2008-04-17 21:48:49 
Re: autovacuum?
pavan.deolasee@[EMAIL PRO  2008-04-18 08:29:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Sun Jul 6 17:27:30 CDT 2008.