Re: Disabling nested loops - worst case performance

Поиск
Список
Период
Сортировка
От Claudio Freire
Тема Re: Disabling nested loops - worst case performance
Дата
Msg-id AANLkTikdXec-hR4hAo5kVyQyrdt-qKRqhYYCmLBxT-A1@mail.gmail.com
обсуждение исходный текст
Ответ на Disabling nested loops - worst case performance  (Anssi Kääriäinen <anssi.kaariainen@thl.fi>)
Список pgsql-performance
On Fri, Mar 18, 2011 at 7:52 AM, Vitalii Tymchyshyn <tivv00@gmail.com> wrote:
> 18.03.11 09:15, Anssi Kääriäinen написав(ла):
> Hello.
>
> If your queries work on single attribute, you can try adding partial indexes
> for different attributes. Note that in this case parameterized statements
> may prevent index usage, so check also with attribute id inlined.

And if your queries work on a single entity instead, you can partition
the table per-entity thus "teach" the database enging about the
correlation.

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Fastest pq_restore?
Следующее
От: tv@fuzzy.cz
Дата:
Сообщение: Re: Help with Query Tuning