Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> dbms_stats using no_parallel_index internally
Even with specifying DEGREE=4, the dbms_stats
internally generates this Hint to use
no_parallel_index when processing the Indexes for the
table being analyzed. Any ways to force it to use
parallel or NOT TO USE no_parallel_index hint? I have
tried 'alter session enable parallel query', but still
produced the same.
SELECT /*+ no_parallel_index(t,"DT_P_BIX") dbms_stats
cursor_sharing_exact use_weak_name_resl
dynamic_sampling(0) no_monitoring no_expand
index(t,"DT_P_BIX") */
COUNT (DISTINCT sys_op_lbid (8753663, 'R', t.ROWID)) AS nrw,
COUNT (DISTINCT sys_op_lbid (8753663, 'L', t.ROWID)) AS nlb,
COUNT (DISTINCT "DATE_KEY") AS ndk, NULL AS clf
FROM "D1"."D1_FACT" t
WHERE tbl$or$idx$part$num ("D1"."D1_FACT", 0, 3, 0,
"ROWID") = :objn
-- http://www.freelists.org/webpage/oracle-lReceived on Wed Mar 29 2006 - 14:26:20 CST
![]() |
![]() |