| SQL Id | SQL Text |
| 00fx7adv5q5gm | SELECT HOUR, INTRADAY, EXTRADAY FROM BSLN_TIMEGROUPS |
| 04xtrk7uyhknh | select obj#, type#, ctime, mtime, stime, status, dataobj#, flags, oid$, spare1, spare2 from obj$ where owner#=:1 and name=:2 and namespace=:3 and remoteowner is null and linkname is null and subname is null |
| 0h6b2sajwb74n | select privilege#, level from sysauth$ connect by grantee#=prior privilege# and privilege#>0 start with grantee#=:1 and privilege#>0 |
| 0k8522rmdzg4k | select privilege# from sysauth$ where (grantee#=:1 or grantee#=1) and privilege#>0 |
| 0ws7ahf1d78qa | select SYS_CONTEXT('USERENV', 'SERVER_HOST'), SYS_CONTEXT('USERENV', 'DB_UNIQUE_NAME'), SYS_CONTEXT('USERENV', 'INSTANCE_NAME'), SYS_CONTEXT('USERENV', 'SERVICE_NAME'), INSTANCE_NUMBER, STARTUP_TIME, SYS_CONTEXT('USERENV', 'DB_DOMAIN') from v$instance where INSTANCE_NAME=SYS_CONTEXT('USERENV', 'INSTANCE_NAME') |
| 0z1031991bd7w | insert into wrh$_sysmetric_summary (snap_id, dbid, instance_number, begin_time, end_time, intsize, group_id, metric_id, num_interval, maxval, minval, average, standard_deviation, sum_squares) select :snap_id, :dbid, :instance_number, begtime, endtime, intsize_csec, groupid, metricid, numintv, max, min, avg, std, sumsq FROM x$kewmsmdv WHERE groupid = 2 |
| 1cq3qr774cu45 |
insert into WRH$_IOSTAT_FILETYPE (snap_id, dbid, instance_number, filetype_id, small_read_megabytes, small_write_megabytes, large_read_megabytes, large_write_megabytes, small_read_reqs, small_write_reqs, small_sync_read_reqs, large_read_reqs, large_write_reqs, small_read_servicetime, small_write_servicetime, small_sync_read_latency, large_read_servicetime, large_write_servicetime, retries_on_error) (select :snap_id, :dbid, :instance_number, filetype_id, sum(small_read_megabytes) small_read_megabytes, sum(small_write_megabytes) small_write_megabytes, sum(large_read_megabytes) large_read_megabytes, sum(large_write_megabytes) large_write_megabytes, sum(small_read_reqs) small_read_reqs, sum(small_write_reqs) small_write_reqs, sum(small_sync_read_reqs) small_sync_read_reqs, sum(large_read_reqs) large_read_reqs, sum(large_write_reqs) large_write_reqs, sum(small_read_servicetime) small_read_servicetime, sum(small_write_servicetime) small_write_servicetime, sum(small_sync_read_latency) small_sync_read_latency, sum(large_read_servicetime) large_read_servicetime, sum(large_write_servicetime) large_write_servicetime, sum(retries_on_error) retries_on_error from v$iostat_file group by filetype_id)
|
| 1gu8t96d0bdmu | select t.ts#, t.file#, t.block#, nvl(t.bobj#, 0), nvl(t.tab#, 0), t.intcols, nvl(t.clucols, 0), t.audit$, t.flags, t.pctfree$, t.pctused$, t.initrans, t.maxtrans, t.rowcnt, t.blkcnt, t.empcnt, t.avgspc, t.chncnt, t.avgrln, t.analyzetime, t.samplesize, t.cols, t.property, nvl(t.degree, 1), nvl(t.instances, 1), t.avgspc_flb, t.flbcnt, t.kernelcols, nvl(t.trigflag, 0), nvl(t.spare1, 0), nvl(t.spare2, 0), t.spare4, t.spare6, ts.cachedblk, ts.cachehit, ts.logicalread from tab$ t, tab_stats$ ts where t.obj#= :1 and t.obj# = ts.obj# (+) |
| 1y4u5x9nr6aqg |
INSERT /*+ APPEND */ INTO WRH$_ACTIVE_SESSION_HISTORY ( snap_id, dbid, instance_number, sample_id, sample_time , session_id, session_serial#, session_type , flags , user_id , sql_id, sql_child_number, sql_opcode, force_matching_signature , top_level_sql_id, top_level_sql_opcode , sql_plan_hash_value, sql_plan_line_id , sql_plan_operation#, sql_plan_options# , sql_exec_id, sql_exec_start , plsql_entry_object_id, plsql_entry_subprogram_id , plsql_object_id, plsql_subprogram_id , qc_instance_id, qc_session_id, qc_session_serial# , event_id, seq#, p1, p2, p3 , wait_time, time_waited , blocking_session, blocking_session_serial# , current_obj#, current_file#, current_block#, current_row# , consumer_group_id, xid, remote_instance#, time_model , service_hash, program, module, action, client_id ) (SELECT :snap_id, :dbid, :instance_number, a.sample_id, a.sample_time , a.session_id, a.session_serial#, a.session_type , decode(a.flags, 0, to_number(NULL), a.flags) , a.user_id , a.sql_id, a.sql_child_number, a.sql_opcode, a.force_matching_signature , a.top_level_sql_id, a.top_level_sql_opcode , a.sql_plan_hash_value, a.sql_plan_line_id , a.sql_plan_operation#, a.sql_plan_options# , a.sql_exec_id, a.sql_exec_start , a.plsql_entry_object_id, a.plsql_entry_subprogram_id , a.plsql_object_id, a.plsql_subprogram_id , a.qc_instance_id, a.qc_session_id, a.qc_session_serial# , a.event_id, a.seq#, a.p1,
a.p2, a.p3 , a.wait_time, a.time_waited , a.blocking_session, a.blocking_session_serial# , a.current_obj#, a.current_file#, a.current_block#, a.current_row# , a.consumer_group_id, a.xid, a.remote_instance#, a.time_model , a.service_hash , substrb(a.program, 1, 64) , a.module, a.action, a.client_id FROM x$ash a, (SELECT h.sample_addr, h.sample_id FROM x$kewash h WHERE ( (h.sample_id >= :begin_flushing) and (h.sample_id < :latest_sample_id) ) and (MOD(h.sample_id, :disk_filter_ratio) = 0) ) shdr WHERE shdr.sample_addr = a.sample_addr and shdr.sample_id = a.sample_id) |
| 209fr01svbb5s | update sys.aud$ set action#=:2, returncode=:3, logoff$time=cast(SYS_EXTRACT_UTC(systimestamp) as date), logoff$pread=:4, logoff$lread=:5, logoff$lwrite=:6, logoff$dead=:7, sessioncpu=:8 where sessionid=:1 and entryid=1 and action#=100 |
| 2cn0kc8u4b81w |
select OBJOID, CLSOID, RUNTIME, PRI, JOBTYPE, SCHLIM, WT, INST, RUNNOW, ENQ_SCHLIM from ( select a.obj# OBJOID, a.class_oid CLSOID, decode(bitand(a.flags, 16384), 0, a.next_run_date, a.last_enabled_time) RUNTIME, (2*a.priority + decode(bitand(a.job_status, 4), 0, 0, decode(a.running_instance, :1, -1, 1))) PRI, 1 JOBTYPE, decode(a.schedule_limit, NULL, decode(bitand(a.flags, 4194304), 4194304, p.schedule_limit, NULL), a.schedule_limit) SCHLIM, a.job_weight WT, decode(a.running_instance, NULL, 0, a.running_instance) INST, decode(bitand(a.flags, 16384), 0, 0, 1) RUNNOW, decode(bitand(a.job_status, 8388608), 0, 0, 1) ENQ_SCHLIM from sys.scheduler$_job a, sys.scheduler$_program p, v$database v where a.program_oid = p.obj#(+) and bitand(a.job_status, 515) = 1 and bitand(a.flags, 1048576) = 0 and ((bitand(a.flags, 134217728 + 268435456) = 0) or (bitand(a.job_status, 1024) <> 0)) and bitand(a.flags, 4096) = 0 and (a.next_run_date <= :2 or bitand(a.flags, 16384) <> 0) and a.instance_id is null and (a.class_oid is null or (a.class_oid is not null and a.class_oid in (select b.obj# from sys.scheduler$_class b where b.affinity is null))) and (a.database_role = v.database_role or (a.database_role is null and v.database_role = 'PRIMARY')) union all select l.obj#, l.clas
s_oid, decode(bitand(l.flags, 16384), 0, l.next_run_date, l.last_enabled_time), (2*decode(bitand(l.flags, 8589934592), 0, q.priority, pj.priority) + decode(bitand(l.job_status, 4), 0, 0, decode(l.running_instance, :3, -1, 1))), 1, decode(bitand(l.flags, 8589934592), 0, q.schedule_limit, decode(pj.schedule_limit, NULL, q.schedule_limit, pj.schedule_limit)), decode(bitand(l.flags, 8589934592), 0, q.job_weight, pj.job_weight), decode(l.running_instance, NULL, 0, l.running_instance), decode(bitand(l.flags, 16384), 0, 0, 1), decode(bitand(l.job_status, 8388608), 0, 0, 1) from sys.scheduler$_lightweight_job l, sys.scheduler$_program q, (select sl.obj# obj#, decode(bitand(sl.flags, 8589934592), 0, sl.program_oid, spj.program_oid) program_oid, decode(bitand(sl.flags, 8589934592), 0, NULL, spj.priority) priority, decode(bitand(sl.flags, 8589934592), 0, NULL, spj.job_weight) job_weight, decode(bitand(sl.flags, 8589934592), 0, NULL, spj.schedule_limit) schedule_limit from sys.scheduler$_lightweight_job sl, scheduler$_job spj where sl.program_oid = spj.obj#(+)) pj where pj.obj# = l.obj# and pj.program_oid = q.obj#(+) and (:4 = 0 or l.running_instance = :5) and bitand(l.job_status, 515) = 1 and ((bi
tand(l.flags, 134217728 + 268435456) = 0) or (bitand(l.job_status, 1024) <> 0)) and bitand(l.flags, 4096) = 0 and (l.next_run_date <= :6 or bitand(l.flags, 16384) <> 0) and l.instance_id is null and (l.class_oid is null or (l.class_oid is not null and l.class_oid in (select w.obj# from sys.scheduler$_class w where w.affinity is null))) union all select c.obj#, 0, c.next_start_date, 0, 2, c.duration, 1, 0, 0, 0 from sys.scheduler$_window c where bitand(c.flags, 1) <> 0 and bitand(c.flags, 2) = 0 and bitand(c.flags, 64) = 0 and c.next_start_date <= :7 union all select d.obj#, 0, d.next_start_date + d.duration, 0, 4, numtodsinterval(0, 'minute'), 1, 0, 0, 0 from sys.scheduler$_window d where bitand(d.flags, 1) <> 0 and bitand(d.flags, 2) = 0 and bitand(d.flags, 64) = 0 and d.next_start_date <= :8 union all select f.obj#, 0, e.attr_tstamp, 0, decode(bitand(e.flags, 131072), 0, 2, 3), e.attr_intv, 1, 0, 0, 0 from sys.scheduler$_global_attribute e, sys.obj$ f, sys.obj$ g where e.obj# = g.obj# and g.name = 'CURRENT_OPEN_WINDOW' and e.value = f.name and e.attr_tstamp is not null and e.attr_intv is not null union all select i.obj#, 0, h.attr_tstamp + h.attr_intv, 0, decode(bitand(h.flags, 131072), 0, 4, 5), numtodsinterval(0, 'minute'), 1, 0, 0, 0 from sys.
scheduler$_global_attribute h, sys.obj$ i, sys.obj$ j where h.obj# = j.obj# and j.name = 'CURRENT_OPEN_WINDOW' and h.value = i.name and h.attr_tstamp is not null and h.attr_intv is not null) order by RUNTIME, JOBTYPE, CLSOID, PRI, WT DESC, OBJOID |
| 2m7dvzfc7t6jh |
SELECT OBJOID, CLSOID, DECODE(BITAND(FLAGS, 16384), 0, RUNTIME, LETIME), (2*PRI + DECODE(BITAND(STATUS, 4), 0, 0, decode(INST, :1, -1, 1))), JOBTYPE, SCHLIM, WT, INST, RUNNOW, ENQ_SCHLIM, INST_ID FROM ( select a.obj# OBJOID, a.class_oid CLSOID, a.next_run_date RUNTIME, a.last_enabled_time LETIME, a.flags FLAGS, a.job_status STATUS, 1 JOBTYPE, a.priority PRI, decode(a.schedule_limit, NULL, decode(bitand(a.flags, 4194304), 4194304, b.schedule_limit, NULL), a.schedule_limit) SCHLIM, a.job_weight WT, decode(a.running_instance, NULL, 0, a.running_instance) INST, decode(bitand(a.flags, 16384), 0, 0, 1) RUNNOW, decode(bitand(a.job_status, 8388608), 0, 0, 1) ENQ_SCHLIM, a.instance_id INST_ID from sys.scheduler$_job a, sys.scheduler$_program b, v$database v where a.program_oid = b.obj#(+) and (a.database_role = v.database_role or (a.database_role is null and v.database_role = 'PRIMARY')) union all select c.obj#, c.class_oid, c.next_run_date, c.last_enabled_time, c.flags, c.job_status, 1, decode(bitand(c.flags, 8589934592), 0, d.priority, pj.priority), decode(bitand(c.flags, 8589934592), 0, d.schedule_limit, decode(pj.schedule_limit, NULL, d.schedule_limit, pj.schedule_limit)), decode(bit
and(c.flags, 8589934592), 0, d.job_weight, pj.job_weight), decode(c.running_instance, NULL, 0, c.running_instance), decode(bitand(c.flags, 16384), 0, 0, 1) RUNNOW, decode(bitand(c.job_status, 8388608), 0, 0, 1) ENQ_SCHLIM, c.instance_id INST_ID from sys.scheduler$_lightweight_job c, sys.scheduler$_program d, (select sl.obj# obj#, decode(bitand(sl.flags, 8589934592), 0, sl.program_oid, spj.program_oid) program_oid, decode(bitand(sl.flags, 8589934592), 0, NULL, spj.priority) priority, decode(bitand(sl.flags, 8589934592), 0, NULL, spj.job_weight) job_weight, decode(bitand(sl.flags, 8589934592), 0, NULL, spj.schedule_limit) schedule_limit from sys.scheduler$_lightweight_job sl, scheduler$_job spj where sl.program_oid = spj.obj#(+)) pj where pj.obj# = c.obj# and pj.program_oid = d.obj#(+) and (:2 = 0 or c.running_instance = :3)) WHERE BITAND(STATUS, 515) = 1 AND BITAND(FLAGS, 1048576) = 0 AND ((BITAND(FLAGS, 134217728 + 268435456) = 0) OR (BITAND(STATUS, 1024) <> 0)) AND BITAND(FLAGS, 4096) = 0 AND (RUNTIME <= :4 OR BITAND(FLAGS, 16384) <> 0) and ((CLSOID is not null and INST_ID is null and CLSOID in (select e.obj# from sys.scheduler$_class e where bitand(e.flag
s, :5) <> 0 and e.affinity = :6)) or (INST_ID is not null and INST_ID = :7)) ORDER BY 3, 2, 4, 7 DESC, 1 |
| 2ntzsd2w869g8 | begin
:bid := DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT();
end; |
| 39m4sx9k63ba2 | select /*+ index(idl_ub2$ i_idl_ub21) +*/ piece#, length, piece from idl_ub2$ where obj#=:1 and part=:2 and version=:3 order by piece# |
| 3ktacv9r56b51 | select owner#, name, namespace, remoteowner, linkname, p_timestamp, p_obj#, nvl(property, 0), subname, type#, d_attrs from dependency$ d, obj$ o where d_obj#=:1 and p_obj#=obj#(+) order by order# |
| 459f3z9u4fb3u | select value$ from props$ where name = 'GLOBAL_DB_NAME' |
| 4vs91dcv7u1p6 | insert into sys.aud$( sessionid, entryid, statement, ntimestamp#, userid, userhost, terminal, action#, returncode, obj$creator, obj$name, auth$privileges, auth$grantee, new$owner, new$name, ses$actions, ses$tid, logoff$pread, logoff$lwrite, logoff$dead, comment$text, spare1, spare2, priv$used, clientid, sessioncpu, proxy$sid, user$guid, instance#, process#, xid, scn, auditid, sqlbind, sqltext, obj$edition, dbid) values(:1, :2, :3, SYS_EXTRACT_UTC(SYSTIMESTAMP), :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, :19, :20, :21, :22, :23, :24, :25, :26, :27, :28, :29, :30, :31, :32, :33, :34, :35, :36) |
| 53saa2zkr6wc3 | select intcol#, nvl(pos#, 0), col#, nvl(spare1, 0) from ccol$ where con#=:1 |
| 5ax5xu96u2ztd | insert into WRH$_EVENT_HISTOGRAM (snap_id, dbid, instance_number, event_id, wait_time_milli, wait_count) select :snap_id, :dbid, :instance_number, d.ksledhash, s.kslsesmaxdur, s.kslsesval from x$kslseshist s, x$ksled d where s.kslsesenum = d.indx and s.kslsesval > 0 order by d.ksledhash, s.kslsesmaxdur |
| 5h7w8ykwtb2xt | INSERT INTO SYS.WRI$_ADV_PARAMETERS (TASK_ID, NAME, DATATYPE, VALUE, FLAGS, DESCRIPTION) VALUES (:B6 , :B5 , :B4 , :B3 , :B2 , :B1 ) |
| 6ajkhukk78nsr | begin prvt_hdm.auto_execute( :dbid, :inst_num , :end_snap_id ); end; |
| 6ssrk2dqj7jbx | select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= next_date) and (next_date <= :2)) or ((last_date is null) and (next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)) and (this_date is null) order by next_date, job |
| 6wm3n4d7bnddg |
SELECT source, (case when time_secs < 1 then 1 else time_secs end) as time_secs, operation FROM ( SELECT 1 as source, trunc((sysdate - cast(ll.log_date as date)) * 86400) as time_secs, decode(ll.operation, 'OPEN', 0 , 1 ) as operation, ll.log_id as log_id FROM DBA_SCHEDULER_WINDOW_LOG ll , ( SELECT max(l.log_id) as max_log_id FROM DBA_SCHEDULER_WINDOW_LOG l , DBA_SCHEDULER_WINGROUP_MEMBERS m WHERE l.window_name = m.window_name AND m.window_group_name = 'MAINTENANCE_WINDOW_GROUP' AND l.operation in ('OPEN', 'CLOSE') AND CAST(l.log_date AS DATE) < ( SELECT cast(min(end_interval_time) as date) as btime FROM WRM$_SNAPSHOT bsi WHERE bsi.dbid = :dbid AND bsi.instance_number = :inst AND bsi.snap_id = :bid ) ) max_log WHERE ll.log_id = max_log.max_log_id UNION ALL SELECT 2 as source, trunc((sysdate - cast(l.log_date as date)) * 86400) as time_secs, decode(l.operation, 'OPEN', 0 , 1 ) as operation, l.log_id as log_id FROM DBA_SCHEDULER_WINDOW_LOG l ,
DBA_SCHEDULER_WINGROUP_MEMBERS m WHERE l.window_name = m.window_name AND m.window_group_name = 'MAINTENANCE_WINDOW_GROUP' AND l.operation in ('OPEN', 'CLOSE') AND CAST(l.log_date AS DATE) <= ( SELECT cast(max(end_interval_time) as date) as etime FROM WRM$_SNAPSHOT esi WHERE esi.dbid = :dbid AND esi.instance_number = :inst AND esi.snap_id = :eid ) AND CAST(l.log_date AS DATE) >= ( SELECT cast(min(end_interval_time) as date) as btime FROM WRM$_SNAPSHOT bsi WHERE bsi.dbid = :dbid AND bsi.instance_number = :inst AND bsi.snap_id = :bid ) UNION ALL SELECT 0 as source, trunc((sysdate - et.etime) * 86400) as time_secs, 3 as operation, 0 as log_id FROM ( SELECT cast(max(end_interval_time) as date) as etime FROM WRM$_SNAPSHOT esi WHERE esi.dbid = :dbid AND esi.instance_number = :inst AND esi.snap_id = :eid ) et UNION ALL SELECT 0 as source, trunc((sysdate - bt.btime) * 86400) as time_secs, 2 as operation, 0 as log_id FROM ( SELECT cast(min(end_interval_time) as date) as btime FROM WRM$_SNAPSHOT bsi WHERE bsi.dbid = :dbid AND bsi.instance_number = :inst AND bsi.snap_id = :bid ) bt ) WHERE time_secs >= 0 ORDER B
Y source ASC, time_secs DESC, log_id ASC |
| 7ng34ruy5awxq | select i.obj#, i.ts#, i.file#, i.block#, i.intcols, i.type#, i.flags, i.property, i.pctfree$, i.initrans, i.maxtrans, i.blevel, i.leafcnt, i.distkey, i.lblkkey, i.dblkkey, i.clufac, i.cols, i.analyzetime, i.samplesize, i.dataobj#, nvl(i.degree, 1), nvl(i.instances, 1), i.rowcnt, mod(i.pctthres$, 256), i.indmethod#, i.trunccnt, nvl(c.unicols, 0), nvl(c.deferrable#+c.valid#, 0), nvl(i.spare1, i.intcols), i.spare4, i.spare2, i.spare6, decode(i.pctthres$, null, null, mod(trunc(i.pctthres$/256), 256)), ist.cachedblk, ist.cachehit, ist.logicalread from ind$ i, ind_stats$ ist, (select enabled, min(cols) unicols, min(to_number(bitand(defer, 1))) deferrable#, min(to_number(bitand(defer, 4))) valid# from cdef$ where obj#=:1 and enabled > 1 group by enabled) c where i.obj#=c.enabled(+) and i.obj# = ist.obj#(+) and i.bo#=:1 order by i.obj# |
| 7ujay4u33g337 | SELECT BLDS.BSLN_GUID , BLDS.METRIC_ID , :B4 , BLDS.TIMEGROUP , BLDS.DBID , BLDS.INSTANCE_NAME , TP.THRESHOLD_METHOD , TP.NUM_OCCURRENCES , TP.WARNING_PARAM , TP.CRITICAL_PARAM , TP.FAIL_ACTION , ST.SAMPLE_COUNT , ROUND(ST.MINIMUM, 3) AS MINIMUM , ROUND(ST.MAXIMUM, 3) AS MAXIMUM , ROUND(ST.PCTILE_95, 3) AS PCTILE_95 , ROUND(ST.PCTILE_99, 3) AS PCTILE_99 , ROUND(ST.EST_PCTILE_999, 3) AS PCTILE_999 , ROUND(ST.EST_PCTILE_9999, 3) AS PCTILE_9999 , EST_FIT_QUALITY , EST_SAMPLE_COUNT FROM BSLN_THRESHOLD_PARAMS TP , BSLN_STATISTICS ST , (SELECT B.BSLN_GUID AS BSLN_GUID , B.DBID AS DBID , B.INSTANCE_NAME AS INSTANCE_NAME , B.TIMEGROUPING AS TIMEGROUPING , BSLN.TIMEGROUP(B.TIMEGROUPING, :B4 ) AS TIMEGROUP , D.METRIC_ID AS METRIC_ID FROM BSLN_BASELINES B , BSLN_METRIC_DEFAULTS D WHERE B.STATUS = DECODE(:B2 , NULL, :B3 , B.STATUS) AND B.BSLN_GUID = NVL(:B2 , B.BSLN_GUID) AND B.TIMEGROUPING IS NOT NULL AND D.METRIC_ID = NVL(:B1 , D.METRIC_ID) ) BLDS WHERE BLDS.BSLN_GUID = TP.BSLN_GUID AND BLDS.METRIC_ID = TP.METRIC_ID AND BLDS.BSLN_GUID = ST.BSLN_GUID(+) AND BLDS.METRIC_ID = ST.METRIC_ID(+) AND BLDS.TIMEGROUP = ST.TIMEGROUP(+) |
| 8swypbbr0m372 | select order#, columns, types from access$ where d_obj#=:1 |
| 8zdyb76axj3ym | select tc.type#, tc.intcol#, tc.position#, c.type#, c.length, c.scale, c.precision#, c.charsetid, c.charsetform, decode(bitand(c.property, 8388608), 8388608, c.spare3, 0) from triggercol$ tc, col$ c , trigger$ tr where tc.obj#=:1 and c.obj#=:2 and tc.intcol#=c.intcol# and tr.obj# = tc.obj# and (bitand(tr.property, 32) != 32 or bitand(tc.type#, 20) = 20) union select type#, intcol#, position#, 69, 0, 0, 0, 0, 0, 0 from triggercol$ where obj#=:3 and intcol#=1001 union select tc.type#, tc.intcol#, tc.position#, 121, 0, 0, 0, 0, 0, 0 from triggercol$ tc, trigger$ tr where tr.obj# = tc.obj# and bitand(tr.property, 32) = 32 and tc.obj# = :4 and bitand(tc.type#, 20) != 20 |
| 96g93hntrzjtr | select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, timestamp#, sample_size, minimum, maximum, distcnt, lowval, hival, density, col#, spare1, spare2, avgcln from hist_head$ where obj#=:1 and intcol#=:2 |
| 9ctt1scmwbmbg | begin dbsnmp.bsln_internal.maintain_thresholds; end; |
| 9tgj4g8y4rwy8 | select type#, blocks, extents, minexts, maxexts, extsize, extpct, user#, iniexts, NVL(lists, 65535), NVL(groups, 65535), cachehint, hwmincr, NVL(spare1, 0), NVL(scanhint, 0), NVL(bitmapranges, 0) from seg$ where ts#=:1 and file#=:2 and block#=:3 |
| au7v19t361bn7 | select employee_id, last_name, salary from employees where employee_id = :EMPNO |
| bqnn4c3gjtmgu | insert into wrh$_bg_event_summary (snap_id, dbid, instance_number, event_id, total_waits, total_timeouts, time_waited_micro) select /*+ ordered use_nl(e) */ :snap_id, :dbid, :instance_number, e.event_id, sum(e.total_waits), sum(e.total_timeouts), sum(e.time_waited_micro) from v$session bgsids, v$session_event e where bgsids.type = 'BACKGROUND' and bgsids.sid = e.sid group by e.event_id |
| bsa0wjtftg3uw | select file# from file$ where ts#=:1 |
| c6awqs517jpj0 | select /*+ index(idl_char$ i_idl_char1) +*/ piece#, length, piece from idl_char$ where obj#=:1 and part=:2 and version=:3 order by piece# |
| cvn54b7yz0s8u | select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#, length, piece from idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by piece# |
| cyuknq4uv9gn6 | select employee_id, last_name from employees where employee_id > :EMPNO order by employee_id |
| d9pnqk1hnx7h5 | update employees set salary = :sal where employee_id = :id |
| db78fxqxwxt7r | select /*+ rule */ bucket, endpoint, col#, epvalue from histgrm$ where obj#=:1 and intcol#=:2 and row#=:3 order by bucket |
| f0s0bk5k713yb | insert into wrh$_parameter (snap_id, dbid, instance_number, parameter_hash, value, isdefault, ismodified) select :snap_id, :dbid, :instance_number, i.ksppihash hash, substr(sv.ksppstvl, 1, 512), sv.ksppstdf, decode(bitand(sv.ksppstvf, 7), 1, 'MODIFIED', 'FALSE') from x$ksppi i, x$ksppsv sv where i.indx = sv.indx and (((i.ksppinm not like '#_%' escape '#') or (sv.ksppstdf = 'FALSE') or (bitand(sv.ksppstvf, 5) > 0)) or (i.ksppinm like '#_#_%' escape '#')) order by hash |
| fpvps147hqh7g | SELECT DBID FROM SYS.V_$DATABASE |
| ga9j9xk5cy9s0 | select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#, length, piece from idl_sb4$ where obj#=:1 and part=:2 and version=:3 order by piece# |
| Statistic | Total | per Second | per Trans |
| Batched IO (bound) vector count | 0 | 0.00 | 0.00 |
| Batched IO (full) vector count | 0 | 0.00 | 0.00 |
| Batched IO block miss count | 0 | 0.00 | 0.00 |
| Batched IO buffer defrag count | 0 | 0.00 | 0.00 |
| Batched IO double miss count | 0 | 0.00 | 0.00 |
| Batched IO same unit count | 0 | 0.00 | 0.00 |
| Batched IO single block count | 0 | 0.00 | 0.00 |
| Batched IO vector block count | 0 | 0.00 | 0.00 |
| Batched IO vector read count | 0 | 0.00 | 0.00 |
| CCursor + sql area evicted | 112 | 0.67 | 0.00 |
| CPU used by this session | 21,335 | 127.53 | 0.11 |
| CPU used when call started | 21,299 | 127.31 | 0.11 |
| CR blocks created | 4,613 | 27.57 | 0.02 |
| Cached Commit SCN referenced | 0 | 0.00 | 0.00 |
| Commit SCN cached | 0 | 0.00 | 0.00 |
| DB time | 226,834 | 1,355.87 | 1.18 |
| DBWR checkpoint buffers written | 425 | 2.54 | 0.00 |
| DBWR checkpoints | 4 | 0.02 | 0.00 |
| DBWR thread checkpoint buffers written | 425 | 2.54 | 0.00 |
| DBWR transaction table writes | 80 | 0.48 | 0.00 |
| DBWR undo block writes | 3,527 | 21.08 | 0.02 |
| Effective IO time | 0 | 0.00 | 0.00 |
| HSC Heap Segment Block Changes | 192,283 | 1,149.34 | 1.00 |
| Heap Segment Array Inserts | 76 | 0.45 | 0.00 |
| Heap Segment Array Updates | 9 | 0.05 | 0.00 |
| IMU CR rollbacks | 122 | 0.73 | 0.00 |
| IMU Flushes | 31,606 | 188.92 | 0.16 |
| IMU Redo allocation size | 13,379,636 | 79,974.87 | 69.68 |
| IMU commits | 132,726 | 793.35 | 0.69 |
| IMU contention | 31,591 | 188.83 | 0.16 |
| IMU pool not allocated | 27,684 | 165.48 | 0.14 |
| IMU recursive-transaction flush | 0 | 0.00 | 0.00 |
| IMU undo allocation size | 69,885,868 | 417,732.84 | 363.97 |
| IMU- failed to get a private strand | 24,565 | 146.83 | 0.13 |
| LOB table id lookup cache misses | 0 | 0.00 | 0.00 |
| Number of read IOs issued | 0 | 0.00 | 0.00 |
| PX local messages recv'd | 0 | 0.00 | 0.00 |
| PX local messages sent | 0 | 0.00 | 0.00 |
| RowCR - row contention | 89 | 0.53 | 0.00 |
| RowCR attempts | 1,990 | 11.89 | 0.01 |
| RowCR hits | 1,639 | 9.80 | 0.01 |
| SMON posted for undo segment shrink | 3 | 0.02 | 0.00 |
| SQL*Net roundtrips to/from client | 262,384 | 1,568.36 | 1.37 |
| TBS Extension: files extended | 0 | 0.00 | 0.00 |
| TBS Extension: tasks created | 0 | 0.00 | 0.00 |
| TBS Extension: tasks executed | 0 | 0.00 | 0.00 |
| active txn count during cleanout | 3,030 | 18.11 | 0.02 |
| application wait time | 0 | 0.00 | 0.00 |
| background checkpoints completed | 4 | 0.02 | 0.00 |
| background checkpoints started | 4 | 0.02 | 0.00 |
| background timeouts | 640 | 3.83 | 0.00 |
| branch node splits | 0 | 0.00 | 0.00 |
| buffer is not pinned count | 405,319 | 2,422.74 | 2.11 |
| buffer is pinned count | 128,735 | 769.50 | 0.67 |
| bytes received via SQL*Net from client | 68,379,166 | 408,726.74 | 356.12 |
| bytes sent via SQL*Net to client | 40,236,949 | 240,510.64 | 209.56 |
| calls to get snapshot scn: kcmgss | 390,448 | 2,333.85 | 2.03 |
| calls to kcmgas | 198,221 | 1,184.84 | 1.03 |
| calls to kcmgcs | 44 | 0.26 | 0.00 |
| calls to kcmgrs | 1,197,840 | 7,159.92 | 6.24 |
| change write time | 1,295 | 7.74 | 0.01 |
| cleanout - number of ktugct calls | 11,003 | 65.77 | 0.06 |
| cleanouts and rollbacks - consistent read gets | 1,438 | 8.60 | 0.01 |
| cleanouts only - consistent read gets | 913 | 5.46 | 0.00 |
| cluster key scan block gets | 138 | 0.82 | 0.00 |
| cluster key scans | 135 | 0.81 | 0.00 |
| commit batch/immediate performed | 0 | 0.00 | 0.00 |
| commit batch/immediate requested | 0 | 0.00 | 0.00 |
| commit cleanout failures: block lost | 0 | 0.00 | 0.00 |
| commit cleanout failures: buffer being written | 0 | 0.00 | 0.00 |
| commit cleanout failures: callback failure | 57 | 0.34 | 0.00 |
| commit cleanout failures: cannot pin | 54,586 | 326.28 | 0.28 |
| commit cleanouts | 192,305 | 1,149.48 | 1.00 |
| commit cleanouts successfully completed | 137,662 | 822.86 | 0.72 |
| commit immediate performed | 0 | 0.00 | 0.00 |
| commit immediate requested | 0 | 0.00 | 0.00 |
| commit txn count during cleanout | 57,503 | 343.72 | 0.30 |
| concurrency wait time | 40,571 | 242.51 | 0.21 |
| consistent changes | 17,716 | 105.89 | 0.09 |
| consistent gets | 410,942 | 2,456.35 | 2.14 |
| consistent gets - examination | 270,856 | 1,619.00 | 1.41 |
| consistent gets direct | 0 | 0.00 | 0.00 |
| consistent gets from cache | 410,942 | 2,456.35 | 2.14 |
| consistent gets from cache (fastpath) | 115,038 | 687.62 | 0.60 |
| cursor authentications | 65 | 0.39 | 0.00 |
| data blocks consistent reads - undo records applied | 16,863 | 100.80 | 0.09 |
| db block changes | 771,804 | 4,613.35 | 4.02 |
| db block gets | 743,087 | 4,441.70 | 3.87 |
| db block gets direct | 7 | 0.04 | 0.00 |
| db block gets from cache | 743,080 | 4,441.66 | 3.87 |
| db block gets from cache (fastpath) | 596 | 3.56 | 0.00 |
| deferred (CURRENT) block cleanout applications | 16,320 | 97.55 | 0.08 |
| dirty buffers inspected | 2,783 | 16.63 | 0.01 |
| enqueue conversions | 47 | 0.28 | 0.00 |
| enqueue releases | 620,183 | 3,707.06 | 3.23 |
| enqueue requests | 620,183 | 3,707.06 | 3.23 |
| enqueue timeouts | 0 | 0.00 | 0.00 |
| enqueue waits | 7 | 0.04 | 0.00 |
| exchange deadlocks | 0 | 0.00 | 0.00 |
| execute count | 197,864 | 1,182.70 | 1.03 |
| free buffer inspected | 4,590 | 27.44 | 0.02 |
| free buffer requested | 9,442 | 56.44 | 0.05 |
| heap block compress | 7,355 | 43.96 | 0.04 |
| hot buffers moved to head of LRU | 702 | 4.20 | 0.00 |
| immediate (CR) block cleanout applications | 2,351 | 14.05 | 0.01 |
| immediate (CURRENT) block cleanout applications | 40 | 0.24 | 0.00 |
| index crx upgrade (found) | 25 | 0.15 | 0.00 |
| index crx upgrade (positioned) | 0 | 0.00 | 0.00 |
| index fast full scans (full) | 0 | 0.00 | 0.00 |
| index fetch by key | 195,094 | 1,166.15 | 1.02 |
| index scans kdiixs1 | 3,886 | 23.23 | 0.02 |
| leaf node 90-10 splits | 14 | 0.08 | 0.00 |
| leaf node splits | 16 | 0.10 | 0.00 |
| lob reads | 0 | 0.00 | 0.00 |
| lob writes | 3 | 0.02 | 0.00 |
| lob writes unaligned | 3 | 0.02 | 0.00 |
| logons cumulative | 21 | 0.13 | 0.00 |
| messages received | 43,924 | 262.55 | 0.23 |
| messages sent | 43,924 | 262.55 | 0.23 |
| no buffer to keep pinned count | 0 | 0.00 | 0.00 |
| no work - consistent read gets | 130,486 | 779.96 | 0.68 |
| opened cursors cumulative | 197,771 | 1,182.15 | 1.03 |
| parse count (failures) | 0 | 0.00 | 0.00 |
| parse count (hard) | 42 | 0.25 | 0.00 |
| parse count (total) | 197,437 | 1,180.15 | 1.03 |
| parse time cpu | 467 | 2.79 | 0.00 |
| parse time elapsed | 888 | 5.31 | 0.00 |
| physical read IO requests | 521 | 3.11 | 0.00 |
| physical read bytes | 4,382,720 | 26,197.09 | 22.83 |
| physical read total IO requests | 86,186 | 515.16 | 0.45 |
| physical read total bytes | 1,407,766,528 | 8,414,724.19 | 7,331.74 |
| physical read total multi block requests | 0 | 0.00 | 0.00 |
| physical reads | 535 | 3.20 | 0.00 |
| physical reads cache | 523 | 3.13 | 0.00 |
| physical reads cache prefetch | 14 | 0.08 | 0.00 |
| physical reads direct | 12 | 0.07 | 0.00 |
| physical reads direct (lob) | 0 | 0.00 | 0.00 |
| physical reads direct temporary tablespace | 0 | 0.00 | 0.00 |
| physical reads prefetch warmup | 0 | 0.00 | 0.00 |
| physical write IO requests | 2,818 | 16.84 | 0.01 |
| physical write bytes | 32,514,048 | 194,348.10 | 169.34 |
| physical write total IO requests | 23,545 | 140.74 | 0.12 |
| physical write total bytes | 138,180,096 | 825,951.87 | 719.65 |
| physical write total multi block requests | 51 | 0.30 | 0.00 |
| physical writes | 3,969 | 23.72 | 0.02 |
| physical writes direct | 19 | 0.11 | 0.00 |
| physical writes direct (lob) | 0 | 0.00 | 0.00 |
| physical writes direct temporary tablespace | 0 | 0.00 | 0.00 |
| physical writes from cache | 3,950 | 23.61 | 0.02 |
| physical writes non checkpoint | 3,704 | 22.14 | 0.02 |
| pinned buffers inspected | 0 | 0.00 | 0.00 |
| prefetch warmup blocks aged out before use | 0 | 0.00 | 0.00 |
| prefetched blocks aged out before use | 0 | 0.00 | 0.00 |
| process last non-idle time | 0 | 0.00 | 0.00 |
| recovery blocks read | 0 | 0.00 | 0.00 |
| recursive calls | 204,598 | 1,222.96 | 1.07 |
| recursive cpu usage | 4,305 | 25.73 | 0.02 |
| redo blocks checksummed by FG (exclusive) | 3,925 | 23.46 | 0.02 |
| redo blocks read for recovery | 0 | 0.00 | 0.00 |
| redo blocks read total | 0 | 0.00 | 0.00 |
| redo blocks written | 200,163 | 1,196.45 | 1.04 |
| redo blocks written for direct writes | 52 | 0.31 | 0.00 |
| redo buffer allocation retries | 20 | 0.12 | 0.00 |
| redo entries | 254,722 | 1,522.56 | 1.33 |
| redo entries for lost write detection | 478 | 2.86 | 0.00 |
| redo log space requests | 52,951 | 316.51 | 0.28 |
| redo log space wait time | 2,002 | 11.97 | 0.01 |
| redo ordering marks | 1,163 | 6.95 | 0.01 |
| redo size | 93,845,456 | 560,947.87 | 488.75 |
| redo size for lost write detection | 25,248 | 150.92 | 0.13 |
| redo subscn max counts | 1,442 | 8.62 | 0.01 |
| redo synch time | 159,672 | 954.42 | 0.83 |
| redo synch writes | 192,041 | 1,147.90 | 1.00 |
| redo wastage | 5,293,016 | 31,638.25 | 27.57 |
| redo write time | 5,954 | 35.59 | 0.03 |
| redo writer latching time | 98 | 0.59 | 0.00 |
| redo writes | 19,239 | 115.00 | 0.10 |
| rollback changes - undo records applied | 0 | 0.00 | 0.00 |
| rollbacks only - consistent read gets | 2,715 | 16.23 | 0.01 |
| rows fetched via callback | 2,875 | 17.18 | 0.01 |
| session connect time | 0 | 0.00 | 0.00 |
| session cursor cache hits | 197,306 | 1,179.37 | 1.03 |
| session logical reads | 1,154,029 | 6,898.04 | 6.01 |
| shared hash latch upgrades - no wait | 4,827 | 28.85 | 0.03 |
| shared hash latch upgrades - wait | 28 | 0.17 | 0.00 |
| sorts (disk) | 0 | 0.00 | 0.00 |
| sorts (memory) | 272 | 1.63 | 0.00 |
| sorts (rows) | 7,181 | 42.92 | 0.04 |
| sql area evicted | 112 | 0.67 | 0.00 |
| sql area purged | 0 | 0.00 | 0.00 |
| summed dirty queue length | 3,430 | 20.50 | 0.02 |
| switch current to new buffer | 306 | 1.83 | 0.00 |
| table fetch by rowid | 135,412 | 809.41 | 0.71 |
| table fetch continued row | 13 | 0.08 | 0.00 |
| table scan blocks gotten | 230 | 1.37 | 0.00 |
| table scan rows gotten | 17,458 | 104.35 | 0.09 |
| table scans (long tables) | 0 | 0.00 | 0.00 |
| table scans (short tables) | 90 | 0.54 | 0.00 |
| total number of times SMON posted | 4 | 0.02 | 0.00 |
| transaction rollbacks | 0 | 0.00 | 0.00 |
| undo change vector size | 30,243,520 | 180,776.34 | 157.51 |
| user I/O wait time | 9 | 0.05 | 0.00 |
| user calls | 459,228 | 2,744.97 | 2.39 |
| user commits | 192,010 | 1,147.71 | 1.00 |
| workarea executions - onepass | 0 | 0.00 | 0.00 |
| workarea executions - optimal | 152 | 0.91 | 0.00 |
| write clones created in background | 2 | 0.01 | 0.00 |
| write clones created in foreground | 53 | 0.32 | 0.00 |