Re: Bulk Insert tuning

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: Bulk Insert tuning
Дата
Msg-id 20080305142733.GV5908@europa.idg.com.au
обсуждение исходный текст
Ответ на Bulk Insert tuning  (Simon Riggs <simon@2ndquadrant.com>)
Ответы Re: Bulk Insert tuning  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-patches
On Tue, Feb 26, 2008 at 02:43:51PM +0000, Simon Riggs wrote:
> Following patch implements a simple mechanism to keep a buffer pinned
> while we are bulk loading.
>

CK Tan and I worked on something similar but the problem we discovered
was self locking. Consider a primary key: we insert a tuple into a
buffer and do not release the exclusive lock. The btree code fetches the
buffer and tries to share lock it, but we've already exclusive locked
it. Oops. The performance improvement, though, makes it worth seeing if
there is a solution.

Thanks,

Gavin

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

Предыдущее
От: Jorgen Austvik - Sun Norway
Дата:
Сообщение: Re: DTrace probe patch for OS X Leopard
Следующее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: CopyReadLineText optimization