| From: | Xuneng Zhou <xunengzhou(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Streamify more code paths |
| Date: | 2025-12-25 06:33:47 |
| Message-ID: | CABPTF7X6qHqd3820KVBZ+n5eoaXZ6a99RB89bZfe33d+K+Vybw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
On Thu, Dec 25, 2025 at 1:51 PM Xuneng Zhou <xunengzhou(at)gmail(dot)com> wrote:
>
> Hi Hackers,
>
> I noticed several additional paths in contrib modules, beyond [1],
> that are potentially suitable for streamification:
>
> 1) pgstattuple — pgstatapprox.c and parts of pgstattuple_approx_internal
> 2) Bloom — scan paths in blgetbitmap() and maintenance paths in blbulkdelete()
>
> The following patches streamify those code paths. No benchmarks have
> been run yet.
>
> [1] https://www.postgresql.org/message-id/flat/CABPTF7UeN2o-trr9r7K76rZExnO2M4SLfvTfbUY2CwQjCekgnQ%40mail.gmail.com
>
> Feedbacks welcome.
>
One more in ginvacuumcleanup().
--
Best,
Xuneng
| Attachment | Content-Type | Size |
|---|---|---|
| v1-0004-Replace-synchronous-ReadBufferExtended-loop-with-.patch | application/octet-stream | 2.5 KB |
| v1-0001-Switch-Bloom-scan-paths-to-the-streaming-read.patch | application/octet-stream | 2.4 KB |
| v1-0002-Streamify-Bloom-VACUUM-paths.patch | application/octet-stream | 4.2 KB |
| v1-0003-Streamify-heap-bloat-estimation-scan.patch | application/octet-stream | 6.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Michael Paquier | 2025-12-25 06:23:58 | Re: Extended Statistics set/restore/clear functions. |