Hi I got the same error
the problem is that SQL
select sid, inst_id, decode(type, 'TM', id1, null) obj_id, type, id1,
id2, lmode, lmode "Lock Held", request, request "Lock Request", ctime,
kaddr from
gv$lock
where type!='MR'
is running very slow because it uses Merge JOIN Cartesin between X
$KSQRTS X$KSUSE
each run takes 32 seconds and query if I run it from Oracle use the
same plan and run 32 seconds, so I believe this is not lab128 issue
but still it should not use this query I believe.
Is it possible for the time being while I'm looking for workaround,
easily, withoud hard code development disable such query from
lab128 ?
> > fromgv$lockwhere type!='MR'
> > 09/11 07:34:46 - Query ID=903, Name='v$lock', recoverable error 103:
> > Query execution attempt failed.
> > 09/11 07:34:47 - ORA-03127: no new operations allowed until the active
> > operation ends.
> > SQL:
> > --lab128
> > select sql_id,plan_hash_value,parse_calls,disk_reads,direct_writes,
> > buffer_gets,rows_processed,serializable_aborts,fetches,executions,
> > end_of_fetch_count,loads,invalidations,px_servers_executions,
> > cpu_time,elapsed_time,application_wait_time,concurrency_wait_time,
> > cluster_wait_time,user_io_wait_time,plsql_exec_time,java_exec_time,
> > sorts,last_active_time
> > from v$sqlstats where last_active_time+.0000231 >= :1
> > 09/11 07:34:47 - Query ID=939, Name='v$sqlstats', recoverable error
> > 103: Query execution attempt failed.- Hide quoted text -
>
> - Show quoted text -