Re: Write Ahead Logging for Hash Indexes
Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
From: Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2016-08-24T05:01:12Z
Lists: pgsql-hackers
Attachments
- bt.out (text/plain)
On 24/08/16 16:52, Mark Kirkwood wrote: > On 24/08/16 16:33, Amit Kapila wrote: >> On Wed, Aug 24, 2016 at 9:53 AM, Mark Kirkwood >> <mark.kirkwood@catalyst.net.nz> wrote: >>> On 24/08/16 15:36, Amit Kapila wrote: >>>> On Wed, Aug 24, 2016 at 8:54 AM, Mark Kirkwood >>>> <mark.kirkwood@catalyst.net.nz> wrote: >>>> Can you get the call stacks? >>>> >>> For every stuck backend? (just double checking)... >> Yeah. >> > > Cool, > > I managed to reproduce with a reduced workload of 4 backends, then > noticed that the traces for 3 of 'em were all the same. So I've > attached the 2 unique ones, plus noted what pg_stat_activity thought > the wait event was, in case that is useful. ...actually I was wrong there, only 2 of them were the same. So I've attached a new log of bt's of them all.
Commits
-
Add a regression test for snapshot too old with hash indexes.
- 42bdaebf1618 10.0 landed
-
hash: Add write-ahead logging support.
- c11453ce0aea 10.0 landed
-
Improve coding in _hash_addovflpage.
- e898437460f5 10.0 cited
-
Remove _hash_wrtbuf() in favor of calling MarkBufferDirty().
- 25216c989384 10.0 cited
-
Improve hash index bucket split behavior.
- 6d46f4783efe 10.0 cited