Re: Index Page Split logging

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Index Page Split logging
Дата
Msg-id 20080102100511.GB8566@svana.org
обсуждение исходный текст
Ответ на Re: Index Page Split logging  ("Gokulakannan Somasundaram" <gokul007@gmail.com>)
Ответы Re: Index Page Split logging  ("Gokulakannan Somasundaram" <gokul007@gmail.com>)
Список pgsql-hackers
On Wed, Jan 02, 2008 at 02:49:35PM +0530, Gokulakannan Somasundaram wrote:
> On Jan 2, 2008 2:25 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> > On Tue, 2008-01-01 at 14:02 -0500, Tom Lane wrote:
> > > How are you going to avoid the need to run user-defined functions
> > > (specifically, the btree comparison functions) during replay?
> >
> > Seems like a good objection. Just exercising my lateral thought muscles.
>
> Can this be explained in more detail???

If the goal is to only store the insert, then we need to determine
during recovery which page the record needs to be added to. To do this
you need to go through the index, which can only be done by calling
user-defined functions.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Those who make peaceful revolution impossible will make violent revolution inevitable.
>  -- John F Kennedy

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

Предыдущее
От: "Gokulakannan Somasundaram"
Дата:
Сообщение: Re: Index Page Split logging
Следующее
От: "Gokulakannan Somasundaram"
Дата:
Сообщение: Re: Index Page Split logging