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 > Re: 8.1.8 autov...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 13 of 19 Topic 4951 of 5549
Post > Topic >>

Re: 8.1.8 autovacuum missing databases

by tgl@[EMAIL PROTECTED] (Tom Lane) May 1, 2008 at 09:57 AM

Ian Westmacott <ianw@[EMAIL PROTECTED]
> writes:
> I imagine if a database's last process time is in the future, that would
> mess up autovacuum's choice algorithm (at the least).  Can I confirm
> this is the problem?  Is there a way to fix it short of dump/restore?

Hmm, that would explain a lot wouldn't it ... except that it looks to
me like your databases have old enough datvacuumxid to force vacuuming
regardless of last_autovac_time.  So I'm not fully convinced.

AFAICS there is no convenient way in 8.1 to examine the per-database
last_autovac_time entries, which'd be needed to confirm this theory.
We should check that just to be sure.  Please do the following:

1. Stop the postmaster.
2. Move the file $PGDATA/global/pgstat.stat somewhere else.
3. Restart the postmaster.
4. Send pgstat.stat as a binary attachment to me or Alvaro.

This will reset all your statistics counters and also the
last_autovac_time settings.  If autovac starts to behave more
normally then we'll know that was it.

> I mentioned earlier that I had two installations like this.  The second
> one doesn't seem to have any time issues.  But in that case the only
> database being skipped is postgres.  Do I need to worry about that?

Is the age() getting unreasonably large for postgres?  It might be
skipping it because there's been no activity.

			regards, tom lane

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




 19 Posts in Topic:
8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-29 16:02:53 
Re: 8.1.8 autovacuum missing databases
alvherre@[EMAIL PROTECTED  2008-04-29 16:33:35 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-29 17:05:03 
Re: 8.1.8 autovacuum missing databases
alvherre@[EMAIL PROTECTED  2008-04-29 17:12:44 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-30 09:02:26 
Re: 8.1.8 autovacuum missing databases
alvherre@[EMAIL PROTECTED  2008-04-30 12:19:42 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-04-30 12:27:49 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-30 13:01:48 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-04-30 13:07:13 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-04-30 13:28:08 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-04-30 16:43:57 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-05-01 09:01:22 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-05-01 09:57:28 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-05-02 12:40:58 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-05-02 12:45:07 
Re: 8.1.8 autovacuum missing databases
ajs@[EMAIL PROTECTED] (A  2008-05-02 15:52:11 
Re: 8.1.8 autovacuum missing databases
tgl@[EMAIL PROTECTED] (T  2008-05-02 16:18:17 
Re: 8.1.8 autovacuum missing databases
ajs@[EMAIL PROTECTED] (A  2008-05-02 16:41:52 
Re: 8.1.8 autovacuum missing databases
ianw@[EMAIL PROTECTED] (  2008-05-01 13:58:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Nov 22 17:00:34 CST 2008.