| От | Tom Lane |
|---|---|
| Тема | Re: Poor Performance on Postgres 8.0 |
| Дата | |
| Msg-id | 2581.1106929396@sss.pgh.pa.us обсуждение |
| Ответ на | Poor Performance on Postgres 8.0 (Pallav Kalva <pkalva@deg.cc>) |
| Ответы |
Re: Poor Performance on Postgres 8.0
|
| Список | pgsql-performance |
Pallav Kalva <pkalva@deg.cc> writes:
> I am running this query on postgres 8 beta version and it is not
> using the right index, where as if i run the same query on postgres 7.4
> version it uses the right index .
1. Beta which, exactly?
2. Have you ANALYZEd both tables lately?
3. If so, try this to see what it thinks the cost of the reverse plan
is:
begin;
alter table common.string drop constraint pk_string_stringid;
explain analyze ... same query ...
rollback;
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера