Re: Backup/Restore too slow

Поиск
Список
Период
Сортировка
От Rod Taylor
Тема Re: Backup/Restore too slow
Дата
Msg-id 6D5957CD-46A9-42E5-B644-12FB078F479A@gmail.com
обсуждение исходный текст
Ответ на Backup/Restore too slow  (Sebastián Baioni <sebastianbaioni@yahoo.com.ar>)
Ответы Re: Backup/Restore too slow  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Rebuilding the indexes or integrity confirmations are probably taking most of the time.

What is your work_mem setting?

On 22-Dec-06, at 9:32 AM, Sebastián Baioni wrote:

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


В списке pgsql-performance по дате отправления:

Предыдущее
От: Fabricio Peñuelas
Дата:
Сообщение: Postgresql Configutation and overflow
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: What you would consider as heavy traffic?