Re: pg_dump: missing pg_database entry

From: gl(at)lbn(dot)fr
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump: missing pg_database entry
Date: 2006-06-13 15:35:27
Message-ID: 1150212927.698366.24070@f6g2000cwb.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Tom Lane a écrit :

> gl(at)lbn(dot)fr writes:
> > I'm experiencing a strange problem with PostgreSQL 7.4.9.
> > One of my database production servers has 2 large databases, it's still
> > possible to connect to them and pass queries, but the pg_database
> > system table is empty, which prohibits such actions as dumping the
> > databases.
>
> Sounds like XID wraparound. Does vacuuming pg_database make the problem
> go away? If so, I'd recommend doing database-wide vacuums in all your
> databases ASAP. And then instituting a regular vacuum maintenance schedule.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org

Thanks for your answers.

Indeed, the vacuum schedule was not regularly executed. Manually
launching the procedure solved the problem.

Regards,
GL

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2006-06-13 15:40:06 Re: XID comparations
Previous Message Scott Ribe 2006-06-13 15:18:17 Re: Fabian Pascal and RDBMS deficiencies in fully