| От | Greg Stark |
|---|---|
| Тема | Re: *sigh* |
| Дата | |
| Msg-id | 874qwmffqc.fsf@stark.dyndns.tv обсуждение исходный текст |
| Ответ на | Re: *sigh* (Gaetano Mendola <mendola@bigfoot.com>) |
| Список | pgsql-hackers |
Gaetano Mendola <mendola@bigfoot.com> writes: > The count(*) information can be revisioned too, am I wrong ? I'm able to > create a trigger that store the count(*) information in a special table, > why not implement the same in a way "builded in" ? Then every insert or delete would have to lock that count. Nobody else would be able to insert or delete any records until you either commit or roll back. That would lead to much lower concurrency, much more contention for locks, and tons of deadlocks. -- greg
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера