Re: AW: Proposal: More flexible backup/restore via pg_dump

Поиск
Список
Период
Сортировка
От Philip Warner
Тема Re: AW: Proposal: More flexible backup/restore via pg_dump
Дата
Msg-id 3.0.5.32.20000628010803.0226f100@mail.rhyme.com.au
обсуждение исходный текст
Ответ на Re: AW: Proposal: More flexible backup/restore via pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: AW: Proposal: More flexible backup/restore via pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
At 10:48 27/06/00 -0400, Tom Lane wrote:
>
>Right, the thing we *really* want is to preserve the fact that pg_dump
>can write its output to a pipeline ... and that a restore can read from
>one.  If you can improve performance when you find you do have a
>seekable source/destination file, fine, but the utilities must NOT
>require it.

OK, the limitation will have to be that reordering of *data* loads (as
opposed to metadata) will not be possible in piped data. This is only a
problem if RI constraints are loaded.

I *could* dump the compressed data to /tmp, but I would guess that in most
cases when the archive file is being piped it's because the file won't fit
on a local disk.

Does this sound reasonable?


>> I guess we would want two formats, one for pipe, and one for a standard
>> directory.
>
>At the risk of becoming tiresome, "tar" format is eminently pipeable...
>

No, it's good...I'll never feel guilty about asking for optimizer hints again.

More seriously, though, if I pipe a tar file, I still can't reorder the
*data* files without saving them to disk, which is what I want to avoid.


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: AW: SQL99 functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: AW: SQL99 functions