pgsql: Use streaming I/O in sequential scans.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use streaming I/O in sequential scans.
Date: 2024-04-07 13:56:21
Message-ID: E1rtT0P-000yph-16@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Thomas Munro <thomas(dot)munro(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Melanie Plageman 2024-04-07 15:28:40 Re: pgsql: Use bump memory context for tuplesorts
Previous Message Melanie Plageman 2024-04-07 13:14:57 Re: pgsql: Reduce branches in heapgetpage()'s per-tuple loop