Re: where should I stick that backup?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: where should I stick that backup?
Дата
Msg-id CA+TgmoZuChaFMKJB6u+b78CyeH_EAFDf8eAz_KLohC1GQ9P78Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: where should I stick that backup?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: where should I stick that backup?
Список pgsql-hackers
On Wed, Apr 15, 2020 at 7:55 PM Robert Haas <robertmhaas@gmail.com> wrote:
> Yeah. I think we really need to understand the performance
> characteristics of pipes better. If they're slow, then anything that
> needs to be fast has to work some other way (but we could still
> provide a pipe-based slow way for niche uses).

Hmm. Could we learn what we need to know about this by doing something
as taking a basebackup of a cluster with some data in it (say, created
by pgbench -i -s 400 or something) and then comparing the speed of cat
< base.tar | gzip > base.tgz to the speed of gzip < base.tar >
base.tgz? It seems like there's no difference between those except
that the first one relays through an extra process and an extra pipe.

I don't know exactly how to do the equivalent of this on Windows, but
I bet somebody does.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: fixing old_snapshot_threshold's time->xid mapping
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: snapshot too old issues, first around wraparound and then more.