Re: Strangely Variable Query Performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strangely Variable Query Performance
Дата
Msg-id 10503.1176423606@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Strangely Variable Query Performance  (Steve <cheetah@tanabi.org>)
Ответы Re: Strangely Variable Query Performance  (Steve <cheetah@tanabi.org>)
Список pgsql-performance
Steve <cheetah@tanabi.org> writes:
> Either way, it runs perfectly fast.  So it looks like the indexes are
> confusing this query like you suspected.  Any advise?

Wow --- sometimes grasping at straws pays off.  I was testing here with
just a subset of the indexes to save build time, but I bet that one of
the "irrelevant" ones is affecting this somehow.  Time to re-test.

If you have some time to kill, it might be interesting to vary that
begin/rollback test script to leave one or two other indexes in place,
and see if you can identify exactly which other index(es) get it
confused.

I'm about to go out to dinner with the wife, but will have a closer
look when I get back, or tomorrow morning.  We'll figure this out.

            regards, tom lane

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

Предыдущее
От: Steve
Дата:
Сообщение: Re: Strangely Variable Query Performance
Следующее
От: Steve
Дата:
Сообщение: Re: Strangely Variable Query Performance