| От | Frank Lanitz |
|---|---|
| Тема | Re: postgres crashes on insert in 40 different threads |
| Дата | |
| Msg-id | 521232C2.1060801@frank.uvena.de обсуждение |
| Ответ на | postgres crashes on insert in 40 different threads (Dzmitry <dzmitry.nikitsin@gmail.com>) |
| Ответы |
Re: postgres crashes on insert in 40 different threads
|
| Список | pgsql-admin |
Am 19.08.2013 10:07, schrieb Dzmitry: > I am doing a lot of writes to DB in 40 different threads – so every > thread check if record exists – if not => insert record, if exists => > update record. > During this update, my disk IO almost always – 100% and sometimes it > crash my DB with following message: Is this really needed to have so many threads and chances for race conditions? Beside the mention RAM thing you box might have to low IO capacities for this kind of trnasactions. What is the load and in detail the iowait saying? Cheers, Frank
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера