SQL Id | SQL Text |
18naypzfmabd6 | INSERT INTO MGMT_SYSTEM_PERFORMANCE_LOG (JOB_NAME, TIME, DURATION, MODULE, ACTION, IS_TOTAL, NAME, VALUE, CLIENT_DATA, HOST_URL) VALUES (:B9 , SYSDATE, :B8 , SUBSTR(:B7 , 1, 512), SUBSTR(:B6 , 1, 32), :B5 , SUBSTR(:B4 , 1, 128), SUBSTR(:B3 , 1, 128), SUBSTR(:B2 , 1, 128), SUBSTR(:B1 , 1, 256)) |
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) |
24y4rz0cpj98y | CALL mgmt_admin_data.eval_agent_metrics(:target_guid, :metric_guid, :coll_name, :metric_values) |
350f5yrnnmshs | lock table sys.mon_mods$ in exclusive mode nowait |
3am9cfkvx7gq1 | CALL MGMT_ADMIN_DATA.EVALUATE_MGMT_METRICS(:target_guid, :metric_guid, :metric_values) |
3c1kubcdjnppq | update sys.col_usage$ set equality_preds = equality_preds + decode(bitand(:flag, 1), 0, 0, 1), equijoin_preds = equijoin_preds + decode(bitand(:flag, 2), 0, 0, 1), nonequijoin_preds = nonequijoin_preds + decode(bitand(:flag, 4), 0, 0, 1), range_preds = range_preds + decode(bitand(:flag, 8), 0, 0, 1), like_preds = like_preds + decode(bitand(:flag, 16), 0, 0, 1), null_preds = null_preds + decode(bitand(:flag, 32), 0, 0, 1), timestamp = :time where obj# = :objn and intcol# = :coln |
3w4qs0tbpmxr6 | select con#, obj#, rcon#, enabled, nvl(defer, 0), spare2, spare3 from cdef$ where robj#=:1 |
4jrfrtx4u6zcx | SELECT TASK_TGT.TARGET_GUID TARGET_GUID, LEAD(TASK_TGT.TARGET_GUID, 1) OVER (ORDER BY TASK_TGT.TARGET_GUID, POLICY.POLICY_GUID, CFG.EVAL_ORDER) NEXT_TARGET_GUID, POLICY.POLICY_GUID POLICY_GUID, LEAD(POLICY.POLICY_GUID, 1) OVER (ORDER BY TASK_TGT.TARGET_GUID, POLICY.POLICY_GUID, CFG.EVAL_ORDER) NEXT_POLICY_GUID, POLICY.POLICY_NAME, POLICY.POLICY_TYPE, DECODE(POLICY.POLICY_TYPE, :B3 , NVL(CFG.MESSAGE, POLICY.MESSAGE), :B9 , CFG.MESSAGE, NULL) MESSAGE, DECODE(POLICY.POLICY_TYPE, :B3 , NVL(CFG.MESSAGE_NLSID, POLICY.MESSAGE_NLSID), :B9 , CFG.MESSAGE_NLSID, NULL) MESSAGE_NLSID, DECODE(POLICY.POLICY_TYPE, :B3 , NVL(CFG.CLEAR_MESSAGE, POLICY.CLEAR_MESSAGE), :B9 , CFG.CLEAR_MESSAGE, NULL) CLEAR_MESSAGE, DECODE(POLICY.POLICY_TYPE, :B3 , NVL(CFG.CLEAR_MESSAGE_NLSID, POLICY.CLEAR_MESSAGE_NLSID), :B9 , CFG.CLEAR_MESSAGE_NLSID, NULL) CLEAR_MESSAGE_NLSID, POLICY.REPO_TIMING_ENABLED, TASK_TGT.COLL_NAME , POLICY.VIOLATION_LEVEL, DECODE(POLICY.POLICY_TYPE, :B3 , :B10 , 0) VIOLATION_TYPE, POLICY.CONDITION_TYPE, POLICY.CONDITION, DECODE(POLICY.POLICY_TYPE, :B3 , NVL(CFG.CONDITION_OPERATOR, POLICY.CONDITION_OPERATOR), :B9 , CFG.CONDITION_OPERATOR, 0) CONDITION_OPERATOR, CFG.KEY_VALUE, CFG.KEY_OPERATOR, CFG.IS_EXCEPTION, CFG.NUM_OCCURRENCES, NULL EVALUATION_DATE, DECODE(CFG.IS_EXCEPTION, :B1 , MGMT_POLICY_PARAM_VAL_ARRAY(), CAST(MULTISET( SELECT MGMT_POLICY_PARAM_VAL.NEW(PARAM_NAME, CRIT_THRESHOLD, WARN_THRESHOLD, INFO_THRESHOLD) FROM MGMT_POLICY_ASSOC_CFG_PARAMS PARAM WHERE PARAM.OBJECT_GUID = CFG.OBJECT_GUID AND PARAM.POLICY_GUID = CFG.POLICY_GUID AND PARAM.COLL_NAME = CFG.COLL_NAME AND PARAM.KEY_VALUE = CFG.KEY_VALUE AND PARAM.KEY_OPERATOR = CFG.KEY_OPERATOR ) AS MGMT_POLICY_PARAM_VAL_ARRAY)) PARAMS, DECODE(POLICY.CONDITION_TYPE, :B8 , CAST(MULTISET(SELECT MGMT_NAMEVALUE_OBJ.NEW(BIND_COLUMN_NAME, BIND_COLUMN_TYPE) FROM MGMT_POLICY_BIND_VARS BINDS WHERE BINDS.POLICY_GUID = POLICY.POLICY_GUID ) AS MGMT_NAMEVALUE_ARRAY), MGMT_NAMEVALUE_ARRAY()) BINDS, DECODE(:B7 , 0, MGMT_MEDIUM_STRING_ARRAY(), 1, MGMT_MEDIUM_STRING_ARRAY(CFG.KEY_VALUE), CAST( (SELECT MGMT_MEDIUM_STRING_ARRAY( KEY_PART1_VALUE, KEY_PART2_VALUE, KEY_PART3_VALUE, KEY_PART4_VALUE, KEY_PART5_VALUE) FROM MGMT_METRICS_COMPOSITE_KEYS COMP_KEYS WHERE COMP_KEYS.COMPOSITE_KEY = CFG.KEY_VALUE AND COMP_KEYS.TARGET_GUID = CFG.OBJECT_GUID ) AS MGMT_MEDIUM_STRING_ARRAY) ) KEY_VALUES FROM MGMT_POLICIES POLICY, MGMT_POLICY_ASSOC ASSOC, MGMT_POLICY_ASSOC_CFG CFG, MGMT_COLLECTION_METRIC_TASKS TASK_TGT WHERE TASK_TGT.TASK_ID = :B6 AND POLICY.METRIC_GUID = :B5 AND ASSOC.OBJECT_GUID = TASK_TGT.TARGET_GUID AND POLICY.POLICY_TYPE != :B4 AND ( POLICY.POLICY_TYPE = :B3 OR ASSOC.COLL_NAME = TASK_TGT.COLL_NAME ) AND ASSOC.POLICY_GUID = POLICY.POLICY_GUID AND ASSOC.OBJECT_TYPE = :B2 AND ASSOC.IS_ENABLED = :B1 AND CFG.OBJECT_GUID = ASSOC.OBJECT_GUID AND CFG.COLL_NAME = ASSOC.COLL_NAME AND CFG.POLICY_GUID = ASSOC.POLICY_GUID ORDER BY TASK_TGT.TARGET_GUID, POLICY.POLICY_GUID, CFG.EVAL_ORDER , CFG.KEY_VALUE DESC |
4r8b8x2am8d9z | SELECT SUM(k) FROM sbtest WHERE id BETWEEN :1 AND :2 |
53saa2zkr6wc3 | select intcol#, nvl(pos#, 0), col#, nvl(spare1, 0) from ccol$ where con#=:1 |
62rcbfrcyrg3k | SELECT c FROM sbtest WHERE id BETWEEN :1 AND :2 ORDER BY c |
66gs90fyynks7 | insert into wrh$_instance_recovery (snap_id, dbid, instance_number, recovery_estimated_ios, actual_redo_blks, target_redo_blks, log_file_size_redo_blks, log_chkpt_timeout_redo_blks, log_chkpt_interval_redo_blks, fast_start_io_target_redo_blks, target_mttr, estimated_mttr, ckpt_block_writes, optimal_logfile_size, estd_cluster_available_time, writes_mttr, writes_logfile_size, writes_log_checkpoint_settings, writes_other_settings, writes_autotune, writes_full_thread_ckpt) select :snap_id, :dbid, :instance_number, recovery_estimated_ios, actual_redo_blks, target_redo_blks, log_file_size_redo_blks, log_chkpt_timeout_redo_blks, log_chkpt_interval_redo_blks, fast_start_io_target_redo_blks, target_mttr, estimated_mttr, ckpt_block_writes, optimal_logfile_size, estd_cluster_available_time, writes_mttr, writes_logfile_size, writes_log_checkpoint_settings, writes_other_settings, writes_autotune, writes_full_thread_ckpt from v$instance_recovery |
6gvch1xu9ca3g | DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN := FALSE; BEGIN EMD_MAINTENANCE.EXECUTE_EM_DBMS_JOB_PROCS(); :mydate := next_date; IF broken THEN :b := 1; ELSE :b := 0; END IF; END; |
6z9uusgaz5z9q | DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN := FALSE; BEGIN wwv_flow_cache.purge_sessions(p_purge_sess_older_then_hrs => 24); :mydate := next_date; IF broken THEN :b := 1; ELSE :b := 0; END IF; END; |
7g732rx16j8jc | insert into WRH$_SERVICE_STAT (snap_id, dbid, instance_number, service_name_hash, stat_id, value) select :snap_id, :dbid, :instance_number, stat.service_name_hash, stat.stat_id, stat.value from v$active_services asvc, v$service_stats stat where asvc.name_hash = stat.service_name_hash |
84k66tf2s7y1c | insert into wrh$_bg_event_summary (snap_id, dbid, instance_number, event_id, total_waits, total_timeouts, time_waited_micro) select :snap_id, :dbid, :instance_number, event_id, total_waits - total_waits_fg, total_timeouts - total_timeouts_fg, time_waited_micro - time_waited_micro_fg from v$system_event where (total_waits - total_waits_fg) > 0 order by event_id |
8rpn8jtjnuu73 | DELETE FROM WWV_FLOW_FILE_OBJECTS$ WHERE SECURITY_GROUP_ID = 0 |
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 |
9dhn1b8d88dpf |
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, v$instance i 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')) and ( i.logins = 'ALLOWED' or bitand(a.flags, 17179869184) <> 0 ) union all select l.obj#, l.class_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 , v$instance i 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 ((bitand(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))) and ( i.logins = 'ALLOWED' or bitand(l.flags, 17179869184) <> 0 ) union all select c.obj#, 0, c.next_start_date, 0, 2, c.duration, 1, 0, 0, 0 from sys.scheduler$_window c , v$instance i where bitand(c.flags, 1) <> 0 and bitand(c.flags, 2) = 0 and bitand(c.flags, 64) = 0 and c.next_start_date <= :7 and i.logins = 'ALLOWED' 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 , v$instance i where bitand(d.flags, 1) <> 0 and bitand(d.flags, 2) = 0 and bitand(d.flags, 64) = 0 and d.next_start_date <= :8 and i.logins = 'ALLOWED' 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, v$instance i where e.obj# = g.obj# and g.owner# = 0 and g.name
= 'CURRENT_OPEN_WINDOW' and e.value = f.name and f.type# = 69 and e.attr_tstamp is not null and e.attr_intv is not null and i.logins = 'ALLOWED' 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, v$instance ik where h.obj# = j.obj# and j.owner# = 0 and j.name = 'CURRENT_OPEN_WINDOW' and h.value = i.name and i.type# = 69 and h.attr_tstamp is not null and h.attr_intv is not null and ik.logins = 'ALLOWED') order by RUNTIME, JOBTYPE, CLSOID, PRI, WT DESC, OBJOID |
9s0phgvjjnz0k | SELECT ID FROM WWV_FLOW_SESSIONS$ WHERE LAST_CHANGED <= (SYSDATE - (:B2 /24)) AND (SECURITY_GROUP_ID = :B1 OR :B1 IS NULL OR SECURITY_GROUP_ID = 0) |
a9u0s3g93f47z | select decode(u.type#, 2, u.ext_username, u.name), o.name, t.update$, t.insert$, t.delete$, t.enabled, decode(bitand(t.property, 8192), 8192, 1, 0), decode(bitand(t.property, 65536), 65536, 1, 0), decode(bitand(t.property, 131072), 131072, 1, 0), (select o.name from obj$ o where o.obj# = u.spare2 and o.type# =57) from sys.obj$ o, sys.user$ u, sys.trigger$ t, sys.obj$ bo where t.baseobject=bo.obj# and bo.name = :1 and bo.spare3 = :2 and bo.namespace = 1 and t.obj#=o.obj# and o.owner#=u.user# and o.type# = 12 and bitand(property, 16)=0 and bitand(property, 8)=0 order by o.obj# |
aykvshm7zsabd | select size_for_estimate, size_factor * 100 f, estd_physical_read_time, estd_physical_reads from v$db_cache_advice where id = '3' |
b2gnxm5z6r51n | lock table sys.col_usage$ in exclusive mode nowait |
bcuaanyavwv59 | BEGIN DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT; END; |
bn4b3vjw2mj3u | 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 , v$instance i where a.program_oid = b.obj#(+) and (a.database_role = v.database_role or (a.database_role is null and v.database_role = 'PRIMARY')) and ( i.logins = 'ALLOWED' or bitand(a.flags, 17179869184) <> 0 ) 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(bitand(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, v$instance i where pj.obj# = c.obj# and pj.program_oid = d.obj#(+) and ( i.logins = 'ALLOWED' or bitand(c.flags, 17179869184) <> 0 ) 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.flags, :5) <> 0 and lower(e.affinity) = lower(:6))) or (INST_ID is not null and INST_ID = :7)) ORDER BY 3, 2, 4, 7 DESC, 1 |
bunssq950snhf | insert into wrh$_sga_target_advice (snap_id, dbid, instance_number, SGA_SIZE, SGA_SIZE_FACTOR, ESTD_DB_TIME, ESTD_PHYSICAL_READS) select :snap_id, :dbid, :instance_number, SGA_SIZE, SGA_SIZE_FACTOR, ESTD_DB_TIME, ESTD_PHYSICAL_READS from v$sga_target_advice |
cm5vu20fhtnq1 | select /*+ connect_by_filtering */ privilege#, level from sysauth$ connect by grantee#=prior privilege# and privilege#>0 start with grantee#=:1 and privilege#>0 |
cpq5z20uqma8a | SELECT c FROM sbtest WHERE id = :1 |
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# |
db78fxqxwxt7r | select /*+ rule */ bucket, endpoint, col#, epvalue from histgrm$ where obj#=:1 and intcol#=:2 and row#=:3 order by bucket |
dub3tnumhnt2d | SELECT c FROM sbtest WHERE id BETWEEN :1 AND :2 |
fcb5u7n0r523m | SELECT NVL(AVG((VALUE*1000.0)/DURATION), 0), NVL((((SUM(DURATION)/(60*1000))/60)*100), 0) FROM MGMT_SYSTEM_PERFORMANCE_LOG A, MGMT_PERFORMANCE_NAMES B WHERE :B1 = B.DISPLAY_NAME AND A.JOB_NAME = B.JOB_NAME AND A.TIME > (SYSDATE-(1/24)) AND A.IS_TOTAL='Y' AND A.DURATION > 0 |
g00cj285jmgsw | update sys.mon_mods$ set inserts = inserts + :ins, updates = updates + :upd, deletes = deletes + :del, flags = (decode(bitand(flags, :flag), :flag, flags, flags + :flag)), drop_segments = drop_segments + :dropseg, timestamp = :time where obj# = :objn |
gjm43un5cy843 | SELECT SUM(USED), SUM(TOTAL) FROM (SELECT /*+ ORDERED */ SUM(D.BYTES)/(1024*1024)-MAX(S.BYTES) USED, SUM(D.BYTES)/(1024*1024) TOTAL FROM (SELECT TABLESPACE_NAME, SUM(BYTES)/(1024*1024) BYTES FROM (SELECT /*+ ORDERED USE_NL(obj tab) */ DISTINCT TS.NAME FROM SYS.OBJ$ OBJ, SYS.TAB$ TAB, SYS.TS$ TS WHERE OBJ.OWNER# = USERENV('SCHEMAID') AND OBJ.OBJ# = TAB.OBJ# AND TAB.TS# = TS.TS# AND BITAND(TAB.PROPERTY, 1) = 0 AND BITAND(TAB.PROPERTY, 4194400) = 0) TN, DBA_FREE_SPACE SP WHERE SP.TABLESPACE_NAME = TN.NAME GROUP BY SP.TABLESPACE_NAME) S, DBA_DATA_FILES D WHERE D.TABLESPACE_NAME = S.TABLESPACE_NAME GROUP BY D.TABLESPACE_NAME) |
gsk525600smxq | SELECT DISTINCT c FROM sbtest WHERE id BETWEEN :1 AND :2 ORDER BY c |
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 |
Block Cleanout Optim referenced | 1 | 0.00 | 0.00 |
CCursor + sql area evicted | 0 | 0.00 | 0.00 |
CPU used by this session | 56,417 | 93.86 | 0.09 |
CPU used when call started | 56,025 | 93.21 | 0.09 |
CR blocks created | 16 | 0.03 | 0.00 |
Commit SCN cached | 3 | 0.00 | 0.00 |
DB time | 128,777 | 214.24 | 0.21 |
DBWR checkpoint buffers written | 666 | 1.11 | 0.00 |
DBWR transaction table writes | 20 | 0.03 | 0.00 |
DBWR undo block writes | 154 | 0.26 | 0.00 |
Effective IO time | 0 | 0.00 | 0.00 |
HSC Heap Segment Block Changes | 1,653 | 2.75 | 0.00 |
Heap Segment Array Inserts | 79 | 0.13 | 0.00 |
Heap Segment Array Updates | 39 | 0.06 | 0.00 |
IMU CR rollbacks | 20 | 0.03 | 0.00 |
IMU Flushes | 25 | 0.04 | 0.00 |
IMU Redo allocation size | 48,672 | 80.97 | 0.08 |
IMU commits | 71 | 0.12 | 0.00 |
IMU undo allocation size | 379,432 | 631.24 | 0.63 |
Number of read IOs issued | 0 | 0.00 | 0.00 |
Requests to/from client | 10,829,381 | 18,016.33 | 18.00 |
RowCR attempts | 17 | 0.03 | 0.00 |
RowCR hits | 17 | 0.03 | 0.00 |
SQL*Net roundtrips to/from client | 10,829,397 | 18,016.36 | 18.00 |
active txn count during cleanout | 37 | 0.06 | 0.00 |
background timeouts | 2,916 | 4.85 | 0.00 |
buffer is not pinned count | 7,156,478 | 11,905.89 | 11.89 |
buffer is pinned count | 10,167 | 16.91 | 0.02 |
bytes received via SQL*Net from client | 617,779,459 | 1,027,770.45 | 1,026.71 |
bytes sent via SQL*Net to client | 1,843,086,022 | 3,066,255.00 | 3,063.10 |
calls to get snapshot scn: kcmgss | 4,216,222 | 7,014.33 | 7.01 |
calls to kcmgas | 750 | 1.25 | 0.00 |
calls to kcmgcs | 727 | 1.21 | 0.00 |
cell physical IO interconnect bytes | 25,026,560 | 41,635.50 | 41.59 |
change write time | 17 | 0.03 | 0.00 |
cleanout - number of ktugct calls | 38 | 0.06 | 0.00 |
cleanouts only - consistent read gets | 0 | 0.00 | 0.00 |
cluster key scan block gets | 2,485 | 4.13 | 0.00 |
cluster key scans | 2,114 | 3.52 | 0.00 |
commit batch/immediate performed | 12 | 0.02 | 0.00 |
commit batch/immediate requested | 12 | 0.02 | 0.00 |
commit cleanout failures: callback failure | 4 | 0.01 | 0.00 |
commit cleanouts | 1,218 | 2.03 | 0.00 |
commit cleanouts successfully completed | 1,214 | 2.02 | 0.00 |
commit immediate performed | 12 | 0.02 | 0.00 |
commit immediate requested | 12 | 0.02 | 0.00 |
commit txn count during cleanout | 19 | 0.03 | 0.00 |
concurrency wait time | 2,741 | 4.56 | 0.00 |
consistent changes | 44 | 0.07 | 0.00 |
consistent gets | 18,594,893 | 30,935.44 | 30.90 |
consistent gets - examination | 11,440,920 | 19,033.72 | 19.01 |
consistent gets direct | 0 | 0.00 | 0.00 |
consistent gets from cache | 18,594,893 | 30,935.44 | 30.90 |
consistent gets from cache (fastpath) | 7,153,404 | 11,900.78 | 11.89 |
cursor authentications | 102 | 0.17 | 0.00 |
data blocks consistent reads - undo records applied | 33 | 0.05 | 0.00 |
db block changes | 6,590 | 10.96 | 0.01 |
db block gets | 5,712 | 9.50 | 0.01 |
db block gets from cache | 5,712 | 9.50 | 0.01 |
db block gets from cache (fastpath) | 1,346 | 2.24 | 0.00 |
deferred (CURRENT) block cleanout applications | 694 | 1.15 | 0.00 |
enqueue conversions | 123 | 0.20 | 0.00 |
enqueue releases | 6,500 | 10.81 | 0.01 |
enqueue requests | 6,500 | 10.81 | 0.01 |
enqueue timeouts | 0 | 0.00 | 0.00 |
execute count | 4,215,885 | 7,013.77 | 7.01 |
file io wait time | 719,725 | 1,197.37 | 1.20 |
free buffer inspected | 0 | 0.00 | 0.00 |
free buffer requested | 441 | 0.73 | 0.00 |
heap block compress | 10 | 0.02 | 0.00 |
immediate (CR) block cleanout applications | 0 | 0.00 | 0.00 |
immediate (CURRENT) block cleanout applications | 159 | 0.26 | 0.00 |
in call idle wait time | 1,297,247 | 2,158.17 | 2.16 |
index crx upgrade (positioned) | 0 | 0.00 | 0.00 |
index fast full scans (full) | 1 | 0.00 | 0.00 |
index fetch by key | 3,016,005 | 5,017.58 | 5.01 |
index scans kdiixs1 | 1,207,272 | 2,008.48 | 2.01 |
leaf node 90-10 splits | 14 | 0.02 | 0.00 |
leaf node splits | 18 | 0.03 | 0.00 |
lob reads | 0 | 0.00 | 0.00 |
lob writes | 3 | 0.00 | 0.00 |
lob writes unaligned | 3 | 0.00 | 0.00 |
logical read bytes from cache | 152,376,156,160 | 253,501,000.95 | 253,239.79 |
logons cumulative | 53 | 0.09 | 0.00 |
max cf enq hold time | 0 | 0.00 | 0.00 |
messages received | 724 | 1.20 | 0.00 |
messages sent | 724 | 1.20 | 0.00 |
no buffer to keep pinned count | 9 | 0.01 | 0.00 |
no work - consistent read gets | 7,152,902 | 11,899.94 | 11.89 |
non-idle wait count | 10,843,029 | 18,039.03 | 18.02 |
non-idle wait time | 4,054 | 6.74 | 0.01 |
opened cursors cumulative | 4,215,368 | 7,012.91 | 7.01 |
parse count (describe) | 0 | 0.00 | 0.00 |
parse count (hard) | 31 | 0.05 | 0.00 |
parse count (total) | 4,215,376 | 7,012.92 | 7.01 |
parse time cpu | 6,121 | 10.18 | 0.01 |
parse time elapsed | 7,311 | 12.16 | 0.01 |
physical read IO requests | 260 | 0.43 | 0.00 |
physical read bytes | 2,170,880 | 3,611.59 | 3.61 |
physical read total IO requests | 811 | 1.35 | 0.00 |
physical read total bytes | 11,165,696 | 18,575.84 | 18.56 |
physical read total multi block requests | 0 | 0.00 | 0.00 |
physical reads | 265 | 0.44 | 0.00 |
physical reads cache | 265 | 0.44 | 0.00 |
physical reads cache prefetch | 5 | 0.01 | 0.00 |
physical reads direct | 0 | 0.00 | 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 | 406 | 0.68 | 0.00 |
physical write bytes | 5,455,872 | 9,076.68 | 9.07 |
physical write total IO requests | 1,113 | 1.85 | 0.00 |
physical write total bytes | 13,860,864 | 23,059.66 | 23.04 |
physical write total multi block requests | 8 | 0.01 | 0.00 |
physical writes | 666 | 1.11 | 0.00 |
physical writes direct | 0 | 0.00 | 0.00 |
physical writes direct temporary tablespace | 0 | 0.00 | 0.00 |
physical writes from cache | 666 | 1.11 | 0.00 |
physical writes non checkpoint | 384 | 0.64 | 0.00 |
pinned buffers inspected | 0 | 0.00 | 0.00 |
pinned cursors current | 0 | 0.00 | 0.00 |
recursive calls | 624,588 | 1,039.10 | 1.04 |
recursive cpu usage | 411 | 0.68 | 0.00 |
redo blocks checksummed by FG (exclusive) | 1,720 | 2.86 | 0.00 |
redo blocks written | 3,616 | 6.02 | 0.01 |
redo entries | 3,299 | 5.49 | 0.01 |
redo ordering marks | 89 | 0.15 | 0.00 |
redo size | 1,609,732 | 2,678.03 | 2.68 |
redo subscn max counts | 196 | 0.33 | 0.00 |
redo synch long waits | 2 | 0.00 | 0.00 |
redo synch time | 1 | 0.00 | 0.00 |
redo synch time (usec) | 28,410 | 47.26 | 0.05 |
redo synch writes | 14 | 0.02 | 0.00 |
redo wastage | 82,004 | 136.43 | 0.14 |
redo write time | 38 | 0.06 | 0.00 |
redo writes | 307 | 0.51 | 0.00 |
rollback changes - undo records applied | 14 | 0.02 | 0.00 |
rollbacks only - consistent read gets | 16 | 0.03 | 0.00 |
rows fetched via callback | 1,148 | 1.91 | 0.00 |
session logical reads | 18,600,605 | 30,944.95 | 30.91 |
shared hash latch upgrades - no wait | 515 | 0.86 | 0.00 |
sorts (memory) | 603,733 | 1,004.40 | 1.00 |
sorts (rows) | 60,171,445 | 100,104.39 | 100.00 |
sql area evicted | 0 | 0.00 | 0.00 |
sql area purged | 0 | 0.00 | 0.00 |
switch current to new buffer | 37 | 0.06 | 0.00 |
table fetch by rowid | 5,637 | 9.38 | 0.01 |
table fetch continued row | 1 | 0.00 | 0.00 |
table scan blocks gotten | 1,603 | 2.67 | 0.00 |
table scan rows gotten | 108,407 | 180.35 | 0.18 |
table scans (short tables) | 317 | 0.53 | 0.00 |
total cf enq hold time | 0 | 0.00 | 0.00 |
total number of cf enq holders | 0 | 0.00 | 0.00 |
total number of times SMON posted | 3 | 0.00 | 0.00 |
transaction rollbacks | 12 | 0.02 | 0.00 |
undo change vector size | 554,376 | 922.29 | 0.92 |
user I/O wait time | 36 | 0.06 | 0.00 |
user calls | 15,040,932 | 25,022.89 | 25.00 |
user commits | 76 | 0.13 | 0.00 |
user rollbacks | 601,631 | 1,000.91 | 1.00 |
workarea executions - optimal | 602,433 | 1,002.24 | 1.00 |