From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Port single-page btree vacuum logic to hash indexes. |
Date: | 2017-03-16 02:19:24 |
Message-ID: | E1coL0e-0003Xa-TD@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Port single-page btree vacuum logic to hash indexes.
This is advantageous for hash indexes for the same reasons it's good
for btrees: it accelerates space recycling, reducing bloat.
Ashutosh Sharma, reviewed by Amit Kapila and by me. A bit of
additional hacking by me.
Discussion: http://postgr.es/m/CAE9k0PkRSyzx8dOnokEpUi2A-RFZK72WN0h9DEMv_ut9q6bPRw@mail.gmail.com
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/6977b8b7f4dfb40896ff5e2175cad7fdbda862eb
Modified Files
--------------
src/backend/access/hash/README | 5 +-
src/backend/access/hash/hash.c | 53 ++++++--
src/backend/access/hash/hash_xlog.c | 237 +++++++++++++++++++++++++++++++++
src/backend/access/hash/hashinsert.c | 121 ++++++++++++++++-
src/backend/access/hash/hashsearch.c | 8 ++
src/backend/access/hash/hashsort.c | 4 +-
src/backend/access/hash/hashutil.c | 68 ++++++++++
src/backend/access/rmgrdesc/hashdesc.c | 2 +
src/include/access/hash.h | 17 ++-
src/include/access/hash_xlog.h | 19 +++
10 files changed, 517 insertions(+), 17 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2017-03-16 02:36:45 | Re: [COMMITTERS] pgsql: Remove objname/objargs split for referring to objects |
Previous Message | Andres Freund | 2017-03-16 02:06:49 | pgsql: Specify bindir in pg_isolation_regress_installcheck. |