Quantcast
Channel: www.oaktable.net - cardinality
Viewing all articles
Browse latest Browse all 11

Temp Table Transformation Cardinality Estimates - 2

$
0
0

Continuing from the previous part - which was about the Temp Table Transformation and join cardinality estimates - using the same simple table setup here is a slight variation of the previously used query to demonstrate the potential impact on single table cardinality estimates:


explain plan for
with
cte as (
select /* inline */ id from t1 t
where 1 = 1
)
select /*+
no_merge(a) no_merge(b)
*/ * from cte a, cte b
where a.id = b.id
and a.id > 990 and b.id > 990
;

-- 11.2.0.x Plan with TEMP transformation
--------------------------------------------------------------------------------

read more


Viewing all articles
Browse latest Browse all 11

Latest Images

Trending Articles





Latest Images