| От | Mitterwald, Holger |
|---|---|
| Тема | Re: Optimizer Bug? |
| Дата | |
| Msg-id | 3933AEF7.DE9540F7@coi.de обсуждение исходный текст |
| Ответ на | Optimizer Bug? ("Mitterwald, Holger" <mittehlg@coi.de>) |
| Список | pgsql-bugs |
Peter Eisentraut wrote: [..] > > Sure it's used. Just because it's not mentioned in the select list doesn't > mean it will be ignored completely. What you get here is a three-way join, > which is of course slower than a two way join. What I do not understand at all: The table "preis" is neither used in the select nor in the where part of the statement. The result will not change if the table will not be here nor will it change if there are other datasets in it. Why should a DBMS do a full table scan, do a third join on a table that is not used at all? Greetings, Holger P.S.: I tested it on OpenIngres 2.0, and the effects are the same. Funny thing...
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера