| От | Jeff Boes |
|---|---|
| Тема | Poor performance of UPDATE against busy table |
| Дата | |
| Msg-id | 9n8fcr$2oqo$1@news.tht.net обсуждение |
| Ответы |
Re: Poor performance of UPDATE against busy table
|
| Список | pgsql-admin |
We have a table being used as a job queue. There's one 'scheduler' process that manipulates jobs (inserting, updating, and deleting rows/jobs as they change status). There are a number (~24) of processes reading and updating rows as they 'claim' and 'complete' jobs. Our problem is that throughput on this table is fairly low. Updates by the 'scheduler' sometimes take 15 seconds (!!). We've tried various combinations of LOCK TABLE commands, but without much success. Does anyone know if there are ways to improve the performance of UPDATE against a table where there are many readers? -- Jeff Boes vox 616.226.9550 Database Engineer fax 616.349.9076 Nexcerpt, Inc. jboes@nexcerpt.com
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера