Re: index organized tables use case

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: index organized tables use case
Дата
Msg-id dcc563d10712130855l18f2dccw7318bb530e479bd0@mail.gmail.com
обсуждение исходный текст
Ответ на Re: index organized tables use case  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-general
On Dec 12, 2007 9:16 PM, Robert Treat <xzilla@users.sourceforge.net> wrote:
> On Wednesday 12 December 2007 10:53, Thomas Kellerer wrote:

> > At least for Oracle it's not mainly the order that improves the
> > performance, but the fact that all the data is kept in the index, so
> > Oracle does not need to go back to the table data after looking up the
> > index entry. There is no "table data" for an index-organized table in
> > Oracle, so only a single lookup is needed.
> >
>
> Yeah, thats a nice feature, and one thats not directly available in Postgres.
> The thing to concentrate on here is the techniques that are available in
> Postgres that might help keep the same schema performant. I think looking at
> partitioning or at partial indexing (making a new index on the code clause)
> could help keep performance with minimal impact to the schema.

And keep in mind, there's no such thing as a free lunch here.  Oracle
makes tradeoffs to do this that mean that rolling back a transaction
is MUCH more expensive than it is in pgsql.  I'm sure there are other
tradeoffs as well.  BTW, apparently, InnoDB does the same type of
thing, and also suffers from the VERY expensive rollback issues as
well.

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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: UNION not working... why?
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: timestamp with time zone