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:
David J.