Re: Inserting 8MB bytea: just 25% of disk perf used?
В списке pgsql-performance по дате отправления:
| От | fkater@googlemail.com |
|---|---|
| Тема | Re: Inserting 8MB bytea: just 25% of disk perf used? |
| Дата | |
| Msg-id | 20100114201854.GC2384@comppasch2 обсуждение исходный текст |
| Ответ на | Re: Inserting 8MB bytea: just 25% of disk perf used? (Matthew Wakeling <matthew@flymine.org>) |
| Ответы |
Re: Inserting 8MB bytea: just 25% of disk perf used?
|
| Список | pgsql-performance |
Thanks a lot for the detailed reply. Matthew Wakeling: > On Thu, 14 Jan 2010, fkater@googlemail.com wrote: > > This takes about 50s, so, 800MB/50s = 16MB/s. > > > > However the harddisk (sata) could write 43 MB/s in the worst > > case! Why is write performance limited to 16 MB/s? > > Several reasons: > > The data needs to be written first to the WAL, in order to provide > crash-safety. So you're actually writing 1600MB, not 800. I understand. So the actual throughput is 32MB/s which is closer to 43 MB/s, of course. Can I verify that by temporarily disabling WAL writes completely and see if the thoughput is then doubled? Felix
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера