| От | Jeff Davis |
|---|---|
| Тема | Re: Practical maximums (was Re: PostgreSQL theoretical |
| Дата | |
| Msg-id | 1154988438.12968.52.camel@dogma.v10.wvs обсуждение исходный текст |
| Ответ на | Re: Practical maximums (was Re: PostgreSQL theoretical (Ron Johnson <ron.l.johnson@cox.net>) |
| Список | pgsql-general |
On Mon, 2006-08-07 at 16:51 -0500, Ron Johnson wrote:
> Python queues and threads would make that very simple. Master
> thread reads from pg_dump pipe, passing X bytes to a queue, and each
> thread performs this loop:
> - read from queue
> - synchronously write to /dev/stN
Right, you can use threads also. You're doing synchronous writes from
different threads, I was doing asynchronous writes from the same thread.
It's just a matter of preference.
> The disk system would have to be fast enough to keep all X tape
> drives full.
>
The whole point of this is that pg_dump was producing output (from the
disk) faster than you could store it (to the tape), right? So if you use
multiple tapes and stripe with a multiplexing script, that should solve
the problem right?
Regards,
Jeff Davis
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера