| От | Pierre C |
|---|---|
| Тема | Re: plpgsql plan cache |
| Дата | |
| Msg-id | op.u8jnpjikeorkce@localhost обсуждение исходный текст |
| Ответ на | plpgsql plan cache (Joel Jacobson <joel@gluefinance.com>) |
| Ответы |
Re: plpgsql plan cache
|
| Список | pgsql-performance |
> I cannot understand why the index is not being used when in the plpgsql > function? > I even tried to make a test function containing nothing more than the > single query. Still the index is not being used. > When running the same query in the sql prompt, the index is in use > though. Please post the following : - EXPLAIN ANALYZE your query directly in psql - PREPARE testq AS your query - EXPLAIN ANALYZE EXECUTE testq( your parameters )
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера