Re: Write Ahead Logging for Hash Indexes
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2016-08-30T02:23:48Z
Lists: pgsql-hackers
On Tue, Aug 30, 2016 at 3:40 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > Amit Kapila wrote: > >> How about attached? > > That works; pushed. Thanks. > (I removed a few #includes from the new file.) > oops, copied from hash.h and forgot to remove those. >> If you want, I think we can one step further and move hash_redo to a >> new file hash_xlog.c which is required for main patch, but we can >> leave it for later as well. > > I think that can be a part of the main patch. > Okay, makes sense. Any suggestions on splitting the main patch or in general on design/implementation is welcome. I will rebase the patches on the latest commit. Current status is that, I have fixed the problems reported by Jeff Janes and Mark Kirkwood. Currently, we are doing the stress testing of the patch using pgbench, once that is done, will post a new version. I am hoping that it will be complete in this week. -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com
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