Re: Can't make backup

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: <sebaioni-postgresql(at)yahoo(dot)com(dot)ar>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can't make backup
Date: 2008-01-02 07:48:11
Message-ID: D960CB61B694CF459DCFB4B0128514C2BCA9A4@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sebastián Baioni wrote:
> Every day we run a Windows Programmed pg_dump, it used to
> work fine with PostgreSQL 8.0, but since we installed the new
> version we are not able to make a backup. We tried to make a
> whole database backup and it never ends. We tried to backup
> table by table and it reachs a table of 50,000 rows and it
> keeps for hours in that table, we started it again and
> pg_dump backups that same table in seconds, but it stops in
> another different table.
> If we watch the server message.# we don't have any error,
> it's like some tables were locked and pg_dump would keep
> waiting for the table to be unlocked.

If pg_dump is locked out, there should be entries in
pg_catalog.pg_locks. Check when the dump hangs!

Does the dump file keep growing or not?

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edoardo Panfili 2008-01-02 09:20:07 group by and count(*) behaviour in 8.3
Previous Message Tom Lane 2008-01-02 05:36:42 Re: visibility rules for AFTER UPDATE Constraint Triggers Function