Re: [PATCHES] COPY with no WAL, in certain circumstances - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] COPY with no WAL, in certain circumstances
Date
Msg-id 4277.1168105290@sss.pgh.pa.us
Whole thread Raw
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> FYI, I am going need to add documentation in the COPY manual page or no
> one will know about this performance enhancement.

I don't think it belongs in COPY.  What would make more sense is another
item under the "populating a database" performance tips, suggesting that
wrapping the restore into a single transaction is a good idea.  We don't
really want to be documenting this separately under COPY, CREATE INDEX,
and everywhere else that might eventually optimize the case.

Come to think of it, that page also fails to suggest that PITR logging
shouldn't be on during bulk load.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: -f option for pg_dumpall
Next
From: Tom Lane
Date:
Subject: Re: Parsing ambiguity for ORDER BY ... NULLS FIRST/LAST