Taras
2011-04-01 05:58:20 UTC
Hi,
I have another anomaly when inserting Sort node into the plan (unrelated
to the previous post). In the following query:
select emp.ename from emp, manages where emp.eno = manages.eno;
I correctly identify interesting orders, however, when I am trying to
insert Sort node into the plan, and than display the resulting plan
using "explain" - it shows that the sort key is "emp.ename" - which is
not in the list of pathkeys, and so shouldn't be the sort key at all. In
this query, Hash join method is used.
Thanks,
Taras
I have another anomaly when inserting Sort node into the plan (unrelated
to the previous post). In the following query:
select emp.ename from emp, manages where emp.eno = manages.eno;
I correctly identify interesting orders, however, when I am trying to
insert Sort node into the plan, and than display the resulting plan
using "explain" - it shows that the sort key is "emp.ename" - which is
not in the list of pathkeys, and so shouldn't be the sort key at all. In
this query, Hash join method is used.
Thanks,
Taras