| От | Tom Lane |
|---|---|
| Тема | Re: Sustained inserts per sec ... ? |
| Дата | |
| Msg-id | 7438.1112673460@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Sustained inserts per sec ... ? (Greg Stark <gsstark@mit.edu>) |
| Ответы |
Re: Sustained inserts per sec ... ?
|
| Список | pgsql-performance |
Greg Stark <gsstark@mit.edu> writes:
> All this is happening within a single transaction too, right? So there hasn't
> been an fsync the entire time. It's entirely up to the kernel when to decide
> to start writing data.
No ... there's a commit every 500 records. However, I think Chris said
he was running with fsync off; so you're right that the kernel is at
liberty to write stuff to disk when it feels like. It could be that
those outlier points are transactions that occurred in the middle of
periodic syncer-driven mass writes. Maybe fsync off is
counterproductive for this situation?
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера