Re: [PERFORM] Cursors performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PERFORM] Cursors performance
Дата
Msg-id 16994.1089738537@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PERFORM] Cursors performance  (Bill Chandler <billybobc1210@yahoo.com>)
Список pgsql-jdbc
Bill Chandler <billybobc1210@yahoo.com> writes:
> One final clue before I go: if I change my wildcard to
> 'NEPOOL%' from 'NEPOOL%REAL%' my query completes much
> faster.

Could we see the exact queries and EXPLAIN ANALYZE output for both
cases?  I'm wondering if the plan changes.  I think that the planner
will believe that the latter pattern is significantly more selective
(how much more selective depends on exactly which PG version you're
using); if this results in a bad row-count estimate then a bad plan
could get picked.

            regards, tom lane

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Windows port installer
Следующее
От: "Chris Smith"
Дата:
Сообщение: Re: Windows port installer