Re: Master-slave visibility order
От | Tom Lane |
---|---|
Тема | Re: Master-slave visibility order |
Дата | |
Msg-id | 9541.1377813565@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Master-slave visibility order (Andres Freund <andres@2ndquadrant.com>) |
Ответы |
Re: Master-slave visibility order
|
Список | pgsql-hackers |
Andres Freund <andres@2ndquadrant.com> writes: > But I think that actually coordinating a consistent visibility order > between commit, wal insertion and the procarray would have bigger > scalability impact than the second record. I might be missing some > clever tricks here though. Yeah. ISTM the only way to really guarantee that the visible commit order is the same would be for transactions to hold the ProcArrayLock while they're inserting that WAL record. Needless to say, that would be absolutely disastrous performance-wise. Or at least, that's true as long as we rely on the current procarray-based mechanism for noting that a transaction is still in progress. Maybe there's some other approach altogether. regards, tom lane
В списке pgsql-hackers по дате отправления: