Re: High Frequency Inserts to Postgres Database vs Writing to a File
В списке pgsql-performance по дате отправления:
| От | Craig Ringer |
|---|---|
| Тема | Re: High Frequency Inserts to Postgres Database vs Writing to a File |
| Дата | |
| Msg-id | 4AF22671.303@postnewspapers.com.au обсуждение исходный текст |
| Ответ на | Re: High Frequency Inserts to Postgres Database vs Writing to a File (Merlin Moncure <mmoncure@gmail.com>) |
| Ответы |
Re: High Frequency Inserts to Postgres Database vs
Writing to a File
|
| Список | pgsql-performance |
Merlin Moncure wrote: > Postgres can handle multiple 1000 insert/sec but your hardware most > likely can't handle multiple 1000 transaction/sec if fsync is on. commit_delay or async commit should help a lot there. http://www.postgresql.org/docs/8.3/static/wal-async-commit.html http://www.postgresql.org/docs/8.3/static/runtime-config-wal.html Please do *not* turn fsync off unless you want to lose your data. > If you are bulk inserting 1000+ records/sec all day long, make sure > you have provisioned enough storage for this (that's 86M records/day), plus any index storage, room for dead tuples if you ever issue UPDATEs, etc. -- Craig Ringer
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера