| От | Glenn Maynard |
|---|---|
| Тема | Re: performance for high-volume log insertion |
| Дата | |
| Msg-id | bd36f99e0905012113g1204133t5137b58c4d502284@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: performance for high-volume log insertion (PFC <lists@peufeu.com>) |
| Список | pgsql-performance |
On Fri, May 1, 2009 at 8:29 PM, PFC <lists@peufeu.com> wrote: > Roundtrips can be quite fast but they have a hidden problem, which is > that everything gets serialized. The client and server will serialize, but what usually matters most is avoiding serializing against disk I/O--and that's why write-back caching exists. There's still a benefit to pipelining (not everything the db might need to read to complete the write will always be in cache), but if everything was being serialized it'd be an order of magnitude worse. That's why running each insert in a separate transaction is so much slower; in that case, it *will* serialize against the disk (by default). -- Glenn Maynard
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера