Re: One long transaction or multiple short transactions?
В списке pgsql-performance по дате отправления:
| От | Jim Nasby |
|---|---|
| Тема | Re: One long transaction or multiple short transactions? |
| Дата | |
| Msg-id | 5622B2F1.2000406@BlueTreble.com обсуждение исходный текст |
| Ответ на | Re: One long transaction or multiple short transactions? (Andres Freund <andres@anarazel.de>) |
| Список | pgsql-performance |
On 10/17/15 12:13 PM, Andres Freund wrote: > On 2015-10-17 10:26:01 -0500, Jim Nasby wrote: >> Except inserts *do* take a lot of locks, just not user-level locks. >> Operations like finding a page to insert into, seeing if that page is in >> shared buffers, loading the page into shared buffers, modifying a shared >> buffer, getting the relation extension lock if you need to add a new page. >> Then there's a whole pile of additional locking you could be looking at for >> inserting into any indexes. >> >> Now, most of the locks I described up there are transaction-aware > > Missing *not*? Oops. Yes, they're *not* transaction-aware. -- Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX Experts in Analytics, Data Architecture and PostgreSQL Data in Trouble? Get it in Treble! http://BlueTreble.com
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера