diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-09-22 13:26:25 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-09-22 13:56:27 -0400 |
commit | 7c75ef571579a3ad7a1d3ee909f11dba5e0b9440 (patch) | |
tree | 4e8f45e95db7f7168d0f0ee0202da0093538d88a /src/backend/access/gist/gist.c | |
parent | 0f574a7afb5c998d19dc3d981e45cb10267286ed (diff) | |
download | postgresql-7c75ef571579a3ad7a1d3ee909f11dba5e0b9440.tar.gz postgresql-7c75ef571579a3ad7a1d3ee909f11dba5e0b9440.zip |
hash: Implement page-at-a-time scan.
Commit 09cb5c0e7d6fbc9dee26dc429e4fc0f2a88e5272 added a similar
optimization to btree back in 2006, but nobody bothered to implement
the same thing for hash indexes, probably because they weren't
WAL-logged and had lots of other performance problems as well. As
with the corresponding btree case, this eliminates the problem of
potentially needing to refind our position within the page, and cuts
down on pin/unpin traffic as well.
Ashutosh Sharma, reviewed by Alexander Korotkov, Jesper Pedersen,
Amit Kapila, and me. Some final edits to comments and README by
me.
Discussion: http://postgr.es/m/CAE9k0Pm3KTx93K8_5j6VMzG4h5F+SyknxUwXrN-zqSZ9X8ZS3w@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions