Re: BUG #15115: temporary AND unlogged tables for parallel db import
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #15115: temporary AND unlogged tables for parallel db import |
| Дата | |
| Msg-id | 24377.1521219658@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #15115: temporary AND unlogged tables for parallel db import (Enno Wein <ennowein@yahoo.com>) |
| Список | pgsql-bugs |
Enno Wein <ennowein@yahoo.com> writes:
> Every session (72 for now) creates and drops several (temp-) tables and
> indexes. Every session runs for about 30min, then does a final insert
> and exits afterwards.
> Depending on parallelism chosen, we run 8, 16 or 24 sessions in parallel.
> The main, (global-) table which persists has been declared as either
> logged or unlogged, there is much WAL traffic in any case.
That still sounds like it'd just add up to a few temp table creations/
deletions per minute, which would not account for any huge volume of
WAL traffic. I'm suspicious that somewhere you've got activity going
into a table that you forgot to make temp or unlogged.
You might grab pg_xlogdump or a logical decoding tool and look into
the WAL stream to see exactly what's going by.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера