| От | Jeff Davis |
|---|---|
| Тема | Re: reducing the overhead of frequent table locks, v4 |
| Дата | |
| Msg-id | 1310402735.3012.266.camel@jdavis обсуждение исходный текст |
| Ответ на | reducing the overhead of frequent table locks, v4 (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: reducing the overhead of frequent table locks, v4
|
| Список | pgsql-hackers |
* ... It's also possible that* we're acquiring a second or third lock type on a relation we have* already locked using thefast-path, but for now we don't worry about* that case either.*/ How common is that case? There are only 16 entries in the fast path lock table, so it seems like it would frequently fill up. So, if there are common code paths that acquire different weak locks on the same relation, then we might commonly miss a fast-path opportunity. One path that acquires multiple weak locks is an INSERT INTO foo SELECT ... FROM foo ... Is that common enough to worry about? Regards,Jeff Davis
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера