Re: COPY LOCK for WAL bypass

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: COPY LOCK for WAL bypass
Дата
Msg-id 1134941529.2964.203.camel@localhost.localdomain
обсуждение исходный текст
Ответ на COPY LOCK for WAL bypass  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-patches
On Sat, 2005-12-10 at 12:07 +0000, Simon Riggs wrote:
> Following patch implements COPY ... FROM ... LOCK

Patch now updated so that it includes an additional optimization of
COPY, so that WAL will not be written in the transaction that created
the table.

This now gives two fast paths for COPY:
1) COPY LOCK
2) COPY in same transaction (e.g. reloading a pg_dump)

Patch passes make check on cvstip.

No docs yet, but let me know if this is OK and I'll work on them.

[Other copied in from the related patch thread on Single-Transaction
Utility options. With this new COPY optimization the
--single-transaction option will considerably increase performance.]

Performance tests shown on previous post for this thread.

Best Regards, Simon Riggs

Вложения

В списке pgsql-patches по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Single-Transaction Utility options
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Single-Transaction Utility options