Re: postgres 'forgets' table definitions

From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: alex <alex(dot)pgsql(at)kerkhove(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres 'forgets' table definitions
Date: 2008-06-10 15:19:32
Message-ID: c2d9e70e0806100819u4469f62bm6986b337a9a32195@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Jun 10, 2008 at 8:59 AM, alex <alex(dot)pgsql(at)kerkhove(dot)net> wrote:
> Problem solved!
>
> After a vacuum full verbose analyze of all the pg_* tables everything is fine again.
>
> I switched to a scripted vacuum about 6 months ago because some (history)tables take way too long to vacuum and have static data anyway. But as it turns out I skipped all the pg_ tables since then. So they were not vacuumed for quite some time.
>
> Even without vacuuming, I don't think postgres should ever behave like this, but I'm glad my problem is solved now.
>

vacuum is a need not a choice, specially with such an old version...
http://www.postgresql.org/docs/7.3/static/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND

in 8.3, there are a couple of improvments in that area that makes
wraparound less frecuent but it is still a problem... and now the
autovacuum is integrated so things are a lot better

--
regards,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Guayaquil - Ecuador
Cel. (593) 87171157

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2008-06-10 15:52:29 Re: postgres 'forgets' table definitions
Previous Message alex 2008-06-10 13:59:07 Re: postgres 'forgets' table definitions