Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Analytic bug in 9.2.0.4
Content-Type: text/plain; charset="us-ascii"
While playing around with SQL for some PGA scripts, I managed to create
some SQL
that will consistently cause ORA-600 [kkqwrm_noref: COLFDNF set]
This appears to be Bug # 2507421, which was supposedly fixed in 9.2.0.3.
Here's the SQL:
select
pga_target_for_estimate , pga_target_factor , low_optimal_size , high_optimal_size , estd_optimal_executions , estd_onepass_executions , estd_multipasses_executions , estd_total_executions , ignored_workareas_count
select pga_target_for_estimate from ( select max(pga_target_for_estimate) over ( partition by pga_target_for_estimate) pga_target_for_estimate , sum(estd_multipasses_executions) over ( partition by pga_target_for_estimate) sum_estd_multipasses , max(high_optimal_size) over ( partition by pga_target_for_estimate) max_high_optimal_size from v$pga_target_advice_histogram ) a where sum_estd_multipasses < 1 group by pga_target_for_estimate, sum_estd_multipasses)
This bit of SQL is a bit useless as is, that is, for anything other than causing ORA-600.
This is on 9.3.0.4 on RH Linux 7.2 Kernel 2.4.20-18.7smp
It also appears on 9.2.0.4 on Win2k SP3.
Anyone else see similar results? On a test database of course.
Jared
--=_alternative 0002BF9888256DF3_=
Content-Type: text/html; charset="us-ascii"
<br>
<br><font size=2 face="sans-serif">While playing around with SQL for some PGA scripts, I managed to create some SQL</font>
<br><font size=2 face="sans-serif">that will consistently cause </font><font size=3 face="Times New Roman">ORA-600 [kkqwrm_noref: COLFDNF set] </font>
<br>
<br><font size=2 face="sans-serif">This appears to be Bug # 2507421, which was supposedly fixed in 9.2.0.3.</font>
<br>
<br><font size=2 face="sans-serif">Here's the SQL:</font>
<br>
<br><font size=2 face="sans-serif">select</font>
<br><font size=2 face="sans-serif"> pga_target_for_estimate</font>
<br><font size=2 face="sans-serif"> , pga_target_factor</font>
<br><font size=2 face="sans-serif"> , low_optimal_size</font>
<br><font size=2 face="sans-serif"> , high_optimal_size</font>
<br><font size=2 face="sans-serif"> , estd_optimal_executions</font>
<br><font size=2 face="sans-serif"> , estd_onepass_executions</font>
<br><font size=2 face="sans-serif"> , estd_multipasses_executions</font>
<br><font size=2 face="sans-serif"> , estd_total_executions</font>
<br><font size=2 face="sans-serif"> , ignored_workareas_count</font>
<br><font size=2 face="sans-serif">from v$pga_target_advice_histogram</font>
<br><font size=2 face="sans-serif">where pga_target_for_estimate in (</font>
<br><font size=2 face="sans-serif"> select pga_target_for_estimate</font>
<br><font size=2 face="sans-serif"> from (</font>
<br><font size=2 face="sans-serif"> select</font>
<br><font size=2 face="sans-serif"> max(pga_target_for_estimate) over ( partition by pga_target_for_estimate) pga_target_for_estimate</font>
<br><font size=2 face="sans-serif"> , sum(estd_multipasses_executions) over ( partition by pga_target_for_estimate) sum_estd_multipasses</font>
<br><font size=2 face="sans-serif"> , max(high_optimal_size) over ( partition by pga_target_for_estimate) max_high_optimal_size</font>
<br><font size=2 face="sans-serif"> from v$pga_target_advice_histogram</font>
<br><font size=2 face="sans-serif"> ) a</font>
<br><font size=2 face="sans-serif"> where sum_estd_multipasses < 1</font>
<br><font size=2 face="sans-serif"> group by pga_target_for_estimate, sum_estd_multipasses</font>
<br><font size=2 face="sans-serif">)</font>
<br><font size=2 face="sans-serif">order by pga_target_for_estimate, low_optimal_size</font>
<br><font size=2 face="sans-serif">/</font>
<br>
<br><font size=2 face="sans-serif">This bit of SQL is a bit useless as is, that is, for anything other than causing ORA-600.</font>
<br>
<br><font size=2 face="sans-serif">This is on 9.3.0.4 on RH Linux 7.2 Kernel 2.4.20-18.7smp</font>
<br>
<br><font size=2 face="sans-serif">It also appears on 9.2.0.4 on Win2k SP3.</font>
<br>
<br><font size=2 face="sans-serif">Anyone else see similar results? On a test database of course.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Jared</font>
<br>
<br>
<br>
<br>
<br>
--=_alternative 0002BF9888256DF3_=--
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: INET: Jared.Still_at_radisys.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Dec 04 2003 - 18:29:25 CST