| От | Tom Lane |
|---|---|
| Тема | Re: COPY with no WAL, in certain circumstances |
| Дата | |
| Msg-id | 2917.1168139348@sss.pgh.pa.us обсуждение |
| Ответ на | Re: COPY with no WAL, in certain circumstances ("Joshua D. Drake" <jd@commandprompt.com>) |
| Ответы |
Re: COPY with no WAL, in certain circumstances
|
| Список | pgsql-patches |
"Joshua D. Drake" <jd@commandprompt.com> writes:
>> cost is having to fsync the whole table afterwards. So it really only
>> makes sense for commands that one can expect are writing pretty much
>> all of the table. I could easily see it being a net loss for individual
>> INSERTs.
> What about multi value inserts? Just curious.
I wouldn't want the system to assume that a multi-VALUES insert is
writing most of the table. Would you? The thing is reasonable for
inserting maybe a few hundred or few thousand rows at most, and that's
still small in comparison to typical tables.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера