Re: Disabling nested loops - worst case performance

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Disabling nested loops - worst case performance
Дата
Msg-id ilvept$o6o$1@dough.gmane.org
обсуждение исходный текст
Ответ на Disabling nested loops - worst case performance  (Anssi Kääriäinen <anssi.kaariainen@thl.fi>)
Ответы Re: Disabling nested loops - worst case performance
Список pgsql-performance
Anssi Kääriäinen, 18.03.2011 08:15:
> Hello list,
>
> I am working on a Entity-Attribute-Value (EAV) database using
> PostgreSQL 8.4.7. The basic problem is that when joining multiple
> times different entities the planner thinks that there is vastly less
> rows to join than there is in reality and decides to use multiple
> nested loops for the join chain.

Did you consider using hstore instead?

I think in the PostgreSQL world, this is a better alternative than EAV and most probably faster as well.

Regards
Thomas

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

Предыдущее
От: Vitalii Tymchyshyn
Дата:
Сообщение: Re: Disabling nested loops - worst case performance
Следующее
От: Anssi Kääriäinen
Дата:
Сообщение: Re: Disabling nested loops - worst case performance