Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Very high count of SQLs parsed by SYS
Would you define "recursive SQL" as only SQL executed by SYS against the
DataDictionary
{eg Space Transactions or lookups to validate object definitions, privleges
etc}.
Here I do not see "recursive SQL"s in that sense... Could this be DML
executed
by a Procedure/Package or one Package calling another, which seemingly is
parsed by SYS ?
SQL> l
1 select hash_value, substr(sql_text,1,1000) sqlt, count(*),
sum(executions)
texec
2 from v$sql
3 where executions <5
4 and parsing_user_id=0
5 group by hash_value, substr(sql_text,1,1000)
6 having count(*) >30
7* order by 2
SQL> /
HASH_VALUE SQLText Header
DE,RESUBMIT_END_DATE,RESUBMITTED,CRITICAL,REQUEST_TYPE,RELEASE_C LASS_APP_ID,RELEASE_CLASS_ID,STALE_DATE,CANCEL_OR_HOLD,OUTPUT_FI LE_TYPE,NLS_COMPLIANT,CD_ID,REQUEST_LIMIT,ENABLE_TRACE,ARGUMENT_ TEXT,NUMBER_OF_ARGUMENTS,ARGUMENT1,ARGU260 546
829231377 UPDATE WF_NOTIFICATION_ATTRIBUTES SET TEXT_VALUE=DECODE(:b1,'',:
b2,SUBSTRB(:b2,1,TO_NUMBER(:b1))) WHERE NOTIFICATION_ID = :b5 A ND NAME = :b6 33 72
2924868586 update PO_ACTION_HISTORY set action_code=:b0,action_date=sysdat
e ,note=:b1,last_updated_by=:b2,last_update_date=sysdate ,object
_revision_num=:b3,approval_path_id=:b4 where ((object_id=:b5 and
object_type_code=:b6) and action_code is null ) 41 86
3 rows selected.
SQL>
At 02:32 AM Friday, you wrote:
Hemant,
>I was looking at high version counts of certain statements
<deleted>
>a)ANALYZE of an underlying object causing dependent SQLs to be
>parsed by
>SYS:783352
>{this from a posting by Mike Ault, but I cannot read the
>actual Bug text}
>b) recursive SQLs
I would focus on the recursive SQLs.... Keep in mind that 11.0.3 does not require that the underlying tablespaces be LMTs (as does 11i) ....
Hemant K Chitale
Oracle 9i Database Administrator Certified Professional
http://web.singnet.com.sg/~hkchital
[1]
![]() |
![]() |