Re: Database restore speed

Поиск
Список
Период
Сортировка
От David Lang
Тема Re: Database restore speed
Дата
Msg-id Pine.LNX.4.62.0512030133410.2807@qnivq.ynat.uz
обсуждение исходный текст
Ответ на Re: Database restore speed  ("Luke Lonergan" <LLonergan@greenplum.com>)
Список pgsql-performance
On Fri, 2 Dec 2005, Luke Lonergan wrote:

> And how do we compose the binary data on the client?  Do we trust that
> the client encoding conversion logic is identical to the backend's?  If
> there is a difference, what happens if the same file loaded from
> different client machines has different results?  Key conflicts when
> loading a restore from one machine and not from another? - Luke

the same way you deal with text data that could be in different encodings,
you tag your message with the format version you are useing and throw an
error if you get a format you don't understand how to deal with.

if a client claims to be useing one format, but is instead doing something
different you will be in deep trouble anyway.

remember, we aren't talking about random application code here, we are
talking about postgres client code and libraries, if the library is
incorrect then it's a bug, parsing bugs could happen in the server as
welll. (in fact, the server could parse things to the intermediate format
and then convert them, this sounds expensive, but given the high clock
multipliers in use, it may not end up being measurable)

David Lang

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

Предыдущее
От: David Lang
Дата:
Сообщение: Re: Database restore speed
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Database restore speed