Bug #553: Error Vacuuming and restoring a DataBase

Started by PostgreSQL Bugs Listover 24 years ago2 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

Miguel Juan (miqueljuan@inicia.es) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Error Vacuuming and restoring a DataBase

Long Description
Hi.

About two months ago I sent here a message reporting a error while vacuuming a large table (near a million registers) with Postgresql 7.1.2 and Tom Lane suggest to upgrade the version to 7.1.3 so I did it on another computer but when I try to restore the database into this computer I get the same errors that I get with the "vacuum" command.

The error only appears with large tables. As far I know, with tables under 200.000 registers works fine. It looks like an error managing big transactions (I use the COPY xxx FROM stdin; command)

I can make the restore process if I use a pgDump with proper Insert Strings option (one INSERT for each register) but it takes a long, long , long time to restore the whole database.

Regards

Miguel Juan

Sample Code

No file was uploaded with this report

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PostgreSQL Bugs List (#1)
Re: Bug #553: Error Vacuuming and restoring a DataBase

pgsql-bugs@postgresql.org writes:

About two months ago I sent here a message reporting a error while
vacuuming a large table (near a million registers) with Postgresql
7.1.2 and Tom Lane suggest to upgrade the version to 7.1.3 so I did it
on another computer but when I try to restore the database into this
computer I get the same errors that I get with the "vacuum" command.

I'm not sure I understand this. Is "this computer" still running 7.1.2?
If so, it's not surprising that you are seeing the WAL-file-growth
problem. If you're seeing it with 7.1.3, though, I'm interested.

regards, tom lane