Re: Regarding Vacuumdb

From: Shaun Thomas <sthomas(at)townnews(dot)com>
To: <shan(at)ceedees(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Regarding Vacuumdb
Date: 2001-08-31 16:48:56
Message-ID: Pine.LNX.4.33L2.0108311144461.1999-100000@hamster.lee.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

On Tue, 28 Aug 2001, Bhuvaneswari wrote:

> hi,
> I am getting the following error while doing vacuumdb,
>
> ERROR: mdopen: couldn't open test1: No such file or directory
> vacuumdb: database vacuum failed on db1.

We got this error a lot in 6.5. Usually it means your table has somehow
been corrupted, and postgres doesn't want anything to do with it. It'll
show up, and you can even select from it, but doing so will crash the
back-end, and you can't run a vacuum or pg_dump on that database
successfully.

You'll have to do a table-by-table pg_dump, destroy the DB, and reimport
everything. You'll have to rebuild the corrupted table from scratch,
since you might not be able to dump it.

Either way, it's a lot of work. Just be careful.

--
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Shaun M. Thomas INN Database Programmer |
| Phone: (309) 743-0812 Fax : (309) 743-0830 |
| Email: sthomas(at)townnews(dot)com AIM : trifthen |
| Web : hamster.lee.net |
| |
| "Most of our lives are about proving something, either to |
| ourselves or to someone else." |
| -- Anonymous |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2001-08-31 16:56:42 Re: urgently wanted - plpgsql.so for pg 6.4.2
Previous Message Mikheev, Vadim 2001-08-31 16:47:59 Re: Deployment of PostgreSQL Applications

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2001-08-31 17:14:57 Re: Read transactions don't work on 7.0.x db's
Previous Message Gunnar Rønning 2001-08-31 12:47:22 Re: Dúvida