News for hackers. Stuff that matters.
Re:Understanding Recursive Queries in PostgreSQL by jarym on Monday August 17, 2020 @05:12PM (#24192175)
COPY is the fastest method to insert data in Postgres. As another poster mentioned, setting table to UNLOGGED will help also.

Finally, you can drop ALL indexes and recreate them after import (been hit and miss in my testing but on occasion has helped).

Re:Understanding Recursive Queries in PostgreSQL by koeng on Monday August 17, 2020 @07:12PM (#24193393)
How has dropping and recreating indexes been hit or miss? I've been thinking about doing exactly that
Re:Understanding Recursive Queries in PostgreSQL by jarym on Tuesday August 18, 2020 @09:21AM (#24198206)
In some cases it did not appear to give me an improvement in data load time - I didn't do a rigorous test though which is why I said it might be 'hit and miss'.