From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | "FREYBURGER Simon (SNCF VOYAGEURS / DIRECTION GENERALE TGV / DM RMP YIELD MANAGEMENT)" <simon(dot)freyburger(at)sncf(dot)fr> |
Cc: | Andrei Lepikhov <lepihov(at)gmail(dot)com>, "pgsql-performance(at)lists(dot)postgresql(dot)org" <pgsql-performance(at)lists(dot)postgresql(dot)org>, Peter Geoghegan <pg(at)bowt(dot)ie> |
Subject: | Re: How to solve my slow disk i/o throughput during index scan |
Date: | 2024-07-11 15:19:51 |
Message-ID: | CAKFQuwYGDsejBZnS1pPvod4aGywuijAmK8iUAH3eOkH97k5mzA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Thursday, July 11, 2024, FREYBURGER Simon (SNCF VOYAGEURS / DIRECTION
GENERALE TGV / DM RMP YIELD MANAGEMENT) <simon(dot)freyburger(at)sncf(dot)fr> wrote:
> Also, It might not be related, but I have suspiciously similar slow reads
> when I am inserting in database, could it be related ?
> I’m using a 3 steps process to insert my lines in the table :
>
> - COPY into a temporary table
> - DELETE FROM on the perimeter I will be inserting into
> - INSERT … INTO mytable SELECT … FROM temporarytable ON CONFLICT DO
> NOTHING
>
>
>
> Is it possible to parallelize the scans during the modify step ?
>
>
>
This tells you when parallelism is used:
https://www.postgresql.org/docs/current/when-can-parallel-query-be-used.html
David J.
From | Date | Subject | |
---|---|---|---|
Next Message | Andrei Lepikhov | 2024-07-11 15:22:09 | Re: How to solve my slow disk i/o throughput during index scan |
Previous Message | FREYBURGER Simon (SNCF VOYAGEURS / DIRECTION GENERALE TGV / DM RMP YIELD MANAGEMENT) | 2024-07-11 15:09:01 | RE: How to solve my slow disk i/o throughput during index scan |