Re: [Testperf-general] Re: ExclusiveLock
От | Tom Lane |
---|---|
Тема | Re: [Testperf-general] Re: ExclusiveLock |
Дата | |
Msg-id | 21504.1100822081@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: [Testperf-general] Re: ExclusiveLock (Simon Riggs <simon@2ndquadrant.com>) |
Ответы |
Re: [Testperf-general] Re: ExclusiveLock
|
Список | pgsql-hackers |
Simon Riggs <simon@2ndquadrant.com> writes: > Can we subdivide the WALInsertLock so there are multiple entry points to > wal_buffers, based upon hashing the xid? I don't think so; WAL is inherently a linear log. (Awhile ago there was some talk of nonlinear log writing to get around the one-commit-per- disk-revolution syndrome, but the idea basically got rejected as unworkably complicated.) What's more, there are a lot of entries that must remain time-ordered independently of transaction ownership. Consider btree index page splits and sequence nextvals for two examples. Certainly I'd not buy into any such project without incontrovertible proof that it would solve a major bottleneck --- and right now we are only speculating with no evidence. regards, tom lane
В списке pgsql-hackers по дате отправления: