From: Sebastián Baioni <sebastianbaioni@yahoo.com.ar>
To: Performance PostgreSQL <pgsql-performance@postgresql.org>
Subject: Backup/Restore too slow
Date: Fri, 22 Dec 2006 14:32:09 +0000 (GMT)
Message-ID: <20061222143209.61704.qmail@web36108.mail.mud.yahoo.com> (raw)
Hi,
We have a database with one table of 10,000,000 tuples and 4 tables with 5,000,000 tuples.
While in SQL Server it takes 3 minutes to restore this complete database, in PostgreSQL it takes more than 2 hours.
The Backup takes 6 minutes in SQLServer and 13 minutes (which is not a problem)
We are running PostgreSQL 8.1 for Windows and we are using:
C:\pg_dump.exe -i -h localhost -p 5432 -U usuario -F c -b -v -f "C:\BK\file.backup" base
and
C:\pg_restore.exe -i -h localhost -p 5432 -U usuario -d base -O -v "C:\BK\file.backup"
We use those parameters because we copied them from PGAdminIII.
Is there any way to make it faster?
Tanks
Sebastián
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: sebastianbaioni@yahoo.com.ar
Subject: Re: Backup/Restore too slow
In-Reply-To: <20061222143209.61704.qmail@web36108.mail.mud.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox