Re: Restaring a dumped database

Поиск
Список
Период
Сортировка
От Mohlomi Moloi
Тема Re: Restaring a dumped database
Дата
Msg-id L4130658EB84A4aa192447729BC400896.1289403637.scalix.khulisa.com@MHS
обсуждение исходный текст
Ответ на Re: Restaring a dumped database  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Tom Lane! Tom Lane! Tom Lane! Just checked my history to confirm and yes
I've ignored errors about objects already existing. Problem solved with
the cause known!

Best regards, Mohlomi Moloi

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: 10 November 2010 17:12
To: Mohlomi Moloi
Cc: Frank Bax; PostgreSQL List - Novice
Subject: Re: [NOVICE] Restaring a dumped database

Mohlomi Moloi <mmoloi@khulisa.com> writes:
> Bigger measured by looking at the previous size of the database - that
was 34 megabytes and the restored was 800 megabytes. What I noticed was
some of my table had triple the amount of rows in contrast to the old
database. :)

Maybe you did the restore three times?  If you do that and ignore errors
about objects already existing, you could end up with multiple copies
of all rows (at least in tables without any unique indexes).

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Restaring a dumped database
Следующее
От: Joshua Tolley
Дата:
Сообщение: Re: PgFouine