pgsql: Use streaming I/O in sequential scans. - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Use streaming I/O in sequential scans.
Date
Msg-id E1rtT0P-000yph-16@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Use streaming I/O in sequential scans.

Instead of calling ReadBuffer() for each block, heap sequential scans
and TID range scans now use the streaming API introduced in b5a9b18cd0.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/flat/CAAKRu_YtXJiYKQvb5JsA2SkwrsizYLugs4sSOZh3EAjKUg%3DgEQ%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b7b0f3f27241e424b7103397489464d907cef2c4

Modified Files
--------------
src/backend/access/heap/heapam.c | 235 +++++++++++++++++++++++++++------------
src/include/access/heapam.h      |  15 +++
2 files changed, 177 insertions(+), 73 deletions(-)


pgsql-committers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: pgsql: Reduce branches in heapgetpage()'s per-tuple loop
Next
From: Melanie Plageman
Date:
Subject: Re: pgsql: Use bump memory context for tuplesorts