Re: CREATE INDEX and HOT (was Question: pg_classattributes and race conditions ?)

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: CREATE INDEX and HOT (was Question: pg_classattributes and race conditions ?)
Дата
Msg-id 20070322182200.GB72669@nasby.net
обсуждение исходный текст
Ответ на Re: CREATE INDEX and HOT (was Question: pg_classattributes and race conditions ?)  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: CREATE INDEX and HOT (was Question: pg_classattributes and race conditions ?)  (Russell Smith <mr-russ@pws.com.au>)
Список pgsql-hackers
On Mon, Mar 19, 2007 at 12:05:19PM +0000, Simon Riggs wrote:
> I was unwilling to compromise to have HOT if only one index existed, but
> IMHO allowing HOT with <= 3 indexes is an acceptable compromise for this
> release. (We can always use vertical partitioning techniques to allow
> additional access paths to be added to the same table - I'd be very
> happy to document that with worked examples, if requried).

I'm not sure where we're sitting with this, but I've got another idea I
haven't seen (one that I think is better than an arbitrary limit on the
number of indexes)... what if we just disallow non-concurrent index
builds on hot tables? It sounds like the additional pain involved in
chilling an entire table and keeping it chilled for the index build is
even more overhead than just doing a concurrent index build.
-- 
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] "Relation not found" error but table exits.
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: CREATE INDEX and HOT - revised design