Re: MVCC performance issue

Поиск
Список
Период
Сортировка
От Scott Carey
Тема Re: MVCC performance issue
Дата
Msg-id 12D650E7-B135-473A-952C-0A24ACE2EFD9@richrelevance.com
обсуждение исходный текст
Ответ на Re: MVCC performance issue  ("Kyriacos Kyriacou" <kyriacosk@prime-tel.com>)
Список pgsql-performance
On Nov 12, 2010, at 9:13 AM, Kyriacos Kyriacou wrote:

> My suggestion had just a single difference from what currently MVCC is
> doing (btw I never said that MVCC is bad).
>
> NOW ===> on COMMIT previous version record is expired and the
>         new version record (created in new dynamically allocated
>         spot, as you said) is set as "active"
>
> MY  ===> on COMMIT, to update new version data over the same physical
> location that initial version was
>         and release the space used to keep the new version (that was
> dynamically allocated).

But what about other transactions that can still see the old version?

You can't overwrite the old data if there are any other transactions open in the system at all.  You have to have a
mechanismto keep the old copy around for a while. 

>
> The rest are all the same! I do not think that this is breaking anything
> and I still believe that this might help.
>
> I will try to plan upgrade the soonest possible to the newest version.
> Reading few words about HOT updates
> it seems that more or less is similar to what I have described and will
> be very helpful.
>
> Kyriacos


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

Предыдущее
От: Scott Carey
Дата:
Сообщение: Re: MVCC performance issue
Следующее
От: Robert Haas
Дата:
Сообщение: Re: anti-join chosen even when slower than old plan