Re: [PATCHES] COPY with no WAL, in certain circumstances

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] COPY with no WAL, in certain circumstances
Дата
Msg-id 4277.1168105290@sss.pgh.pa.us
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: -f option for pg_dumpall
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Parsing ambiguity for ORDER BY ... NULLS FIRST/LAST