****************************************
Cost-Based Group-By/Distinct Placement
****************************************
GBP/DP: Checking validity of GBP/DP for query block SEL$51F12574 (#1)
GBP: Checking validity of group-by placement for query block SEL$51F12574 (#1)
GBP: Bypassed: Query has invalid constructs.
DP: Checking validity of distinct placement for query block SEL$51F12574 (#1)
DP: Bypassed: Query has invalid constructs.
kkqctdrvTD-cleanup: transform(in-use=1592, alloc=4056) :
call(in-use=2896, alloc=16344), compile(in-use=138984, alloc=153744), execution(in-use=182240, alloc=183416)
kkqctdrvTD-end:
call(in-use=2896, alloc=16344), compile(in-use=135184, alloc=153744), execution(in-use=182240, alloc=183416)
kkqctdrvTD-start on query block SEL$51F12574 (#1)
kkqctdrvTD-start: :
call(in-use=2896, alloc=16344), compile(in-use=135184, alloc=153744), execution(in-use=182240, alloc=183416)
TE: Checking validity of table expansion for query block SEL$51F12574 (#1)
TE: Bypassed: No partitioned table in query block.
kkqctdrvTD-cleanup: transform(in-use=0, alloc=0) :
call(in-use=2896, alloc=16344), compile(in-use=135792, alloc=153744), execution(in-use=182240, alloc=183416)
kkqctdrvTD-end:
call(in-use=2896, alloc=16344), compile(in-use=136112, alloc=153744), execution(in-use=182240, alloc=183416)
TE: Checking validity of table expansion for query block SEL$51F12574 (#1)
TE: Bypassed: No partitioned table in query block.
ST: Query in kkqstardrv:******* UNPARSED QUERY IS *******
SELECT "T"."N2" "N2",COUNT(*) "COUNT(*)" FROM "CHRIS"."T" "T" GROUP BY "T"."N2"
ST: not valid since star transformation parameter is FALSE
kkqctdrvTD-start on query block SEL$51F12574 (#1)
kkqctdrvTD-start: :
call(in-use=2896, alloc=16344), compile(in-use=136112, alloc=153744), execution(in-use=182240, alloc=183416)
JF: Checking validity of join factorization for query block SEL$51F12574 (#1)
JF: Bypassed: not a UNION or UNION-ALL query block.
kkqctdrvTD-cleanup: transform(in-use=0, alloc=0) :
call(in-use=2896, alloc=16344), compile(in-use=136720, alloc=153744), execution(in-use=182240, alloc=183416)
kkqctdrvTD-end:
call(in-use=2896, alloc=16344), compile(in-use=137040, alloc=153744), execution(in-use=182240, alloc=183416)
JPPD: Considering Cost-based predicate pushdown from query block SEL$51F12574 (#1)
************************************
Cost-based predicate pushdown (JPPD)
************************************
kkqctdrvTD-start on query block SEL$51F12574 (#1)
kkqctdrvTD-start: :
call(in-use=2896, alloc=16344), compile(in-use=137040, alloc=153744), execution(in-use=182240, alloc=183416)
kkqctdrvTD-cleanup: transform(in-use=0, alloc=0) :
call(in-use=2896, alloc=16344), compile(in-use=137648, alloc=153744), execution(in-use=182240, alloc=183416)
kkqctdrvTD-end:
call(in-use=2896, alloc=16344), compile(in-use=137968, alloc=153744), execution(in-use=182240, alloc=183416)
JPPD: Applying transformation directives
query block SEL$51F12574 (#1) unchanged
FPD: Considering simple filter push in query block SEL$51F12574 (#1)
??
Final query after transformations:******* UNPARSED QUERY IS *******
SELECT "T"."N2" "N2",COUNT(*) "COUNT(*)" FROM "CHRIS"."T" "T" GROUP BY "T"."N2"
kkoqbc: optimizing query block SEL$51F12574 (#1)
:
call(in-use=2896, alloc=16344), compile(in-use=138936, alloc=153744), execution(in-use=182240, alloc=183416)
kkoqbc-subheap (create addr=0x7f4f408e56d0)
****************
QUERY BLOCK TEXT
****************
SELECT n2, count(*) FROM (SELECT n1, n2 FROM t ORDER BY n1) GROUP BY n2
- 강좌 URL : http://www.gurubee.net/lecture/4362
- 구루비 강좌는 개인의 학습용으로만 사용 할 수 있으며, 다른 웹 페이지에 게재할 경우에는 출처를 꼭 밝혀 주시면 고맙겠습니다.~^^
- 구루비 강좌는 서비스 제공을 위한 목적이나, 학원 홍보, 수익을 얻기 위한 용도로 사용 할 수 없습니다.