| От | Boris Klug |
|---|---|
| Тема | Re: Unions and where optimisation |
| Дата | |
| Msg-id | 200301081536.33211.boris.klug@control.de обсуждение исходный текст |
| Ответ на | Re: Unions and where optimisation (Tomasz Myrta <jasiek@klaster.net>) |
| Список | pgsql-performance |
Hello! > Hannu, does it work? > Few months ago I lost some time trying to create this kind of query and > I always got error, that subselect doesn't knows anything about upper > (outer?) table. It does not work on my PostgreSQL 7.2.x Get the same error like you: "relation rk does not exist" Also the disadvantage of this solution is that the speed up is bound to queries for the ordernr. If a statement has a where clause e.g. for a timestamp, the view is still slow. Does PostgreSQL not know how to move where clause inside each select in a union? -- Dipl. Inform. Boris Klug, control IT GmbH, Germany
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера