Re: copying a database without dumping it

Поиск
Список
Период
Сортировка
От Marc Brünink
Тема Re: copying a database without dumping it
Дата
Msg-id 6B09940F-6D5D-11DA-ACBB-000A959A666C@smartsoft.de
обсуждение исходный текст
Ответ на Re: copying a database without dumping it  (Tino Wildenhain <tino@wildenhain.de>)
Список pgsql-general
On Donnerstag, Dez 15, 2005, at 12:11 Europe/Berlin, Tino Wildenhain
wrote:

> Marc Brünink schrieb:
>> Hi list,
> ...
>> Now I'l try a custom dump. Perhaps this will suffice. But I guess
>> it's impossible for a dump to be as fast as a cp.  So if a cp would
>> be possible I would favour it. Oh, and did I tell: Everything have to
>> be done tommorow..... *sigh*
> Actually its faster. Custom dump is the way to go
> because its much more flexible then dumping plaintext.
[..]
> Since the dump only dumps DDL and Data, its much less
> data then your pg_data directory currently has.

Oh yes! It's damn fast! All hail to the postgres crew! Gosh. My dump
file is just 1.3 GB big. Impressive.
I'm looking forward for the import. Guess I'll get another surprise...

I used:
pg_dump -f shape.postgresql -F c -o -U postgres -Z 9 -v shape

One last thing:
Will I have to re-cluster my tables?

Thanks
Marc


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

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: Re: copying a database without dumping it
Следующее
От: Андрей
Дата:
Сообщение: enable SSL on server