Re: vacuum, performance, and MVCC

Поиск
Список
Период
Сортировка
От Jonah H. Harris
Тема Re: vacuum, performance, and MVCC
Дата
Msg-id 36e682920606231212r1436ba97q47ab8abf18f5b6d2@mail.gmail.com
обсуждение исходный текст
Ответ на Re: vacuum, performance, and MVCC  ("Mark Woodward" <pgsql@mohawksoft.com>)
Ответы Re: vacuum, performance, and MVCC
Список pgsql-hackers
On 6/23/06, Mark Woodward <pgsql@mohawksoft.com> wrote:
> Rather than keep references to all versions of all
> rows in indexes, keep only a reference to the first or "key" row of each
> row, and have the first version of a row form the head of a linked list to
> subsequent versions of each row. The list will be in decending order.

By all means, please go ahead and try it because it's not quite that
easy.  You're going to run into serious locking and contention issues
this way.  In the end, it's not much better than running a sequential
scan to query a row that's been updated several thousand times on a
table that hasn't been vacuumed... follow that pointer :)

-- 
Jonah H. Harris, Software Architect | phone: 732.331.1300
EnterpriseDB Corporation            | fax: 732.331.1301
33 Wood Ave S, 2nd Floor            | jharris@enterprisedb.com
Iselin, New Jersey 08830            | http://www.enterprisedb.com/


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: vacuum, performance, and MVCC
Следующее
От: "Mark Woodward"
Дата:
Сообщение: Re: vacuum, performance, and MVCC