Re: Pluggable Indexes

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Pluggable Indexes
Дата
Msg-id 20090122160227.GE4296@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Pluggable Indexes  (Teodor Sigaev <teodor@sigaev.ru>)
Ответы Re: Pluggable Indexes  (Robert Haas <robertmhaas@gmail.com>)
Re: Pluggable Indexes  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Teodor Sigaev wrote:
>> What other constraints are there on such non-in-core indexex?  Early (2005)
>> GIST indexes were very painful in production environments because vacuuming
>> them held locks for a *long* time (IIRC, an hour or so on my database) on
>> the indexes locking out queries.  Was that just a shortcoming of the
>> implementation, or was it a side-effect of them not supporting recoverability.
>
> GiST concurrent algorithm is based on Log Sequence Number of WAL and that 
> was the reason to implement WAL (and recoverability) first in GiST.

Hmm, IIRC it is based on a monotonically increasing number.  It could
have been anything.  LSN was just a monotonically increasing number that
would be available if WAL was implemented first (or in parallel).

Of course, there's no much point in an index that's easily corrupted, so
I understand the desire to implement WAL too -- I'm just pointing out
that concurrency could have been developed independently.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Pluggable Indexes (was Re: rmgr hooks (v2))
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Pluggable Indexes (was Re: rmgr hooks (v2))