Re: MVCC and Implications for (Near) Real-Time Application
В списке pgsql-performance по дате отправления:
| От | Kevin Grittner |
|---|---|
| Тема | Re: MVCC and Implications for (Near) Real-Time Application |
| Дата | |
| Msg-id | 4CCABB8C0200002500036F8D@gw.wicourts.gov обсуждение |
| Ответ на | MVCC and Implications for (Near) Real-Time Application (Steve Wong <powerpchead@yahoo.com>) |
| Список | pgsql-performance |
Steve Wong <powerpchead@yahoo.com> wrote: > (1) Does the MVCC architecture introduce significant delays > between insert by a thread and visibility by other threads (I am > unclear about how multiple versions are "collapsed" or reconciled, > as well as how different query threads are seeing which version)? As soon as the inserting transaction commits the inserted row is visible to new snapshots. If you are in an explicit transaction the commit will have occurred before the return from the COMMIT request; otherwise it will have completed before the return from the INSERT request. You will get a new snapshot for every statement in READ COMMITTED (or lower) transaction isolation. You will get a new snapshot for each database transaction in higher isolation levels. -Kevin
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера