Re: Write Ahead Logging for Hash Indexes
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Jeff Janes <jeff.janes@gmail.com>,
Jesper Pedersen <jesper.pedersen@redhat.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2016-12-05T07:46:38Z
Lists: pgsql-hackers
Attachments
- wal_hash_index_v6.patch (application/octet-stream) patch v6
On Fri, Dec 2, 2016 at 7:07 PM, Robert Haas <robertmhaas@gmail.com> wrote: > On Thu, Dec 1, 2016 at 6:51 PM, Amit Kapila <amit.kapila16@gmail.com> wrote: >>> Of course, ideally I can >>> also start reviewing this one in the meantime. Does that make sense >>> to you? >>> >> >> You can start reviewing some of the operations like "Create Index", >> "Insert". However, some changes are required because of change in >> locking strategy for Vacuum. I am planning to work on rebasing it and >> making required changes in next week. > > I'll review after that, since I have other things to review meanwhile. > Attached, please find the rebased patch attached with this e-mail. There is no fundamental change in patch except for adapting the new locking strategy in squeeze operation. I have done the sanity testing of the patch with master-standby setup and Kuntal has helped me to verify it with his wal-consistency checker patch. -- 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