| От | Herbert Liechti |
|---|---|
| Тема | Re: Performance issue 6.5 versus 7.0 |
| Дата | |
| Msg-id | 392EF605.2193FFDA@thinx.ch обсуждение исходный текст |
| Ответ на | Performance issue 6.5 versus 7.0 (Herbert Liechti <Herbert.Liechti@thinx.ch>) |
| Список | pgsql-general |
Alfred Perlstein wrote: > > > Bryan White wrote: > > > > > > > Is there a way to force 7.0 using the defined indexes? Thanks > > > > for your help. > > > > > > Try set enable_seqscan=off before issuing your query. > > > > A little bit better (3 sec instead of 5 seconds). But fare away > > from the performance of 6.5.3. The explain now looks like this: > > > > An other advice? > > Not really, try a "vacuum analyze tablename;" but otherwise i've hit > upon this regression in 7.0 as well :( Magic. Vacuum analyze tablename; made the things running with the expected performance. I didn't knew that feature of vacuum. Thanks Herbie
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера