Script to Collect Log File Sync Diagnostic Information (lfsdiag.sql)

Script

set echo off
set feedback off
column timecol new_value timestamp
column spool_extension new_value suffix
select to_char(sysdate,'Mondd_hh24mi') timecol,
'.out' spool_extension from sys.dual;
column output new_value dbname
select value || '_' output
from v$parameter where name = 'db_name';
spool lfsdiag_&&dbname&&timestamp&&suffix
set trim on
set trims on
set lines 130
set pages 100
set verify off
alter session set optimizer_features_enable = '10.2.0.4';

PROMPT LFSDIAG DATA FOR &&dbname&&timestamp
PROMPT Note: All timings are in milliseconds (1000 milliseconds = 1 second)

PROMPT
PROMPT IMPORTANT PARAMETERS RELATING TO LOG FILE SYNC WAITS:
column name format a40 wra
column value format a40 wra
select inst_id, name, value from gv$parameter
where ((value is not null and name like '%log_archive%') or
name like '%commit%' or name like '%event=%' or name like '%lgwr%')
and name not in (select name from gv$parameter where (name like '%log_archive_dest_state%'
and value = 'enable') or name = 'log_archive_format')
order by 1,2,3;

PROMPT
PROMPT HISTOGRAM DATA FOR LFS AND OTHER RELATED WAITS:
PROMPT
PROMPT APPROACH: Look at the wait distribution for log file sync waits
PROMPT by looking at "wait_time_milli". Look at the high wait times then
PROMPT see if you can correlate those with other related wait events.
column event format a40 wra
select inst_id, event, wait_time_milli, wait_count
from gv$event_histogram
where event in ('log file sync','gcs log flush sync',
'log file parallel write','wait for scn ack',
'log file switch completion','gc cr grant 2-way',
'gc buffer busy','gc current block 2-way') or
event like '%LGWR%' or event like '%LNS%'
order by 2 desc,1,3;

PROMPT
PROMPT ORDERED BY WAIT_TIME_MILLI
select inst_id, event, wait_time_milli, wait_count
from gv$event_histogram
where event in ('log file sync','gcs log flush sync',
'log file parallel write','wait for scn ack',
'log file switch completion','gc cr grant 2-way',
'gc buffer busy','gc current block 2-way')
or event like '%LGWR%' or event like '%LNS%'
order by 3,1,2 desc;

PROMPT
PROMPT REDO WRITE STATS
PROMPT
PROMPT "redo write time" in centiseconds (100 per second)
PROMPT 11.1: "redo write broadcast ack time" in centiseconds (100 per second)
PROMPT 11.2: "redo write broadcast ack time" in microseconds (1000 per millisecond)
column value format 99999999999999999999
column milliseconds format 99999999999999.999
select v.version, ss.inst_id, ss.name, ss.value,
decode(substr(version,1,4),
'11.1',decode (name,'redo write time',value*10,
'redo write broadcast ack time',value*10),
'11.2',decode (name,'redo write time',value*10,
'redo write broadcast ack time',value/1000),
decode (name,'redo write time',value*10)) milliseconds
from gv$sysstat ss, v$instance v
where name like 'redo write%' and value > 0
order by 1,2,3;

PROMPT
PROMPT ASH THRESHOLD...
PROMPT
PROMPT This will be the threshold in milliseconds for average log file sync
PROMPT times. This will be used for the next queries to look for the worst
PROMPT 'log file sync' minutes. Any minutes that have an average log file
PROMPT sync time greater than the threshold will be analyzed further.
column threshold_in_ms new_value threshold format 999999999.999
select min(threshold_in_ms) threshold_in_ms
from (select inst_id, to_char(sample_time,'Mondd_hh24mi') minute,
avg(time_waited)/1000 threshold_in_ms
from gv$active_session_history
where event = 'log file sync'
group by inst_id,to_char(sample_time,'Mondd_hh24mi')
order by 3 desc)
where rownum <= 5;

PROMPT
PROMPT ASH WORST MINUTES FOR LOG FILE SYNC WAITS:
PROMPT
PROMPT APPROACH: These are the minutes where the avg log file sync time
PROMPT was the highest (in milliseconds).
column event format a30 tru
column program format a35 tru
column total_wait_time format 999999999999.999
column avg_time_waited format 999999999999.999
select to_char(sample_time,'Mondd_hh24mi') minute, inst_id, event,
sum(time_waited)/1000 TOTAL_WAIT_TIME , count(*) WAITS,
avg(time_waited)/1000 AVG_TIME_WAITED
from gv$active_session_history
where event = 'log file sync'
group by to_char(sample_time,'Mondd_hh24mi'), inst_id, event
having avg(time_waited)/1000 > &&threshold
order by 1,2;

PROMPT
PROMPT ASH LFS BACKGROUND PROCESS WAITS DURING WORST MINUTES:
PROMPT
PROMPT APPROACH: What is LGWR doing when 'log file sync' waits
PROMPT are happening? LMS info may be relevent for broadcast
PROMPT on commit and LNS data may be relevant for dataguard.
PROMPT If more details are needed see the ASH DETAILS FOR WORST
PROMPT MINUTES section at the bottom of the report.
column inst format 999
column event format a30 tru
column program format a35 wra
select to_char(sample_time,'Mondd_hh24mi') minute, inst_id inst, program, event,
sum(time_waited)/1000 TOTAL_WAIT_TIME , count(*) WAITS,
avg(time_waited)/1000 AVG_TIME_WAITED
from gv$active_session_history
where to_char(sample_time,'Mondd_hh24mi') in (select to_char(sample_time,'Mondd_hh24mi')
from gv$active_session_history
where event = 'log file sync'
group by to_char(sample_time,'Mondd_hh24mi'), inst_id
having avg(time_waited)/1000 > &&threshold)
and (program like '%LGWR%' or program like '%LMS%' or
program like '%LNS%' or event = 'log file sync')
group by to_char(sample_time,'Mondd_hh24mi'), inst_id, program, event
order by 1,2,3,5 desc, 4;

PROMPT
PROMPT AWR WORST AVG LOG FILE SYNC SNAPS:
PROMPT
PROMPT APPROACH: These are the AWR snaps where the average 'log file sync'
PROMPT times were the highest.
column begin format a12 tru
column end format a12 tru
column name format a13 tru
select dhs.snap_id, dhs.instance_number inst, to_char(dhs.begin_interval_time,'Mondd_hh24mi') BEGIN,
to_char(dhs.end_interval_time,'Mondd_hh24mi') END,
en.name, se.time_waited_micro/1000 total_wait_time, se.total_waits,
se.time_waited_micro/1000 / se.total_waits avg_time_waited
from dba_hist_snapshot dhs, wrh$_system_event se, v$event_name en
where (dhs.snap_id = se.snap_id and dhs.instance_number = se.instance_number)
and se.event_id = en.event_id and en.name = 'log file sync' and
dhs.snap_id in (select snap_id from (
select se.snap_id, se.time_waited_micro/1000 / se.total_waits avg_time_waited
from wrh$_system_event se, v$event_name en
where se.event_id = en.event_id and en.name = 'log file sync'
order by avg_time_waited desc)
where rownum < 4)
order by 1,2;

PROMPT
PROMPT AWR REDO WRITE STATS
PROMPT
PROMPT "redo write time" in centiseconds (100 per second)
PROMPT 11.1: "redo write broadcast ack time" in centiseconds (100 per second)
PROMPT 11.2: "redo write broadcast ack time" in microseconds (1000 per millisecond)
column stat_name format a30 tru
select v.version, ss.snap_id, ss.instance_number inst, sn.stat_name, ss.value,
decode(substr(version,1,4),
'11.1',decode (stat_name,'redo write time',value*10,
'redo write broadcast ack time',value*10),
'11.2',decode (stat_name,'redo write time',value*10,
'redo write broadcast ack time',value/1000),
decode (stat_name,'redo write time',value*10)) milliseconds
from wrh$_sysstat ss, wrh$_stat_name sn, v$instance v
where ss.stat_id = sn.stat_id
and sn.stat_name like 'redo write%' and ss.value > 0
and ss.snap_id in (select snap_id from (
select se.snap_id, se.time_waited_micro/1000 / se.total_waits avg_time_waited
from wrh$_system_event se, v$event_name en
where se.event_id = en.event_id and en.name = 'log file sync'
order by avg_time_waited desc)
where rownum < 4)
order by 1,2,3;

PROMPT
PROMPT AWR LFS AND OTHER RELATED WAITS FOR WORST LFS AWRs:
PROMPT
PROMPT APPROACH: These are the AWR snaps where the average 'log file sync'
PROMPT times were the highest. Look at related waits at those times.
column name format a40 tru
select se.snap_id, se.instance_number inst, en.name,
se.total_waits, se.time_waited_micro/1000 total_wait_time,
se.time_waited_micro/1000 / se.total_waits avg_time_waited
from wrh$_system_event se, v$event_name en
where se.event_id = en.event_id and (en.name in
('log file sync','gcs log flush sync',
'log file parallel write','wait for scn ack',
'log file switch completion','gc cr grant 2-way',
'gc buffer busy','gc current block 2-way')
or en.name like '%LGWR%' or en.name like '%LNS%')
and se.snap_id in (select snap_id from (
select se.snap_id, se.time_waited_micro/1000 / se.total_waits avg_time_waited
from wrh$_system_event se, v$event_name en
where se.event_id = en.event_id and en.name = 'log file sync'
order by avg_time_waited desc)
where rownum < 4)
order by 1, 6 desc;

PROMPT
PROMPT AWR HISTOGRAM DATA FOR LFS AND OTHER RELATED WAITS FOR WORST LFS AWRs:
PROMPT Note: This query won't work on 10.2 - ORA-942
PROMPT
PROMPT APPROACH: Look at the wait distribution for log file sync waits
PROMPT by looking at "wait_time_milli". Look at the high wait times then
PROMPT see if you can correlate those with other related wait events.
select eh.snap_id, eh.instance_number inst, en.name, eh.wait_time_milli, eh.wait_count
from wrh$_event_histogram eh, v$event_name en
where eh.event_id = en.event_id and
(en.name in ('log file sync','gcs log flush sync',
'log file parallel write','wait for scn ack',
'log file switch completion','gc cr grant 2-way',
'gc buffer busy','gc current block 2-way')
or en.name like '%LGWR%' or en.name like '%LNS%')
and snap_id in (select snap_id from (
select se.snap_id, se.time_waited_micro/1000 / se.total_waits avg_time_waited
from wrh$_system_event se, v$event_name en
where se.event_id = en.event_id and en.name = 'log file sync'
order by avg_time_waited desc)
where rownum < 4)
order by 1,3 desc,2,4;

PROMPT
PROMPT ORDERED BY WAIT_TIME_MILLI
PROMPT Note: This query won't work on 10.2 - ORA-942
select eh.snap_id, eh.instance_number inst, en.name, eh.wait_time_milli, eh.wait_count
from wrh$_event_histogram eh, v$event_name en
where eh.event_id = en.event_id and
(en.name in ('log file sync','gcs log flush sync',
'log file parallel write','wait for scn ack',
'log file switch completion','gc cr grant 2-way',
'gc buffer busy','gc current block 2-way')
or en.name like '%LGWR%' or en.name like '%LNS%')
and snap_id in (select snap_id from (
select se.snap_id, se.time_waited_micro/1000 / se.total_waits avg_time_waited
from wrh$_system_event se, v$event_name en
where se.event_id = en.event_id and en.name = 'log file sync'
order by avg_time_waited desc)
where rownum < 4)
order by 1,4,2,3 desc;

PROMPT
PROMPT ASH DETAILS FOR WORST MINUTES:
PROMPT
PROMPT APPROACH: If you cannot determine the problem from the data
PROMPT above, you may need to look at the details of what each session
PROMPT is doing during each 'bad' snap. Most likely you will want to
PROMPT note the times of the high log file sync waits, look at what
PROMPT LGWR is doing at those times, and go from there...
column program format a45 wra
column sample_time format a25 tru
column event format a30 tru
column time_waited format 999999.999
column p1 format a40 tru
column p2 format a40 tru
column p3 format a40 tru
select sample_time, inst_id inst, session_id, program, event, time_waited/1000 TIME_WAITED,
p1text||': '||p1 p1,p2text||': '||p2 p2,p3text||': '||p3 p3
from gv$active_session_history
where to_char(sample_time,'Mondd_hh24mi') in (select
to_char(sample_time,'Mondd_hh24mi')
from gv$active_session_history
where event = 'log file sync'
group by to_char(sample_time,'Mondd_hh24mi'), inst_id
having avg(time_waited)/1000 > &&threshold)
order by 1,2,3,4,5;

select to_char(sysdate,'Mondd hh24:mi:ss') TIME from dual;

spool off

PROMPT
PROMPT OUTPUT FILE IS: lfsdiag_&&dbname&&timestamp&&suffix
PROMPT

Script:List Buffer Cache Details

以下脚本用于列出Oracle Buffer Cache的详细信息:

REM List Buffer Cache Details

SET LINESIZE 200 PAGESIZE 1400

SELECT /*+ ORDERED USE_HASH(o u) MERGE */
 DECODE(obj#,
        NULL,
        to_char(bh.obj),
        u.name || '.' || o.name) name,
 COUNT(*) total,
 SUM(DECODE((DECODE(lru_flag, 8, 1, 0) + DECODE(SIGN(tch - 2), 1, 1, 0)),
            2,
            1,
            1,
            1,
            0)) hot,
 SUM(DECODE(DECODE(SIGN(lru_flag - 8), 1, 0, 0, 0, 1) +
            DECODE(tch, 2, 1, 1, 1, 0, 1, 0),
            2,
            1,
            1,
            0,
            0)) cold,
 SUM(DECODE(BITAND(flag, POWER(2, 19)), 0, 0, 1)) fts,
 SUM(tch) total_tch,
 ROUND(AVG(tch), 2) avg_tch,
 MAX(tch) max_tch,
 MIN(tch) min_tch
  FROM x$bh bh, sys.obj$ o, sys.user$ u
 WHERE 
    bh.obj <> 4294967295
   AND bh.state in (1, 2, 3)
   AND bh.obj = o.dataobj#(+)
   AND bh.inst_id = USERENV('INSTANCE')
 AND o.owner# = u.user#(+)
--   AND o.owner# > 5
   AND u.name NOT like 'AURORA$%'
 GROUP BY DECODE(obj#,
                 NULL,
                 to_char(bh.obj),
                 u.name || '.' || o.name)
 ORDER BY  total desc 
 /
 
 
 COLUMN object_name FORMAT A30

SELECT t.name AS tablespace_name,
       o.object_name,
       SUM(DECODE(bh.status, 'free', 1, 0)) AS free,
       SUM(DECODE(bh.status, 'xcur', 1, 0)) AS xcur,
       SUM(DECODE(bh.status, 'scur', 1, 0)) AS scur,
       SUM(DECODE(bh.status, 'cr', 1, 0)) AS cr,
       SUM(DECODE(bh.status, 'read', 1, 0)) AS read,
       SUM(DECODE(bh.status, 'mrec', 1, 0)) AS mrec,
       SUM(DECODE(bh.status, 'irec', 1, 0)) AS irec
FROM   v$bh bh
       JOIN dba_objects o ON o.data_object_id = bh.objd
       JOIN v$tablespace t ON t.ts# = bh.ts#
GROUP BY t.name, o.object_name
order by xcur desc 
/


 
set pages 999
set lines 92
 
ttitle 'Contents of Data Buffers'
 
drop view buffer_map;
 
create view buffer_map as
select
   o.owner          owner,
   o.object_name    object_name,
   o.subobject_name subobject_name,
   o.object_type    object_type,
   count(distinct file# || block#)         num_blocks
from
   dba_objects  o,
   v$bh         bh
where
   o.data_object_id  = bh.objd
-- and  o.owner not in ('SYS','SYSTEM')
and
   bh.status != 'free'
group by
   o.owner,
   o.object_name,
   o.subobject_name,
   o.object_type
order by
   count(distinct file# || block#) desc
;
 
column c0 heading "Owner"                                    format a12
column c1 heading "Object|Name"                              format a30
column c2 heading "Object|Type"                              format a8
column c3 heading "Number of|Blocks in|Buffer|Cache"         format 99,999,999
column c4 heading "Percentage|of object|blocks in|Buffer"    format 999
column c5 heading "Buffer|Pool"                              format a7
column c6 heading "Block|Size"                               format 99,999
 
select
   buffer_map.owner                                          c0,
   object_name                                       c1,
   case when object_type = 'TABLE PARTITION' then 'TAB PART'
        when object_type = 'INDEX PARTITION' then 'IDX PART'
        else object_type end c2,
   sum(num_blocks)                                     c3,
   (sum(num_blocks)/greatest(sum(blocks), .001))*100 c4,
   buffer_pool                                       c5,
   sum(bytes)/sum(blocks)                            c6
from
   buffer_map,
   dba_segments s
where
   s.segment_name = buffer_map.object_name
and
   s.owner = buffer_map.owner
and
   s.segment_type = buffer_map.object_type
and
   nvl(s.partition_name,'-') = nvl(buffer_map.subobject_name,'-')
group by
   buffer_map.owner,
   object_name,
   object_type,
   buffer_pool
having
   sum(num_blocks) > 10
order by
   sum(num_blocks) desc
;

REM dbbuffer

select decode(pd.bp_id,1,'KEEP',2,'RECYCLE',3,'DEFAULT',
         4,'2K SUBCACHE',5,'4K SUBCACHE',6,'8K SUBCACHE',
         7,'16K SUBCACHE',8,'32KSUBCACHE','UNKNOWN') subcache,
         bh.object_name,bh.blocks
from x$kcbwds ds,x$kcbwbpd pd,(select /*+ use_hash(x) */ set_ds,
         o.name object_name,count(*) BLOCKS
         from obj$ o, x$bh x where o.dataobj# = x.obj
         and x.state !=0 and o.owner# !=0
         group by set_ds,o.name) bh 
where ds.set_id >= pd.bp_lo_sid
and ds.set_id <= pd.bp_hi_sid
and pd.bp_size != 0
and ds.addr=bh.set_ds;

column segment_name format a35
     select /*+ RULE */
       e.owner ||'.'|| e.segment_name  segment_name,
       e.extent_id  extent#,
       x.dbablk - e.block_id + 1  block#,
       x.tch,
       l.child#
     from
       sys.v$latch_children  l,
       sys.x$bh  x,
       sys.dba_extents  e
     where
       x.hladdr  = '&ADDR' and
       e.file_id = x.file# and
       x.hladdr = l.addr and
       x.dbablk between e.block_id and e.block_id + e.blocks -1
     order by x.tch desc 
/



with bh_lc as
       (select /*+ ORDERED */
          lc.addr, lc.child#, lc.gets, lc.misses, lc.immediate_gets,
          lc.immediate_misses, lc.spin_gets, lc.sleeps,
          bh.hladdr, bh.tch tch, bh.file#, bh.dbablk, bh.class,
          bh.state, bh.obj
        from
          x$kslld ld,
          v$session_wait sw,
          v$latch_children lc,
          x$bh bh
        where lc.addr =sw.p1raw
          and sw.p2= ld.indx
          and ld.kslldnam='cache buffers chains'
          and lower(sw.event) like '%latch%'
          and sw.state='WAITING'
          and bh.hladdr=lc.addr
       )
     select bh_lc.hladdr, bh_lc.tch, o.owner, o.object_name, o.object_type,
            bh_lc.child#, bh_lc.gets,
            bh_lc.misses, bh_lc.immediate_gets,
            bh_lc.immediate_misses, spin_gets, sleeps
     from
       bh_lc,
       dba_objects o
     where bh_lc.obj = o.object_id(+)
   union
     select bh_lc.hladdr, bh_lc.tch, o.owner, o.object_name, o.object_type,
            bh_lc.child#, bh_lc.gets, bh_lc.misses, bh_lc.immediate_gets,
            bh_lc.immediate_misses, spin_gets, sleeps
     from
       bh_lc,
       dba_objects o
     where bh_lc.obj = o.data_object_id(+)
  order by 1,2 desc
/

col class form A10 
select decode(greatest(class,10),10,decode(class,1,'Data',2 
            ,'Sort',4,'Header',to_char(class)),'Rollback') "Class", 
       sum(decode(bitand(flag,1),1,0,1)) "Not Dirty", 
 sum(decode(bitand(flag,1),1,1,0)) "Dirty", 
       sum(dirty_queue) "On Dirty",count(*) "Total" 
from x$bh 
group by decode(greatest(class,10),10,decode(class,1,'Data',2 
         ,'Sort',4,'Header',to_char(class)),'Rollback') 
/ 

Script:List NLS Parameters and Timezone

以下脚本用以列出Database-instance-session的NLS参数和所在时区:

REM List NLS Parameters

set linesize 90 pagesize 1400
col Parameter for a40
col Value     for a40

SELECT Parameter, Value FROM NLS_DATABASE_PARAMETERS
/

SELECT Parameter, Value FROM NLS_INSTANCE_PARAMETERS
/

SELECT Parameter, Value FROM NLS_SESSION_PARAMETERS  ORDER BY 1
/

select dbtimezone from dual
/

select sessiontimezone from dual
/

Script:List SORT ACTIVITY监控临时空间的使用

以下脚本可以用于列出数据库内的排序活跃性能信息并监控临时空间的使用:

REM SORT ACTIVITY

set linesize 150 pagesize 1400;

    SELECT d.tablespace_name "Name", 
                TO_CHAR(NVL(a.bytes / 1024 / 1024, 0),'99,999,990.900') "Size (M)", 
                TO_CHAR(NVL(t.hwm, 0)/1024/1024,'99999999.999')  "HWM (M)",
                TO_CHAR(NVL(t.hwm / a.bytes * 100, 0), '990.00') "HWM % " ,
                TO_CHAR(NVL(t.bytes/1024/1024, 0),'99999999.999') "Using (M)", 
	        TO_CHAR(NVL(t.bytes / a.bytes * 100, 0), '990.00') "Using %" 
           FROM sys.dba_tablespaces d, 
                (select tablespace_name, sum(bytes) bytes from dba_temp_files group by tablespace_name) a,
                (select tablespace_name, sum(bytes_cached) hwm, sum(bytes_used) bytes from v$temp_extent_pool group by tablespace_name) t
          WHERE d.tablespace_name = a.tablespace_name(+) 
            AND d.tablespace_name = t.tablespace_name(+) 
            AND d.extent_management like 'LOCAL' 
            AND d.contents like 'TEMPORARY'
/

alter session set nls_date_format='dd-mon-yy';
set lines 160 pages 1000 echo off feedback off
col stat_name for a25
col date_time for a40
col BEGIN_INTERVAL_TIME for a20
col END_INTERVAL_TIME for a20
prompt "Enter the date in DD-Mon-YY Format and Stats you want to trend like 'redo size','physical reads','physical writes','session logical reads' etc."

WITH sysstat AS
 (select sn.begin_interval_time begin_interval_time,
         sn.end_interval_time end_interval_time,
         ss.stat_name stat_name,
         ss.value e_value,
         lag(ss.value, 1) over(order by ss.snap_id) b_value
    from dba_hist_sysstat ss, dba_hist_snapshot sn
   where trunc(sn.begin_interval_time) >= sysdate-7
     and ss.snap_id = sn.snap_id
     and ss.dbid = sn.dbid
     and ss.instance_number = sn.instance_number
     and ss.dbid = (select dbid from v$database)
     and ss.instance_number = (select instance_number from v$instance)
     and ss.stat_name = 'sorts (disk)')
select to_char(BEGIN_INTERVAL_TIME, 'mm/dd/yy_hh24_mi') || to_char(END_INTERVAL_TIME, '_hh24_mi') date_time,
stat_name,
round((e_value - nvl(b_value,0)) / (extract(day from(end_interval_time - begin_interval_time)) * 24 * 60 * 60
+ extract(hour from(end_interval_time - begin_interval_time)) * 60 * 60
+ extract(minute from(end_interval_time - begin_interval_time)) * 60 + extract(second from(end_interval_time - begin_interval_time))),0) per_sec
from sysstat where(e_value - nvl(b_value,0)) > 0 and nvl(b_value,0) > 0
/

select temp_space/1024/1024,SQL_ID  from DBA_HIST_SQL_PLAN where temp_space>0 order by 1 asc;

--For 8.1.7 to 9.2:

SELECT a.username, a.sid, a.serial#, a.osuser, b.tablespace, b.blocks, c.sql_text
FROM v$session a, v$sort_usage b, v$sqlarea c
WHERE a.saddr = b.session_addr
AND c.address= a.sql_address
AND c.hash_value = a.sql_hash_value
ORDER BY b.tablespace, b.blocks;

--For 10.1 and above:

SELECT a.username, a.sid, a.serial#, a.osuser, b.tablespace, b.blocks, c.sql_text
FROM v$session a, v$tempseg_usage b, v$sqlarea c
WHERE a.saddr = b.session_addr
AND c.address= a.sql_address
AND c.hash_value = a.sql_hash_value
ORDER BY b.tablespace, b.blocks;

SELECT S.sid || ',' || S.serial# sid_serial, S.username, S.osuser, P.spid, S.module,
P.program, SUM (T.blocks) * TBS.block_size / 1024 / 1024 mb_used, T.tablespace,
COUNT(*) statements
FROM v$sort_usage T, v$session S, dba_tablespaces TBS, v$process P
WHERE T.session_addr = S.saddr
AND S.paddr = P.addr
AND T.tablespace = TBS.tablespace_name
GROUP BY S.sid, S.serial#, S.username, S.osuser, P.spid, S.module,
P.program, TBS.block_size, T.tablespace
ORDER BY sid_serial;

SELECT *
  FROM (SELECT matching_criteria,
               TO_CHAR(force_matching_signature) force_matching_signature,
               sql_id,
               child_number,
               sql_text,
               executions,
               elapsed_time / 1000,
               operation_type,
               policy,
               estimated_optimal_size,
               last_memory_used,
               last_execution,
               active_time / 1000,
               num_sort_operations,
               tot_active_time / 1000,
               tot_optimal_executions,
               tot_onepass_executions,
               tot_multipasses_executions,
               all_tot_active_time / 1000,
               max_tempseg_size,
               parsing_schema_name
          FROM (SELECT force_matching_signature,
                       sql_id,
                       child_number,
                       sql_text,
                       matching_criteria,
                       SUM(executions) OVER(PARTITION BY matching_criteria) executions,
                       SUM(elapsed_time) OVER(PARTITION BY matching_criteria) elapsed_time,
                       operation_type,
                       policy,
                       estimated_optimal_size,
                       last_memory_used,
                       last_execution,
                       active_time,
                       num_sort_operations,
                       SUM(tot_active_time) OVER(PARTITION BY matching_criteria) tot_active_time,
                       SUM(tot_optimal_executions) OVER(PARTITION BY matching_criteria) tot_optimal_executions,
                       SUM(tot_onepass_executions) OVER(PARTITION BY matching_criteria) tot_onepass_executions,
                       SUM(tot_multipasses_executions) OVER(PARTITION BY matching_criteria) tot_multipasses_executions,
                       MAX(max_tempseg_size) OVER(PARTITION BY matching_criteria) max_tempseg_size,
                       SUM(tot_active_time) OVER() all_tot_active_time,
                       ROW_NUMBER() OVER(PARTITION BY matching_criteria ORDER BY tot_multipasses_executions DESC, tot_onepass_executions DESC, last_memory_used DESC) rnum,
                       parsing_schema_name
                  FROM (SELECT s.sql_id,
                               s.child_number,
                               s.sql_text,
                               s.executions,
                               s.elapsed_time,
                               s.force_matching_signature,
                               CASE
                                 WHEN s.force_matching_signature > 0 THEN
                                  TO_CHAR(s.force_matching_signature)
                                 ELSE
                                  s.sql_id
                               END matching_criteria,
                               ROW_NUMBER() OVER(PARTITION BY s.sql_id, s.child_number ORDER BY sw.multipasses_executions DESC, sw.onepass_executions DESC, sw.last_memory_used DESC) rnum,
                               sw.operation_type,
                               sw.policy,
                               sw.estimated_optimal_size,
                               sw.last_memory_used,
                               sw.last_execution,
                               MAX(sw.max_tempseg_size) OVER(PARTITION BY s.sql_id, s.child_number) max_tempseg_size,
                               sw.active_time * sw.total_executions active_time,
                               SUM(sw.active_time * sw.total_executions) OVER(PARTITION BY s.sql_id, s.child_number) tot_active_time,
                               COUNT(*) OVER(PARTITION BY s.sql_id, s.child_number) num_sort_operations,
                               SUM(sw.optimal_executions) OVER(PARTITION BY s.sql_id, s.child_number) tot_optimal_executions,
                               SUM(sw.onepass_executions) OVER(PARTITION BY s.sql_id, s.child_number) tot_onepass_executions,
                               SUM(sw.multipasses_executions) OVER(PARTITION BY s.sql_id, s.child_number) tot_multipasses_executions,
                               NVL(u.username, s.parsing_schema_name) parsing_schema_name
                          FROM v$sql s, v$sql_workarea sw, all_users u
                         WHERE sw.sql_id = s.sql_id
                           AND sw.child_number = s.child_number
                           AND u.user_id(+) = s.parsing_user_id)
                 WHERE rnum = 1)
         WHERE rnum = 1
         ORDER BY tot_multipasses_executions DESC,
                  tot_onepass_executions     DESC,
                  last_memory_used           DESC)
 WHERE ROWNUM <= 200
 /

SELECT *
  FROM (SELECT s.sid,
               s.machine,
               s.program,
               s.module,
               s.osuser,
               NVL(DECODE(TYPE,
                          'BACKGROUND',
                          'SYS (' || b.ksbdpnam || ')',
                          s.username),
                   SUBSTR(p.program, INSTR(p.program, '('))) username,
               NVL(SUM(CASE
                         WHEN sn.name = 'sorts (memory)' THEN
                          ss.VALUE
                         ELSE
                          0
                       END),
                   0) sorts_memory,
               NVL(SUM(CASE
                         WHEN sn.name = 'sorts (disk)' THEN
                          ss.VALUE
                         ELSE
                          0
                       END),
                   0) sorts_disk,
               NVL(SUM(CASE
                         WHEN sn.name = 'sorts (rows)' THEN
                          ss.VALUE
                         ELSE
                          0
                       END),
                   0) sorts_rows,
               NVL(SUM(CASE
                         WHEN sn.name = 'physical reads direct temporary tablespace' THEN
                          ss.VALUE
                         ELSE
                          0
                       END),
                   0) reads_direct_temp,
               NVL(SUM(CASE
                         WHEN sn.name = 'physical writes direct temporary tablespace' THEN
                          ss.VALUE
                         ELSE
                          0
                       END),
                   0) writes_direct_temp,
               NVL(SUM(CASE
                         WHEN sn.name = 'workarea executions - optimal' THEN
                          ss.VALUE
                         ELSE
                          0
                       END),
                   0) workarea_exec_optimal,
               NVL(SUM(CASE
                         WHEN sn.name = 'workarea executions - onepass' THEN
                          ss.VALUE
                         ELSE
                          0
                       END),
                   0) workarea_exec_onepass,
               NVL(SUM(CASE
                         WHEN sn.name = 'workarea executions - multipass' THEN
                          ss.VALUE
                         ELSE
                          0
                       END),
                   0) workarea_exec_multipass
          FROM v$session  s,
               v$sesstat  ss,
               v$statname sn,
               v$process  p,
               x$ksbdp    b
         WHERE s.paddr = p.addr
           AND b.inst_id(+) = USERENV('INSTANCE')
           AND p.addr = b.ksbdppro(+)
           AND s.TYPE = 'USER'
           AND s.sid = ss.sid
           AND ss.statistic# = sn.statistic#
           AND sn.name IN ('sorts (memory)',
                           'sorts (disk)',
                           'sorts (rows)',
                           'physical reads direct temporary tablespace',
                           'physical writes direct temporary tablespace',
                           'workarea executions - optimal',
                           'workarea executions - onepass',
                           'workarea executions - multipass')
         GROUP BY s.sid,
                  s.machine,
                  s.program,
                  s.module,
                  s.osuser,
                  NVL(DECODE(TYPE,
                             'BACKGROUND',
                             'SYS (' || b.ksbdpnam || ')',
                             s.username),
                      SUBSTR(p.program, INSTR(p.program, '(')))
         ORDER BY workarea_exec_multipass DESC,
                  workarea_exec_onepass DESC,
                  reads_direct_temp + writes_direct_temp DESC,
                  sorts_rows DESC)
 WHERE ROWNUM <= 200
/

SELECT rawtohex(workarea_address) workarea_address,
       sql_id,
       sql_text,
       operation_type,
       policy,
       sid,
       active_time,
       work_area_size,
       expected_size,
       actual_mem_used,
       max_mem_used,
       number_passes,
       tempseg_size,
       tablespace,
       complete_ratio,
       elapsed,
       time_remaining,
       opname,
       machine,
       program,
       module,
       osuser,
       username
  FROM (SELECT swa.workarea_address,
               swa.sql_id,
               sa.sql_text,
               swa.operation_type,
               swa.policy,
               swa.sid,
               swa.active_time / 1000 active_time,
               swa.work_area_size,
               swa.expected_size,
               swa.actual_mem_used,
               swa.max_mem_used,
               swa.number_passes,
               swa.tempseg_size,
               swa.tablespace,
               (CASE
                 WHEN sl.totalwork <> 0 THEN
                  sl.sofar / sl.totalwork
                 ELSE
                  NULL
               END) complete_ratio,
               sl.elapsed_seconds * 1000 elapsed,
               sl.time_remaining * 1000 time_remaining,
               sl.opname,
               s.machine,
               s.program,
               s.module,
               s.osuser,
               NVL(DECODE(TYPE,
                          'BACKGROUND',
                          'SYS (' || b.ksbdpnam || ')',
                          s.username),
                   SUBSTR(p.program, INSTR(p.program, '('))) username,
               ROW_NUMBER() OVER(PARTITION BY swa.sql_id ORDER BY sl.last_update_time DESC) rnum
          FROM v$sql_workarea_active swa,
               v$sqlarea sa,
               (SELECT * FROM v$session_longops WHERE sofar <> totalwork) sl,
               v$session s,
               v$process p,
               x$ksbdp b
         WHERE sl.sid(+) = swa.sid
           AND sl.sql_id(+) = swa.sql_id
           AND swa.sid <> USERENV('sid')
           AND sa.sql_id = swa.sql_id
           AND s.sid = swa.sid
           AND s.paddr = p.addr
           AND b.inst_id(+) = USERENV('INSTANCE')
           AND p.addr = b.ksbdppro(+)
         ORDER BY swa.number_passes DESC, swa.work_area_size DESC)
 WHERE rnum = 1
/

Script:List OBJECT DEPENDENT

以下脚本用以列出数据库中对象的依赖性:

REM OBJECT DEPENDENT 

select D_OBJ#,
       do.object_name,
       do.object_type dtyp,
       do.status      dsta,
       D_TIMESTAMP,
       ORDER#,
       P_OBJ#,
       po.object_name,
       po.object_type ptyp,
       po.status      psta,
       P_TIMESTAMP
  from dependency$ d, DBA_OBJECTS do, DBA_OBJECTS po
 where D_OBJ# = do.object_ID
   and P_OBJ# = po.object_ID
   and do.object_ID in
       (select object_id from dba_objects where OBJECT_NAME = '&OBJNAME')
/


Select object_id, referenced_object_id, level
 from public_dependency
start with object_id = (Select object_id
from sys.DBA_OBJECTS
WHERE owner        = upper('&owner')
AND   object_name  = upper('&name')
AND   object_type  = upper('&type'))
connect by prior referenced_object_id = object_id
/

Select to_char(object_id) object_id, to_char(referenced_object_id) referenced_object_id, to_char(level) "LEVEL"
 from public_dependency
connect by prior object_id = referenced_object_id
start with referenced_object_id = (
   Select object_id from sys.DBA_OBJECTS
WHERE owner        = upper('&owner')
AND   object_name  = upper('&name')
AND   object_type  = upper('&type'))
/

set feedback off
set ver off
set pages 10000
column Owner format "A10"
column Obj#  format "9999999999"
column Object format "A35"
rem
ACCEPT OWN   CHAR PROMPT "Enter OWNER pattern: "
ACCEPT NAM   CHAR PROMPT "Enter OBJECT NAME pattern: "
prompt
prompt Objects matching &&OWN..&&NAM
prompt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
select o.obj# "Obj#",
       decode(o.linkname, null, u.name||'.'||o.name,
        o.remoteowner||'.'||o.name||'@'||o.linkname) "Object",
       decode(o.type#, 0, 'NEXT OBJECT', 1, 'INDEX', 2, 'TABLE', 3, 'CLUSTER',
                       4, 'VIEW', 5, 'SYNONYM', 6, 'SEQUENCE',
                       7, 'PROCEDURE', 8, 'FUNCTION', 9, 'PACKAGE',
                      10, '*Not Exist*',
                      11, 'PKG BODY', 12, 'TRIGGER',
                      13, 'TYPE', 14, 'TYPE BODY',
                      19, 'TABLE PARTITION', 20, 'INDEX PARTITION', 21, 'LOB',
                      22, 'LIBRARY', 23, 'DIRECTORY', 24, 'QUEUE',
                      28, 'JAVA SOURCE', 29, 'JAVA CLASS', 30, 'JAVA RESOURCE',
                      32, 'INDEXTYPE', 33, 'OPERATOR',
                      34, 'TABLE SUBPARTITION', 35, 'INDEX SUBPARTITION',
                      40, 'LOB PARTITION', 41, 'LOB SUBPARTITION',
                      42, 'MATERIALIZED VIEW',
                      43, 'DIMENSION',
                      44, 'CONTEXT', 46, 'RULE SET', 47, 'RESOURCE PLAN',
                      48, 'CONSUMER GROUP',
                      51, 'SUBSCRIPTION', 52, 'LOCATION',
                      55, 'XML SCHEMA', 56, 'JAVA DATA',
                      57, 'SECURITY PROFILE', 59, 'RULE',
                      62, 'EVALUATION CONTEXT', 66, 'JOB', 67, 'PROGRAM',
                      68, 'JOB CLASS', 69, 'WINDOW', 72, 'WINDOW GROUP',
                      74, 'SCHEDULE', 'UNDEFINED') "Type",
       decode(o.status,0,'N/A',1,'VALID', 'INVALID') "Status"
  from sys.obj$ o, sys.user$ u
 where owner#=user#
   and u.name like upper('&&OWN') and o.name like upper('&&NAM') ;
prompt
ACCEPT OBJID CHAR PROMPT "Enter Object ID required: "
prompt
prompt
prompt Object &&OBJID is:
prompt ~~~~~~~~~~~~~~~~~~~
select o.obj# "Obj#",
       decode(o.linkname, null, u.name||'.'||o.name,
        o.remoteowner||'.'||o.name||'@'||o.linkname) "Object",
       decode(o.type#, 0, 'NEXT OBJECT', 1, 'INDEX', 2, 'TABLE', 3, 'CLUSTER',
                       4, 'VIEW', 5, 'SYNONYM', 6, 'SEQUENCE',
                       7, 'PROCEDURE', 8, 'FUNCTION', 9, 'PACKAGE',
                      10, '*Not Exist*',
                      11, 'PKG BODY', 12, 'TRIGGER',
                      13, 'TYPE', 14, 'TYPE BODY',
                      19, 'TABLE PARTITION', 20, 'INDEX PARTITION', 21, 'LOB',
                      22, 'LIBRARY', 23, 'DIRECTORY', 24, 'QUEUE',
                      28, 'JAVA SOURCE', 29, 'JAVA CLASS', 30, 'JAVA RESOURCE',
                      32, 'INDEXTYPE', 33, 'OPERATOR',
                      34, 'TABLE SUBPARTITION', 35, 'INDEX SUBPARTITION',
                      40, 'LOB PARTITION', 41, 'LOB SUBPARTITION',
                      42, 'MATERIALIZED VIEW',
                      43, 'DIMENSION',
                      44, 'CONTEXT', 46, 'RULE SET', 47, 'RESOURCE PLAN',
                      48, 'CONSUMER GROUP',
                      51, 'SUBSCRIPTION', 52, 'LOCATION',
                      55, 'XML SCHEMA', 56, 'JAVA DATA',
                      57, 'SECURITY PROFILE', 59, 'RULE',
                      62, 'EVALUATION CONTEXT', 66, 'JOB', 67, 'PROGRAM',
                      68, 'JOB CLASS', 69, 'WINDOW', 72, 'WINDOW GROUP',
                      74, 'SCHEDULE', 'UNDEFINED') "Type",
       decode(o.status,0,'N/A',1,'VALID', 'INVALID') "Status",
       substr(to_char(stime,'DD-MON-YYYY HH24:MI:SS'),1,20) "S-Time"
  from sys.obj$ o, sys.user$ u
 where owner#=user# and o.obj#='&&OBJID' ;
prompt
prompt Depends on:
prompt ~~~~~~~~~~~~
select o.obj# "Obj#",
       decode(o.linkname, null,
        nvl(u.name,'Unknown')||'.'||nvl(o.name,'Dropped?'),
        o.remoteowner||'.'||nvl(o.name,'Dropped?')||'@'||o.linkname) "Object",
       decode(o.type#, 0, 'NEXT OBJECT', 1, 'INDEX', 2, 'TABLE', 3, 'CLUSTER',
                       4, 'VIEW', 5, 'SYNONYM', 6, 'SEQUENCE',
                       7, 'PROCEDURE', 8, 'FUNCTION', 9, 'PACKAGE',
                      10, '*Not Exist*',
                      11, 'PKG BODY', 12, 'TRIGGER',
                      13, 'TYPE', 14, 'TYPE BODY',
                      19, 'TABLE PARTITION', 20, 'INDEX PARTITION', 21, 'LOB',
                      22, 'LIBRARY', 23, 'DIRECTORY', 24, 'QUEUE',
                      28, 'JAVA SOURCE', 29, 'JAVA CLASS', 30, 'JAVA RESOURCE',
                      32, 'INDEXTYPE', 33, 'OPERATOR',
                      34, 'TABLE SUBPARTITION', 35, 'INDEX SUBPARTITION',
                      40, 'LOB PARTITION', 41, 'LOB SUBPARTITION',
                      42, 'MATERIALIZED VIEW',
                      43, 'DIMENSION',
                      44, 'CONTEXT', 46, 'RULE SET', 47, 'RESOURCE PLAN',
                      48, 'CONSUMER GROUP',
                      51, 'SUBSCRIPTION', 52, 'LOCATION',
                      55, 'XML SCHEMA', 56, 'JAVA DATA',
                      57, 'SECURITY PROFILE', 59, 'RULE',
                      62, 'EVALUATION CONTEXT', 66, 'JOB', 67, 'PROGRAM',
                      68, 'JOB CLASS', 69, 'WINDOW', 72, 'WINDOW GROUP',
                      74, 'SCHEDULE', 'UNDEFINED') "Type",
        decode(sign(stime-P_TIMESTAMP),
                  1,'*NEWER*',-1,'*?OLDER?*',null,'-','-SAME-')
"TimeStamp",
decode(o.status,0,'N/A',1,'VALID','INVALID') "Status"
  from sys.dependency$ d,  sys.obj$ o, sys.user$ u
 where P_OBJ#=obj#(+) and o.owner#=u.user#(+) and D_OBJ#='&&OBJID' ;

List Oracle SQL Hints

Below lists Oracle SQL hints:

Oracle SQL Function Detail

Below lists Oracle SQL Function , and which version introduce this:

SQL> SELECT NAME,VERSION,DATATYPE,DESCR FROM v$sqlfn_metadata  order by 2;

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTKDUSTOOPN                   INVALID      UNKNOWN  KDUSTOOPN
OPTTLK2                        SQL/DS       UNKNOWN   LIKE
OPTURNE                        SQL/DS       UNKNOWN  <>
OPTTUA                         SQL/DS       UNKNOWN   UNION ALL
COS                            SQL/DS       NUMERIC  COS
SIN                            SQL/DS       NUMERIC  SIN
TAN                            SQL/DS       NUMERIC  TAN
COSH                           SQL/DS       NUMERIC  COSH
SINH                           SQL/DS       NUMERIC  SINH
TANH                           SQL/DS       NUMERIC  TANH
EXP                            SQL/DS       NUMERIC  EXP
LN                             SQL/DS       NUMERIC  LN
LOG                            SQL/DS       NUMERIC  LOG
OPTCFX                         SQL/DS       UNKNOWN  ANSI Fix Character Function
>                              SQL/DS       UNKNOWN  >
<                              SQL/DS       UNKNOWN  <
>=                             SQL/DS       UNKNOWN  >=
<=                             SQL/DS       UNKNOWN  <=
=                              SQL/DS       UNKNOWN  =
!=                             SQL/DS       UNKNOWN  <>

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTNLS                         SQL/DS       UNKNOWN  NLS Parameter String To Internal Representation
OPTTVLCF                       SQL/DS       UNKNOWN  TO_NUMBER
TO_SINGLE_BYTE                 SQL/DS       STRING   TO_SINGLE_BYTE
TO_MULTI_BYTE                  SQL/DS       STRING   TO_MULTI_BYTE
NLS_LOWER                      SQL/DS       STRING   NLS_LOWER
NLS_UPPER                      SQL/DS       STRING   NLS_UPPER
NLS_INITCAP                    SQL/DS       STRING   NLS_INITCAP
INSTRB                         SQL/DS       NUMERIC  INSTRB
LENGTHB                        SQL/DS       NUMERIC  LENGTHB
SUBSTRB                        SQL/DS       STRING   SUBSTRB
OPTRTUR                        SQL/DS       UNKNOWN  DTYRID=>DTYBURI
OPTURTB                        SQL/DS       UNKNOWN  DTYBURI=>DTYBRI
OPTBTUR                        SQL/DS       UNKNOWN  DTYBRI=>DTYBURI
OPTCTUR                        SQL/DS       UNKNOWN  DTYCHR=>DTYBURI
OPTURTC                        SQL/DS       UNKNOWN  DTYBURI=>DTYCHR
OPTURGT                        SQL/DS       UNKNOWN  >
OPTURLT                        SQL/DS       UNKNOWN  <
OPTURGE                        SQL/DS       UNKNOWN  >=
OPTURLE                        SQL/DS       UNKNOWN  <=
OPTUREQ                        SQL/DS       UNKNOWN  =
OPTTNK2                        SQL/DS       UNKNOWN   NOT LIKE

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_XQRENAME                   V10 Oracle   UNKNOWN  SYS_XQRENAME
SYS_XQREPLACE                  V10 Oracle   UNKNOWN  SYS_XQREPLACE
SYS_XQXFORM                    V10 Oracle   UNKNOWN  SYS_XQXFORM
SYS_XQFTCONTAIN                V10 Oracle   UNKNOWN  SYS_XQXFORM
SYS_XQPOLYVNE                  V10 Oracle   UNKNOWN  SYS_XQPOLYVNE
SYS_XQPOLYFLR                  V10 Oracle   UNKNOWN  SYS_XQPOLYFLR
SYS_XQPOLYCEL                  V10 Oracle   UNKNOWN  SYS_XQPOLYCEL
SYS_XQPOLYABS                  V10 Oracle   UNKNOWN  SYS_XQPOLYABS
SYS_XQPOLYRND                  V10 Oracle   UNKNOWN  SYS_XQPOLYRND
SYS_XQSTARTSWITH               V10 Oracle   UNKNOWN  SYS_XQSTARTSWITH
SYS_XQENDSWITH                 V10 Oracle   UNKNOWN  SYS_XQENDSWITH
SYS_XQSUBSTRBEF                V10 Oracle   UNKNOWN  SYS_XQSUBSTRBEF
SYS_XQSUBSTRAFT                V10 Oracle   UNKNOWN  SYS_XQSUBSTRAFT
SYS_XQSTRJOIN                  V10 Oracle   UNKNOWN  SYS_XQSTRJOIN
SYS_XQNORMSPACE                V10 Oracle   UNKNOWN  SYS_XQNORMSPACE
SYS_XQNORMUCODE                V10 Oracle   UNKNOWN  SYS_XQNORMUCODE
SYS_XQED4URI                   V10 Oracle   UNKNOWN  SYS_XQED4URI
SYS_XQIRI2URI                  V10 Oracle   UNKNOWN  SYS_XQIRI2URI
SYS_XQESHTMLURI                V10 Oracle   UNKNOWN  SYS_XQESHTMLURI
SYS_XQCODEP2STR                V10 Oracle   UNKNOWN  SYS_XQCODEP2STR
SYS_XQSTR2CODEP                V10 Oracle   UNKNOWN  SYS_XQSTR2CODEP

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_XQCODEPEQ                  V10 Oracle   UNKNOWN  SYS_XQCODEPEQ
SYS_XQFNCMP                    V10 Oracle   UNKNOWN  SYS_XQFNCMP
SYS_XQRNDHALF2EVN              V10 Oracle   UNKNOWN  SYS_XQRNDHALF2EVN
SYS_XQNODENAME                 V10 Oracle   UNKNOWN  SYS_XQNODENAME
SYS_XQNILLED                   V10 Oracle   UNKNOWN  SYS_XQNILLED
SYS_XQBASEURI                  V10 Oracle   UNKNOWN  SYS_XQBASEURI
SYS_XQDOCURI                   V10 Oracle   UNKNOWN  SYS_XQDOCURI
SYS_XQRESVURI                  V10 Oracle   UNKNOWN  SYS_XQRESVURI
SYS_XQDFLTCOLATION             V10 Oracle   UNKNOWN  SYS_XQDFLTCOLATION
SYS_XQSTATBURI                 V10 Oracle   UNKNOWN  SYS_XQSTATBURI
SYS_XQRSLVQNM                  V10 Oracle   UNKNOWN  SYS_XQRSLVQNM
SYS_XQFNQNM                    V10 Oracle   UNKNOWN  SYS_XQFNQNM
SYS_XQPFXFRMQNM                V10 Oracle   UNKNOWN  SYS_XQPFXFRMQNM
SYS_XQLLNMFRMQNM               V10 Oracle   UNKNOWN  SYS_XQLLNMFRMQNM
SYS_XQNSPFRMQNM                V10 Oracle   UNKNOWN  SYS_XQNSPFRMQNM
SYS_XQNSP4PFX                  V10 Oracle   UNKNOWN  SYS_XQNSP4PFX
SYS_XQINSPFX                   V10 Oracle   UNKNOWN  SYS_XQINSPFX
SYS_XQFNNM                     V10 Oracle   UNKNOWN  SYS_XQFNNM
SYS_XQSEQRVS                   V10 Oracle   UNKNOWN  SYS_XQSEQRVS
SYS_XQINDXOF                   V10 Oracle   UNKNOWN  SYS_XQINDXOF
SYS_XQSEQ2CON4XC               V10 Oracle   UNKNOWN  SYS_XQSEQ2CON4XC

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_XQPOLYUPLS                 V10 Oracle   UNKNOWN  SYS_XQPOLYUPLS
SYS_XQPOLYUMUS                 V10 Oracle   UNKNOWN  SYS_XQPOLYUMUS
SYS_XQPOLYCST                  V10 Oracle   UNKNOWN  SYS_XQPOLYCST
SYS_XQPOLYCSTBL                V10 Oracle   UNKNOWN  SYS_XQPOLYCSTBL
SYS_XQPOLYSQRT                 V10 Oracle   UNKNOWN  SYS_XQPOLYSQRT
SYS_XQFUNCR                    V10 Oracle   UNKNOWN  SYS_XQFUNCR
SYS_XQERR                      V10 Oracle   UNKNOWN  SYS_XQERR
SYS_XQMKNODEREF                V10 Oracle   UNKNOWN  SYS_XQMKNODEREF
SYS_XQRYWRP                    V10 Oracle   UNKNOWN  SYS_XQRYWRP
SYS_XQEXSTWRP                  V10 Oracle   UNKNOWN  SYS_XQEXSTWRP
SYS_XQRYVARGET                 V10 Oracle   UNKNOWN  SYS_XQRYVARGET
SYS_XQRYENVPGET                V10 Oracle   UNKNOWN  SYS_XQRYENVPGET
SYS_XQFNROOT                   V10 Oracle   UNKNOWN  SYS_XQFNROOT
SYS_XQREF2VAL                  V10 Oracle   UNKNOWN  SYS_XQREF2VAL
INSERTCHILDXMLBEFORE           V10 Oracle   UNKNOWN  INSERTCHILDXMLBEFORE
INSERTCHILDXMLAFTER            V10 Oracle   UNKNOWN  INSERTCHILDXMLAFTER
SYS_XQFNDATIM                  V10 Oracle   UNKNOWN  SYS_XQFNDATIM
SYS_XQLANG                     V10 Oracle   UNKNOWN  SYS_XQLANG
SYS_XQDOC                      V10 Oracle   UNKNOWN  SYS_XQDOC
SYS_XQFB2STR                   V10 Oracle   UNKNOWN  SYS_XQFB2STR
OPTORNA                        V10 Oracle   UNKNOWN  N-way relational OR ANSI

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTORNO                        V10 Oracle   UNKNOWN  N-way relational OR ORACLE
INSERTXMLAFTER                 V10 Oracle   UNKNOWN  INSERTXMLAFTER
SYS_GETTOKENID                 V10 Oracle   UNKNOWN  SYS_GETTOKENID
SYS_XQDELETE                   V10 Oracle   UNKNOWN  SYS_XQDELETE
SYS_XQINSERT                   V10 Oracle   UNKNOWN  SYS_XQINSERT
CV                             V10 Oracle   UNKNOWN  CV
SYS_OP_XPTHATG                 V10 Oracle   UNKNOWN  SYS_OP_XPTHATG
SYS_OP_XPTHOP                  V10 Oracle   UNKNOWN  SYS_OP_XPTHOP
SYS_OP_XPTHIDX                 V10 Oracle   UNKNOWN  SYS_OP_XPTHIDX
SYS_OP_XTXT2SQLT               V10 Oracle   UNKNOWN  SYS_OP_XTXT2SQLT
OPTWNLNNV                      V10 Oracle   UNKNOWN  LAST_VALUE
OPTWNFNNV                      V10 Oracle   UNKNOWN  FIRST_VALUE
OPTXMLSERIALIZE                V10 Oracle   UNKNOWN  XMLSERIALIZE
SYS_OP_ROWIDTOOBJ              V10 Oracle   UNKNOWN  ROWID=>Obj#
SYS_MAKE_XMLNODEID             V10 Oracle   UNKNOWN  SYS_MAKE_XMLNODEID
SYS_XMLNODEID_GETRID           V10 Oracle   UNKNOWN  SYS_XMLNODEID_GETRID
SYS_XMLNODEID_GETOKEY          V10 Oracle   UNKNOWN  SYS_XMLNODEID_GETOKEY
SYS_XQ_PKSQL2XML               V10 Oracle   UNKNOWN  SYS_XQ_PKSQL2XML
SYS_XQ_UPKXML2SQL              V10 Oracle   UNKNOWN  SYS_XQ_UPKXML2SQL
SYS_XQ_ATOMCNVCHK              V10 Oracle   UNKNOWN  SYS_XQ_ATOMCNVCHK
SYS_XQ_ASQLCNV                 V10 Oracle   UNKNOWN  SYS_XQ_ASQLCNV

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTENCRYPT                     V10 Oracle   UNKNOWN  OPTENCRYPT
OPTDECRYPT                     V10 Oracle   UNKNOWN  OPTDECRYPT
SYS_XMLNODEID_GETSVAL          V10 Oracle   UNKNOWN  SYS_XMLNODEID_GETSVAL
SYS_PATHID_LASTNAME            V10 Oracle   UNKNOWN  SYS_PATHID_LASTNAME
SYS_PATHID_LASTNMSPC           V10 Oracle   UNKNOWN  SYS_PATHID_LASTNMSPC
SYS_PATHID_IS_NMSPC            V10 Oracle   UNKNOWN  SYS_PATHID_IS_NMSPC
SYS_ORDERKEY_MAXCHILD          V10 Oracle   UNKNOWN  SYS_ORDERKEY_MAXCHILD
SYS_ORDERKEY_PARENT            V10 Oracle   UNKNOWN  SYS_ORDERKEY_PARENT
SYS_ORDERKEY_DEPTH             V10 Oracle   UNKNOWN  SYS_ORDERKEY_DEPTH
SYS_XMLI_LOC_ISTEXT            V10 Oracle   UNKNOWN  SYS_XMLI_LOC_ISTEXT
SYS_XMLI_LOC_ISNODE            V10 Oracle   UNKNOWN  SYS_XMLI_LOC_ISNODE
SYS_PATH_REVERSE               V10 Oracle   UNKNOWN  SYS_PATH_REVERSE
SYS_PATHID_IS_ATTR             V10 Oracle   UNKNOWN  SYS_PATHID_IS_ATTR
SYS_XQGETCONTENT               V10 Oracle   UNKNOWN  SYS_XQGETCONTENT
SYS_XQSEQTYPMATCH              V10 Oracle   UNKNOWN  SYS_XQSEQTYPMATCH
SYS_XQTREATAS                  V10 Oracle   UNKNOWN  SYS_XQTREATAS
SYS_XQSEQINSB                  V10 Oracle   UNKNOWN  SYS_XQSEQINSB
SYS_XQSEQRM                    V10 Oracle   UNKNOWN  SYS_XQSEQRM
SYS_XQSEQSUB                   V10 Oracle   UNKNOWN  SYS_XQSEQSUB
SYS_XQSEQDEEPEQ                V10 Oracle   UNKNOWN  SYS_XQSEQDEEPEQ
SYS_XQERRH                     V10 Oracle   UNKNOWN  SYS_XQERRH

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
XMLTRANSFORMBLOB               V10 Oracle   UNKNOWN  XMLTRANSFORMBLOB
SYS_XMLNODEID                  V10 Oracle   UNKNOWN  SYS_XMLNODEID
SYS_XMLNODEID_GETPATHID        V10 Oracle   UNKNOWN  SYS_XMLNODEID_GETPATHID
SYS_XMLNODEID_GETLOCATOR       V10 Oracle   UNKNOWN  SYS_XMLNODEID_GETLOCATOR
SYS_XQPOLYADD                  V10 Oracle   UNKNOWN  SYS_XQPOLYADD
SYS_XQPOLYSUB                  V10 Oracle   UNKNOWN  SYS_XQPOLYSUB
SYS_XQPOLYMUL                  V10 Oracle   UNKNOWN  SYS_XQPOLYMUL
SYS_XQPOLYDIV                  V10 Oracle   UNKNOWN  SYS_XQPOLYDIC
SYS_XQPOLYMOD                  V10 Oracle   UNKNOWN  SYS_XQPOLYMOD
SYS_XQPOLYVEQ                  V10 Oracle   UNKNOWN  SYS_XQPOLYVEQ
SYS_XQPOLYVLT                  V10 Oracle   UNKNOWN  SYS_XQPOLYVLT
SYS_XQPOLYVLE                  V10 Oracle   UNKNOWN  SYS_XQPOLYVLE
SYS_XQPOLYVGT                  V10 Oracle   UNKNOWN  SYS_XQPOLYVGT
SYS_XQPOLYVGE                  V10 Oracle   UNKNOWN  SYS_XQPOLYVGE
VARIANCE                       V10 Oracle   NUMERIC  VARIANCE(FLOAT) (Windows)
VARIANCE                       V10 Oracle   NUMERIC  VARIANCE(DOUBLE) (Windows)
MEDIAN                         V10 Oracle   NUMERIC  MEDIAN
STATS_MODE                     V10 Oracle   ARG 1    STATS_MODE
STATS_T_TEST_ONE               V10 Oracle   NUMERIC  STATS_T_TEST_ONE
STATS_T_TEST_PAIRED            V10 Oracle   NUMERIC  STATS_T_TEST_PAIRED
STATS_T_TEST_INDEP             V10 Oracle   NUMERIC  STATS_T_TEST_INDEP

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
STATS_T_TEST_INDEPU            V10 Oracle   NUMERIC  STATS_T_TEST_INDEPU
STATS_F_TEST                   V10 Oracle   NUMERIC  STATS_F_TEST
STATS_ONE_WAY_ANOVA            V10 Oracle   STRING   STATS_ONE_WAY_ANOVA
STATS_CROSSTAB                 V10 Oracle   NUMERIC  STATS_CROSSTAB
STATS_BINOMIAL_TEST            V10 Oracle   NUMERIC  STATS_BINOMIAL_TEST
STATS_WSR_TEST                 V10 Oracle   NUMERIC  STATS_WSR_TEST
STATS_MW_TEST                  V10 Oracle   NUMERIC  STATS_MW_TEST
STATS_KS_TEST                  V10 Oracle   NUMERIC  STATS_KS_TEST
CORR_S                         V10 Oracle   NUMERIC  CORR_S
CORR_K                         V10 Oracle   NUMERIC  CORR_K
OPTCL2NCL                      V10 Oracle   UNKNOWN  CLOB<=>NCLOB
OPTRTRI                        V10 Oracle   UNKNOWN  RTRIM '      ' to ' '
OPTMSUA                        V10 Oracle   UNKNOWN  MULTISET UNION
OPTMSUD                        V10 Oracle   UNKNOWN  MULTISET UNION DISTINCT
OPTMSIA                        V10 Oracle   UNKNOWN  MULTISET INTERSECT
OPTMSID                        V10 Oracle   UNKNOWN  MULTISET INTERSECT DISTINCT
OPTMSEA                        V10 Oracle   UNKNOWN  MULTISET EXCEPT
OPTMSED                        V10 Oracle   UNKNOWN  MULTISET EXCEPT DISTINCT
SET                            V10 Oracle   BINARY   SET
CARDINALITY                    V10 Oracle   NUMERIC  CARDINALITY
SUBMULTISET                    V10 Oracle   UNKNOWN  SUBMULTISET

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTNOTSUBMS                    V10 Oracle   UNKNOWN  NOT SUBMULTISET
OPTMEMBER                      V10 Oracle   UNKNOWN  MEMBER OF
OPTNOTMEMBER                   V10 Oracle   UNKNOWN  NOT MEMBER OF
OPTISSET                       V10 Oracle   UNKNOWN  IS A SET
OPTISNOTSET                    V10 Oracle   UNKNOWN  IS NOT A SET
OPTISEMPTY                     V10 Oracle   UNKNOWN  IS EMPTY
OPTISNOTEMPTY                  V10 Oracle   UNKNOWN  IS NOT EMPTY
POWERMULTISET                  V10 Oracle   UNKNOWN  POWERMULTISET
POWERMULTISET_BY_CARDINALITY   V10 Oracle   UNKNOWN  POWERMULTISET_BY_CARDINALITY
OPTNINF                        V10 Oracle   UNKNOWN   IS INFINITE
OPTNNAN                        V10 Oracle   UNKNOWN   IS NAN
OPTNNINF                       V10 Oracle   UNKNOWN   IS NOT INFINITE
OPTNNNAN                       V10 Oracle   UNKNOWN   IS NOT NAN
NANVL                          V10 Oracle   NUMERIC  NANVL
REMAINDER                      V10 Oracle   NUMERIC  REMAINDER
INSERTXMLBEFORE                V10 Oracle   UNKNOWN  INSERTXMLBEFORE
APPENDCHILDXML                 V10 Oracle   UNKNOWN  APPENDCHILDXML
DELETEXML                      V10 Oracle   UNKNOWN  DELETEXML
OPTXMLROOT                     V10 Oracle   UNKNOWN  XMLROOT
XMLCOMMENT                     V10 Oracle   UNKNOWN  XMLCOMMENT
OPTXMLPI                       V10 Oracle   UNKNOWN  XMLPI

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
XMLCDATA                       V10 Oracle   UNKNOWN  XMLCDATA
HEXTOREF                       V10 Oracle   UNKNOWN  HEXTOREF
OPTTTESTOD                     V10 Oracle   UNKNOWN  STATS_T_TEST_ONE
OPTTTESTPD                     V10 Oracle   UNKNOWN  STATS_T_TEST_PAIRED
OPTTTESTIPD                    V10 Oracle   UNKNOWN  STATS_T_TEST_INDEP
OPTTTESTIUD                    V10 Oracle   UNKNOWN  STATS_T_TEST_INDEPU
OPTFTESTD                      V10 Oracle   UNKNOWN  STATS_F_TEST
OPTANOVAONED                   V10 Oracle   NUMERIC  STATS_ONE_WAY_ANOVA
OPTWSRTESTD                    V10 Oracle   NUMERIC  STATS_WSR_TEST
OPTFCFINT                      V10 Oracle   UNKNOWN  BINARY_FLOAT=>DTYINT
OPTFCDINT                      V10 Oracle   UNKNOWN  BINARY_DOUBLE=>DTYINT
OPTFCINTF                      V10 Oracle   UNKNOWN  DTYINT=>BINARY_FLOAT
OPTFCINTD                      V10 Oracle   UNKNOWN  DTYINT=>BINARY_DOUBLE
OPTCAST3                       V10 Oracle   UNKNOWN  SYS_OP_CAST( as ): slaves only
REMAINDER                      V10 Oracle   NUMERIC  REMAINDER
REMAINDER                      V10 Oracle   NUMERIC  REMAINDER
ABS                            V10 Oracle   NUMERIC  ABS
ABS                            V10 Oracle   NUMERIC  ABS
ACOS                           V10 Oracle   NUMERIC  ACOS
ASIN                           V10 Oracle   NUMERIC  ASIN
ATAN                           V10 Oracle   NUMERIC  ATAN

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
ATAN2                          V10 Oracle   NUMERIC  ATAN2
CEIL                           V10 Oracle   NUMERIC  CEIL
CEIL                           V10 Oracle   NUMERIC  CEIL
COS                            V10 Oracle   NUMERIC  COS
COSH                           V10 Oracle   NUMERIC  COSH
EXP                            V10 Oracle   NUMERIC  EXP
FLOOR                          V10 Oracle   NUMERIC  FLOOR
FLOOR                          V10 Oracle   NUMERIC  FLOOR
LN                             V10 Oracle   NUMERIC  LN
LOG                            V10 Oracle   NUMERIC  LOG
MOD                            V10 Oracle   NUMERIC  MOD
MOD                            V10 Oracle   NUMERIC  MOD
POWER                          V10 Oracle   NUMERIC  POWER
ROUND                          V10 Oracle   NUMERIC  ROUND
ROUND                          V10 Oracle   NUMERIC  ROUND
SIGN                           V10 Oracle   NUMERIC  SIGN
SIGN                           V10 Oracle   NUMERIC  SIGN
SIN                            V10 Oracle   NUMERIC  SIN
SINH                           V10 Oracle   NUMERIC  SINH
SQRT                           V10 Oracle   NUMERIC  SQRT
SQRT                           V10 Oracle   NUMERIC  SQRT

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
TAN                            V10 Oracle   NUMERIC  TAN
TANH                           V10 Oracle   NUMERIC  TANH
TRUNC                          V10 Oracle   NUMERIC  TRUNC
TRUNC                          V10 Oracle   NUMERIC  TRUNC
STDDEV                         V10 Oracle   NUMERIC  STDDEV
STDDEV                         V10 Oracle   NUMERIC  STDDEV
VARIANCE                       V10 Oracle   NUMERIC  VARIANCE
VARIANCE                       V10 Oracle   NUMERIC  VARIANCE
AVG                            V10 Oracle   NUMERIC  AVG
AVG                            V10 Oracle   NUMERIC  AVG
SUM                            V10 Oracle   NUMERIC  SUM
SUM                            V10 Oracle   NUMERIC  SUM
OPTFFADD                       V10 Oracle   UNKNOWN  +
OPTFDADD                       V10 Oracle   UNKNOWN  +
OPTFFSUB                       V10 Oracle   UNKNOWN  -
OPTFDSUB                       V10 Oracle   UNKNOWN  -
OPTFFMUL                       V10 Oracle   UNKNOWN  *
OPTFDMUL                       V10 Oracle   UNKNOWN  *
OPTFFDIV                       V10 Oracle   UNKNOWN  /
OPTFDDIV                       V10 Oracle   UNKNOWN  /
OPTFFNEG                       V10 Oracle   UNKNOWN  -

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTFDNEG                       V10 Oracle   UNKNOWN  -
OPTFCFEI                       V10 Oracle   UNKNOWN  C float=>Canonical float
OPTFCDEI                       V10 Oracle   UNKNOWN  C double=>Canonical double
OPTFCFIE                       V10 Oracle   UNKNOWN  Canonical float=>C float
OPTFCDIE                       V10 Oracle   UNKNOWN  Canonical double=>C double
OPTFCFI                        V10 Oracle   UNKNOWN  BINARY_FLOAT=>DTYIIN
OPTFCDI                        V10 Oracle   UNKNOWN  BINARY_DOUBLE=>DTYIIN
OPTFCIF                        V10 Oracle   UNKNOWN  DTYIIN=>BINARY_FLOAT
OPTFCID                        V10 Oracle   UNKNOWN  DTYIIN=>BINARY_DOUBLE
SUM                            V10 Oracle   NUMERIC  SUM(FLOAT) (Windows)
SUM                            V10 Oracle   NUMERIC  SUM(DOUBLE) (Windows)
AVG                            V10 Oracle   NUMERIC  AVG(FLOAT) (Windows)
AVG                            V10 Oracle   NUMERIC  AVG(DOUBLE) (Windows)
STDDEV                         V10 Oracle   NUMERIC  STDDEV(FLOAT) (Windows)
STDDEV                         V10 Oracle   NUMERIC  STDDEV(DOUBLE) (Windows)
OPTTLKC                        V10 Oracle   UNKNOWN  Internal Function to Compile a Like Pattern
SYS_XQ_NRNG                    V10 Oracle   UNKNOWN  SYS_XQ_NRNG
XMLQUERY                       V10 Oracle   UNKNOWN  XMLQUERY
SYS_XMLCONTAINS                V10 Oracle   UNKNOWN  SYS_XMLCONTAINS
SYS_OP_C2C                     V10 Oracle   UNKNOWN  SYS_OP_C2C
ORA_HASH                       V10 Oracle   NUMERIC  ORA_HASH

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTSPASSIGN                    V10 Oracle   UNKNOWN  =
OPTSPCELL                      V10 Oracle   UNKNOWN  SP cell Reference
OPTSPPRES                      V10 Oracle   UNKNOWN  IS PRESENT
PRESENTV                       V10 Oracle   ARG 2    PRESENTV
PRESENTNNV                     V10 Oracle   ARG 2    PRESENTNNV
OPTSPFORLOOP                   V10 Oracle   UNKNOWN  SP for FOR loop
OPTSPFORLIKE                   V10 Oracle   UNKNOWN  SP for LIKE loop
OPTSPFORINLIST                 V10 Oracle   UNKNOWN  SP for inlist Loop
CURRENTV                       V10 Oracle   UNKNOWN  CURRENTV
OPTSPISANY                     V10 Oracle   UNKNOWN  IS ANY
PREVIOUS                       V10 Oracle   UNKNOWN  PREVIOUS
OPTSPISPRESENT                 V10 Oracle   UNKNOWN  SP IS PRESENT
OPTSPALIAS                     V10 Oracle   UNKNOWN  Spreadsheet Alias
OPTTINLA                       V10 Oracle   UNKNOWN  inlist equality ANSI
OPTTINLO                       V10 Oracle   UNKNOWN  inlist equality ORACLE
OPTSPIS                        V10 Oracle   UNKNOWN  SP binary IS
OPTSPAIS                       V10 Oracle   UNKNOWN  SP binary ANSI IS
OPT521                         V10 Oracle   UNKNOWN  Unused
OPTRXLIKE                      V10 Oracle   UNKNOWN   REGEXP_LIKE
OPTRXNLIKE                     V10 Oracle   UNKNOWN   NOT REGEXP_LIKE
REGEXP_SUBSTR                  V10 Oracle   STRING    REGEXP_SUBSTR

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
REGEXP_INSTR                   V10 Oracle   NUMERIC   REGEXP_INSTR
REGEXP_REPLACE                 V10 Oracle   STRING    REGEXP_REPLACE
OPTRXCOMPILE                   V10 Oracle   UNKNOWN  Internal Function to Compile a Regexp Pattern
OPTCOLLCONS                    V10 Oracle   UNKNOWN  Collection Constructor
SYS_ET_BLOB_TO_IMAGE           V10 Oracle   UNKNOWN  SYS_ET_BLOB_TO_IMAGE
SYS_ET_IMAGE_TO_BLOB           V10 Oracle   UNKNOWN  SYS_ET_IMAGE_TO_BLOB
INSERTCHILDXML                 V10 Oracle   UNKNOWN  INSERTCHILDXML
OPT534                         V10 Oracle   UNKNOWN  Unused
SYS_ET_BFILE_TO_RAW            V10 Oracle   UNKNOWN  SYS_ET_BFILE_TO_RAW
SYS_ET_RAW_TO_BFILE            V10 Oracle   UNKNOWN  SYS_ET_RAW_TO_BFILE
OPTLRXLIKE                     V10 Oracle   UNKNOWN   REGEXP_LIKE
OPTLRXNLIKE                    V10 Oracle   UNKNOWN   NOT REGEXP_LIKE
OPTLRXSUBSTR                   V10 Oracle   STRING    REGEXP_SUBSTR
OPTLRXINSTR                    V10 Oracle   NUMERIC   REGEXP_INSTR
OPTLRXREPLACE                  V10 Oracle   STRING    REGEXP_REPLACE
TO_BINARY_DOUBLE               V10 Oracle   NUMERIC  TO_BINARY_DOUBLE
TO_BINARY_FLOAT                V10 Oracle   NUMERIC  TO_BINARY_FLOAT
TO_CHAR                        V10 Oracle   STRING   TO_CHAR
TO_CHAR                        V10 Oracle   STRING   TO_CHAR
OPTFCFSTCF                     V10 Oracle   UNKNOWN  BINARY_FLOAT=>CHAR With Constant Format
OPTFCDSTCF                     V10 Oracle   UNKNOWN  BINARY_DOUBLE=>CHAR With Constant Format

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
TO_BINARY_FLOAT                V10 Oracle   NUMERIC  TO_BINARY_FLOAT
TO_BINARY_DOUBLE               V10 Oracle   NUMERIC  TO_BINARY_DOUBLE
TO_NCHAR                       V10 Oracle   STRING   TO_NCHAR
TO_NCHAR                       V10 Oracle   STRING   TO_NCHAR
OPTFCSTFCF                     V10 Oracle   NUMERIC  TO_BINARY_FLOAT
OPTFCSTDCF                     V10 Oracle   NUMERIC  TO_BINARY_DOUBLE
OPTFFINF                       V10 Oracle   UNKNOWN   IS INFINITE
OPTFDINF                       V10 Oracle   UNKNOWN   IS INFINITE
OPTFFNAN                       V10 Oracle   UNKNOWN   IS NAN
OPTFDNAN                       V10 Oracle   UNKNOWN   IS NAN
OPTFFNINF                      V10 Oracle   UNKNOWN   IS NOT INFINITE
OPTFDNINF                      V10 Oracle   UNKNOWN   IS NOT INFINITE
OPTFFNNAN                      V10 Oracle   UNKNOWN   IS NOT NAN
OPTFDNNAN                      V10 Oracle   UNKNOWN   IS NOT NAN
NANVL                          V10 Oracle   NUMERIC  NANVL
NANVL                          V10 Oracle   NUMERIC  NANVL
OPTDM                          V10R2 Oracle UNKNOWN  Internal Data Mining Function
OPT682                         V10R2 Oracle UNKNOWN  Unused
PREDICTION                     V10R2 Oracle UNKNOWN  PREDICTION
PREDICTION_PROBABILITY         V10R2 Oracle UNKNOWN  PREDICTION_PROBABILITY
PREDICTION_COST                V10R2 Oracle UNKNOWN  PREDICTION_COST

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
PREDICTION_SET                 V10R2 Oracle UNKNOWN  PREDICTION_SET
PREDICTION_DETAILS             V10R2 Oracle UNKNOWN  PREDICTION_DETAILS
CLUSTER_ID                     V10R2 Oracle UNKNOWN  CLUSTER_ID
CLUSTER_PROBABILITY            V10R2 Oracle UNKNOWN  CLUSTER_PROBABILITY
CLUSTER_SET                    V10R2 Oracle UNKNOWN  CLUSTER_SET
FEATURE_ID                     V10R2 Oracle UNKNOWN  FEATURE_ID
FEATURE_VALUE                  V10R2 Oracle UNKNOWN  FEATURE_VALUE
FEATURE_SET                    V10R2 Oracle UNKNOWN  FEATURE_SET
LOBNVL                         V10R2 Oracle UNKNOWN  LOBNVL
OPTDMO                         V10R2 Oracle UNKNOWN  Internal Data Mining Function
XMLCAST                        V11R1 Oracle UNKNOWN  XMLCAST
XMLEXISTS2                     V11R1 Oracle UNKNOWN  XMLEXISTS2
XS_SYS_CONTEXT                 V11R1 Oracle UNKNOWN  XS_SYS_CONTEXT
SYS_ROW_DELTA                  V11R1 Oracle UNKNOWN  SYS_ROW_DELTA
SYS_GET_PRIVILEGES             V11R1 Oracle UNKNOWN  SYS_GET_PRIVILEGES
OPTXPATHOUT                    V11R1 Oracle UNKNOWN  VALUE
SYS_XMLTYPE2SQL                V11R1 Oracle UNKNOWN  SYS_XMLTYPE2SQL
OPTXLOBSNAP                    V11R1 Oracle UNKNOWN  SYS_OP_LOBSNAP
SYS_GET_ACLIDS                 V11R1 Oracle UNKNOWN  SYS_GET_ACLIDS
SYS_XMLT_2_SC                  V11R1 Oracle UNKNOWN  SYS_XMLT_2_SC
SYS_XQCASTABLEERRH             V11R1 Oracle UNKNOWN  SYS_XQCASTABLEERRH

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_OPTXQCASTASNQ              V11R1 Oracle UNKNOWN  SYS_OPTXQCASTASNQ
OPTCSXUPD                      V11R1 Oracle UNKNOWN  SYS_OP_CSX_UPD
SYS_OP_CSX_PATCH               V11R1 Oracle UNKNOWN  SYS_OP_CSX_PATCH
XMLTOOBJECT                    V11R1 Oracle UNKNOWN  XMLTOOBJECT
OBJECTTOXML                    V11R1 Oracle UNKNOWN  OBJECTTOXML
OPTXMLTOREDO                   V11R1 Oracle UNKNOWN  XMLTOREDO
SYS_SYNRCIREDO                 V11R1 Oracle UNKNOWN  SYS_SYNRCIREDO
SYS_OP_COMBINED_HASH           V11R1 Oracle UNKNOWN  SYS_OP_COMBINED_HASH
SYS_OP_LOBLOC2ID               V11R1 Oracle UNKNOWN  SYS_OP_LOBLOC2ID
SYS_OP_LOBLOC2TYP              V11R1 Oracle UNKNOWN  SYS_OP_LOBLOC2TYP
SYS_OP_LOBLOC2BLOB             V11R1 Oracle UNKNOWN  SYS_OP_LOBLOC2BLOB
SYS_OP_LOBLOC2CLOB             V11R1 Oracle UNKNOWN  SYS_OP_LOBLOC2CLOB
SYS_OP_LOBLOC2NCLOB            V11R1 Oracle UNKNOWN  SYS_OP_LOBLOC2NCLOB
REGEXP_COUNT                   V11R1 Oracle UNKNOWN   REGEXP_COUNT
OPTLRXCOUNT                    V11R1 Oracle UNKNOWN   REGEXP_COUNT
XMLDIFF                        V11R1 Oracle UNKNOWN  XMLDIFF
XMLPATCH                       V11R1 Oracle UNKNOWN  XMLPATCH
SYS_OP_VERSION                 V11R1 Oracle UNKNOWN  SYS_OP_VERSION
SYS_XMLTRANSLATE               V11R1 Oracle UNKNOWN  SYS_XMLTRANSLATE
OPTDMGETO                      V11R1 Oracle UNKNOWN  Internal Data Mining Function: GET value
SYS_DM_RXFORM_NUM              V11R1 Oracle UNKNOWN  SYS_DM_RXFORM_NUM

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_DM_RXFORM_CHR              V11R1 Oracle UNKNOWN  SYS_DM_RXFORM_CHR
OPT793                         V11R1 Oracle UNKNOWN  Unused
PREDICTION_BOUNDS              V11R1 Oracle UNKNOWN  PREDICTION_BOUNDS
SYS_XMLLOCATOR_GETSVAL         V11R1 Oracle UNKNOWN  SYS_XMLLOCATOR_GETSVAL
SYS_OP_BLOOM_FILTER            V11R1 Oracle UNKNOWN  SYS_OP_BLOOM_FILTER
SYS_OP_PIVOT                   V11R1 Oracle UNKNOWN  SYS_OP_PIVOT
CO_AUTH_IND                    V11R1 Oracle UNKNOWN  CO_AUTH_IND
SYS_FILTER_ACLS                V11R1 Oracle UNKNOWN  SYS_FILTER_ACLS
OPTPVTIS                       V11R1 Oracle UNKNOWN  SYS_OP_PIVOT_IS
OPTPVTAIS                      V11R1 Oracle UNKNOWN  SYS_OP_PIVOT_IS
SYS_MKXMLATTR                  V11R1 Oracle UNKNOWN  SYS_MKXMLATTR
SYS_XMLNODEID_GETPTRID         V11R1 Oracle UNKNOWN  SYS_XMLNODEID_GETPTRID
NTH_VALUE                      V11R1 Oracle ARG 1    NTH_VALUE
LISTAGG                        V11R1 Oracle ARG 1    LISTAGG
LISTAGG                        V11R1 Oracle ARG 1    LISTAGG (window)
ORA_DST_AFFECTED               V11R1 Oracle UNKNOWN  ORA_DST_AFFECTED
ORA_DST_ERROR                  V11R1 Oracle UNKNOWN  ORA_DST_ERROR
ORA_DST_CONVERT                V11R1 Oracle UNKNOWN  ORA_DST_CONVERT
SYS_XQTOKENIZE                 V11R1 Oracle UNKNOWN  SYS_XQTOKENIZE
SYS_SC_2_XMLT                  V11R1 Oracle UNKNOWN  SYS_SC_2_XMLT
OPTGETXMLSCHEMATYPE            V11R1 Oracle UNKNOWN  SYS_GETXMLSCHEMATYPE

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_OP_BLOOM_FILTER_LIST       V11R1 Oracle UNKNOWN  SYS_OP_BLOOM_FILTER_LIST
SYS_XQEXLOBVAL                 V11R1 Oracle UNKNOWN  SYS_XQEXLOBVAL
SYS_OPTLOBPRBSC                V11R1 Oracle UNKNOWN  SYS_LOBPRBSC
OPTCSXMERGE                    V11R1 Oracle UNKNOWN  SYS_OP_CSX_MERGE
SYS_XQFORMATNUM                V11R1 Oracle STRING   SYS_XQFORMATNUM
SYS_EXTPDTXT                   V11R1 Oracle UNKNOWN  SYS_EXTPDTXT
SYS_XMLINSTR                   V11R1 Oracle STRING   SYS_XMLINSTR
SYS_XQDURDIV                   V11R1 Oracle UNKNOWN  SYS_XQDURDIV
OPTDMGET                       V11R1 Oracle UNKNOWN  Internal Data Mining Function: GET value
SYS_OP_DV_CHECK                V11R1 Oracle UNKNOWN  SYS_OP_DV_CHECK
OPTCONSXMLFORCSX               V11R1 Oracle UNKNOWN  SYS_OP_XMLCONS_FOR_CSX
SYS_GETXTIVAL                  V11R1 Oracle UNKNOWN  SYS_GETXTIVAL
OPTDJS                         V6 Oracle    UNKNOWN  JULIAN=>STRING
OPTDIF                         V6 Oracle    UNKNOWN  STRING=>INPUT FORMAT
OPTDOF                         V6 Oracle    UNKNOWN  STRING=>OUTPUT FORMAT
OPTNTI                         V6 Oracle    UNKNOWN  NUMBER=>INTERNAL INTEGER
OPTCTZ                         V6 Oracle    UNKNOWN  DTYCHR=>DTYDTZ
OPTCDY                         V6 Oracle    UNKNOWN  DTYCHR=>DTYDYN
OPTNDY                         V6 Oracle    UNKNOWN  DTYNUM=>DTYDYN
OPTDPC                         V6 Oracle    UNKNOWN  DTYCHR=>DTYDPC
DUMP                           V6 Oracle    STRING   DUMP

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTTNS                         V6 Oracle    UNKNOWN  Nested Select
OPTDRO                         V6 Oracle    DATETYPE ROUND
TRUNC                          V6 Oracle    DATETYPE TRUNC
FLOOR                          V6 Oracle    NUMERIC  FLOOR
CEIL                           V6 Oracle    NUMERIC  CEIL
DECODE                         V6 Oracle    ARG 3    DECODE
LPAD                           V6 Oracle    STRING   LPAD
RPAD                           V6 Oracle    STRING   RPAD
OPTITN                         V6 Oracle    UNKNOWN  DTYIIN=>DTYNUM
POWER                          V6 Oracle    NUMERIC  POWER
SYS_OP_TPR                     V6 Oracle    UNKNOWN  Numeric Precision
TO_BINARY_FLOAT                V6 Oracle    NUMERIC  TO_BINARY_FLOAT
TO_NUMBER                      V6 Oracle    NUMERIC  TO_NUMBER
TO_BINARY_DOUBLE               V6 Oracle    NUMERIC  TO_BINARY_DOUBLE
TO_NUMBER                      V6 Oracle    NUMERIC  TO_NUMBER
INITCAP                        V6 Oracle    STRING   INITCAP
TRANSLATE                      V6 Oracle    STRING   TRANSLATE
LTRIM                          V6 Oracle    STRING   LTRIM
RTRIM                          V6 Oracle    STRING   RTRIM
GREATEST                       V6 Oracle    ARG 1    GREATEST
LEAST                          V6 Oracle    ARG 1    LEAST

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SQRT                           V6 Oracle    NUMERIC  SQRT
VARIANCE                       V6 Oracle    NUMERIC  VARIANCE
STDDEV                         V6 Oracle    NUMERIC  STDDEV
OPTLKO                         V6 Oracle    UNKNOWN   LIKE
RAWTOHEX                       V6 Oracle    STRING   RAWTOHEX
HEXTORAW                       V6 Oracle    BINARY   HEXTORAW
NVL2                           V6 Oracle    ARG 2    NVL2
LNNVL                          V6 Oracle    UNKNOWN  LNNVL
USERENV                        V6 Oracle    STRING   USERENV
MERGE$ACTIONS                  V6 Oracle    UNKNOWN  MERGE$ACTIONS
TBL$OR$IDX$PART$NUM            V6 Oracle    UNKNOWN  TBL$OR$IDX$PART$NUM
OPTTSTCF                       V6 Oracle    UNKNOWN  Internal TO_CHAR(NUMBER 'constant_format')
BITAND                         V6 Oracle    NUMERIC  BITAND
REVERSE                        V6 Oracle    UNKNOWN  REVERSE
SYS_OP_CEG                     V6 Oracle    UNKNOWN  SYS_OP_CEG
CONVERT                        V6 Oracle    STRING   CONVERT
REPLACE                        V6 Oracle    STRING   REPLACE
NLSSORT                        V6 Oracle    STRING   NLSSORT
OPTRTB                         V6 Oracle    UNKNOWN  DTYRID=>DTYBRI
OPTBTR                         V6 Oracle    UNKNOWN  DTYBRI=>DTYRID
OPTR2C                         V6 Oracle    UNKNOWN  DTYRID=>CHAR

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_OP_COMP                    V6 Oracle    UNKNOWN  SYS_OP_COMP
SYS_OP_DECOMP                  V6 Oracle    UNKNOWN  SYS_OP_DECOMP
OPTCNVTLAB                     V6 Oracle    UNKNOWN  OPTCNVTLAB
SYS_OP_OPNSIZE                 V6 Oracle    UNKNOWN  SYS_OP_OPNSIZE
DATAOBJ_TO_PARTITION           V6 Oracle    UNKNOWN  DATA0BJ_TO_PARTITION
PART$NUM$INST                  V6 Oracle    UNKNOWN  PART$NUM$INST
OPTTUC                         V6 Oracle    UNKNOWN  Unused
>                              V6 Oracle    UNKNOWN  >
<                              V6 Oracle    UNKNOWN  <
>=                             V6 Oracle    UNKNOWN  >=
<=                             V6 Oracle    UNKNOWN  <=
=                              V6 Oracle    UNKNOWN  =
!=                             V6 Oracle    UNKNOWN  <>
OPTTIS                         V6 Oracle    ARG 1    INTERSECT
OPTTUN                         V6 Oracle    ARG 1    UNION
OPTTMI                         V6 Oracle    ARG 1    MINUS
OPTTAD                         V6 Oracle    NUMERIC  +
OPTTSU                         V6 Oracle    NUMERIC  -
OPTTMU                         V6 Oracle    NUMERIC  *
OPTTDI                         V6 Oracle    NUMERIC  /
OPTTNG                         V6 Oracle    NUMERIC  -

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
AVG                            V6 Oracle    ARG 1    AVG
SUM                            V6 Oracle    ARG 1    SUM
COUNT                          V6 Oracle    NUMERIC  COUNT
MIN                            V6 Oracle    ARG 1    MIN
MAX                            V6 Oracle    ARG 1    MAX
OPTDESC                        V6 Oracle    UNKNOWN   DESC
TO_NUMBER                      V6 Oracle    NUMERIC  TO_NUMBER
TO_CHAR                        V6 Oracle    STRING   TO_CHAR
NVL                            V6 Oracle    ARG 1    NVL
CHARTOROWID                    V6 Oracle    BINARY   CHARTOROWID
ROWIDTOCHAR                    V6 Oracle    STRING   ROWIDTOCHAR
OPTTLK                         V6 Oracle    UNKNOWN   LIKE
OPTTNK                         V6 Oracle    UNKNOWN   NOT LIKE
CONCAT                         V6 Oracle    STRING   ||
SUBSTR                         V6 Oracle    STRING   SUBSTR
LENGTH                         V6 Oracle    NUMERIC  LENGTH
INSTR                          V6 Oracle    NUMERIC  INSTR
LOWER                          V6 Oracle    STRING   LOWER
UPPER                          V6 Oracle    STRING   UPPER
ASCII                          V6 Oracle    NUMERIC  ASCII
CHR                            V6 Oracle    STRING   CHR

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SOUNDEX                        V6 Oracle    STRING   SOUNDEX
ROUND                          V6 Oracle    NUMERIC  ROUND
TRUNC                          V6 Oracle    NUMERIC  TRUNC
MOD                            V6 Oracle    NUMERIC  MOD
ABS                            V6 Oracle    NUMERIC  ABS
SIGN                           V6 Oracle    NUMERIC  SIGN
VSIZE                          V6 Oracle    NUMERIC  VSIZE
OPTTNU                         V6 Oracle    UNKNOWN   IS NULL
OPTTNN                         V6 Oracle    UNKNOWN   IS NOT NULL
OPTDAN                         V6 Oracle    DATETYPE +
OPTDSN                         V6 Oracle    DATETYPE -
OPTDSU                         V6 Oracle    NUMERIC  -
ADD_MONTHS                     V6 Oracle    DATETYPE ADD_MONTHS
MONTHS_BETWEEN                 V6 Oracle    NUMERIC  MONTHS_BETWEEN
TO_DATE                        V6 Oracle    DATETYPE TO_DATE
OPTDSY                         V6 Oracle    DATETYPE SYSDATE
LAST_DAY                       V6 Oracle    DATETYPE LAST_DAY
NEW_TIME                       V6 Oracle    DATETYPE NEW_TIME
NEXT_DAY                       V6 Oracle    DATETYPE NEXT_DAY
OPTDSD                         V6 Oracle    DATETYPE STRING=>DATE
OPTDDS                         V6 Oracle    STRING   DATE=>STRING

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTDSI                         V6 Oracle    UNKNOWN  STRING=>INTERNAL DATE
OPTDIS                         V6 Oracle    UNKNOWN  TO_CHAR
OPTDID                         V6 Oracle    UNKNOWN  INTERNAL DATE=>DATE
OPTDDI                         V6 Oracle    UNKNOWN  DATE=>INTERNAL DATE
OPTDJN                         V6 Oracle    UNKNOWN  JULIAN=>NUMBER
OPTDNJ                         V6 Oracle    UNKNOWN  JULIAN=>NUMBER
OPTDDJ                         V6 Oracle    UNKNOWN  DATE=>JULIAN
OPTDIJ                         V6 Oracle    UNKNOWN  INTERNAL DATE=>JULIAN
OPTPLS                         V71 Oracle   UNKNOWN  PLSQL Function
ATAN2                          V73 Oracle   NUMERIC  ATAN2
ATAN                           V73 Oracle   NUMERIC  ATAN
ASIN                           V73 Oracle   NUMERIC  ASIN
ACOS                           V73 Oracle   NUMERIC  ACOS
OPTOICSCNV                     V80 Oracle   UNKNOWN  SYS_OP_CSCONV
OPTDFNR                        V80 Oracle   UNKNOWN  Deferred Name Resolution
OPTBLCST                       V80 Oracle   UNKNOWN  BLOB Constructor
SYS_OPTXICMP                   V80 Oracle   UNKNOWN  SYS_OPTXICMP
SYS_OP_REF                     V80 Oracle   UNKNOWN  ADT REFerence
SYS_OP_ATG                     V80 Oracle   UNKNOWN  SYS_OP_ATG
OPTATS                         V80 Oracle   UNKNOWN  Attribute Set
SYS_OP_ADTCONS                 V80 Oracle   UNKNOWN  CONStructor

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_OP_DRA                     V80 Oracle   UNKNOWN  ADT DeReference And Extract Attribute
SYS_OP_GUID                    V80 Oracle   UNKNOWN  SYS_OP_GUID
OPTNCR                         V80 Oracle   UNKNOWN  CURSOR
OPTOCHK                        V80 Oracle   UNKNOWN  Object Check
DEREF                          V80 Oracle   UNKNOWN  DEREF
SYS_OP_MAKEOID                 V80 Oracle   UNKNOWN  SYS_OP_MAKEOID
MAKE_REF                       V80 Oracle   BINARY   MAKE_REF
SYS_OP_NIX                     V80 Oracle   UNKNOWN  SYS_OP_NIX
SYS_OP_DUMP                    V80 Oracle   UNKNOWN  SYS_OP_DUMP
REFTOHEX                       V80 Oracle   BINARY   REFTOHEX
SYS_OP_VREF                    V80 Oracle   UNKNOWN  Create Variable-length REF
SYS_OP_TOSETID                 V80 Oracle   UNKNOWN  SYS_OP_TOSETID
OPTBNPT                        V80 Oracle   UNKNOWN  DTYBIN=>DTYNPT
OPTASNPT                       V80 Oracle   UNKNOWN  Assign NPT Values
OPTCCN                         V80 Oracle   UNKNOWN  Collection Constructor
OPTCAST                        V80 Oracle   UNKNOWN  CAST (expression AS type)
OPTLBC                         V80 Oracle   UNKNOWN  LOB Copy Constructor
OPTFCONS                       V80 Oracle   UNKNOWN  Fast CONStructor
OPTICMP                        V80 Oracle   UNKNOWN  Image CoMPare
OPTDGRF                        V80 Oracle   UNKNOWN   IS DANGLING
OPTNDGRF                       V80 Oracle   UNKNOWN   IS NOT DANGLING

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_OP_R2O                     V80 Oracle   UNKNOWN  SYS_OP_R2O
EMPTY_BLOB                     V80 Oracle   BINARY   EMPTY_BLOB
EMPTY_CLOB                     V80 Oracle   BINARY   EMPTY_CLOB
OPTCOERCE                      V80 Oracle   UNKNOWN  Coercion
OPTCSIV                        V80 Oracle   UNKNOWN  Coerce Single-Insert Value
OPTSM2CM                       V80 Oracle   UNKNOWN  Segmented Mem To Contig. Mem
SYS_OP_RMTD                    V80 Oracle   UNKNOWN  SYS_OP_RMTD
SYS_OP_RDTM                    V80 Oracle   UNKNOWN  Ref Conversion - Disk to Memory Format
SYS_OP_OIDVALUE                V80 Oracle   UNKNOWN  SYS_OP_OIDVALUE
OPTOLCIC                       V80 Oracle   UNKNOWN  Out-Of-Line Collection Image Constructor
BFILENAME                      V80 Oracle   BINARY   BFILENAME
CSCONVERT                      V80 Oracle   UNKNOWN  CSCONVERT
NLS_CHARSET_NAME               V80 Oracle   STRING   NLS_CHARSET_NAME
NLS_CHARSET_ID                 V80 Oracle   NUMERIC  NLS_CHARSET_ID
OPTLCNV                        V80 Oracle   UNKNOWN  Locator CoNVersion
SYS_OP_LSVI                    V80 Oracle   UNKNOWN  SYS_OP_LSVI
OPTCIOUT                       V80 Oracle   UNKNOWN  VALUE
NLS_CHARSET_DECL_LEN           V80 Oracle   NUMERIC  NLS_CHARSET_DECL_LEN
OPTCLCST                       V80 Oracle   UNKNOWN  CLOB and NCLOB Constructor
OPTUOP                         V81 Oracle   UNKNOWN  User-Defined Operator
TRIM                           V81 Oracle   STRING   TRIM

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
TRIM                           V81 Oracle   STRING   TRIM
TRIM                           V81 Oracle   STRING   TRIM
SYS_OP_RPB                     V81 Oracle   UNKNOWN  SYS_OP_RPB
SYS_OP_TRTB                    V81 Oracle   UNKNOWN  SYS_OP_TRTB
SYS_OP_DESCEND                 V81 Oracle   UNKNOWN  SYS_OP_DESCEND
SYS_OP_UNDESCEND               V81 Oracle   UNKNOWN  SYS_OP_UNDESCEND
OPTXTRCT_XQUERY                V81 Oracle   UNKNOWN  EXTRACT
OPTADIX                        V81 Oracle   UNKNOWN  SYS_OP_ADIX
OPTREW                         V81 Oracle   UNKNOWN  Compile-time REWrite
OPTDCC                         V81 Oracle   UNKNOWN  Ddynamic Collection Constructor
SYS_OP_MAP_NONNULL             V81 Oracle   UNKNOWN  SYS_OP_MAP_NONNULL
OPTVFIL                        V81 Oracle   UNKNOWN  307
OPTC2TM                        V81 Oracle   UNKNOWN  TO_TIME
OPTC2TMZ                       V81 Oracle   UNKNOWN  TO_TIME_TZ
OPTC2ST                        V81 Oracle   UNKNOWN  TO_TIMESTAMP
OPTC2STZ                       V81 Oracle   UNKNOWN  TO_TIMESTAMP_TZ
OPTC2IYM                       V81 Oracle   UNKNOWN  TO_YMINTERVAL
OPTC2IDS                       V81 Oracle   UNKNOWN  TO_DSINTERVAL
OPTTM2C                        V81 Oracle   UNKNOWN  TIME=>STRING
OPTTMZ2C                       V81 Oracle   UNKNOWN  TIME WITH TIME ZONE=>STRING
OPTST2C                        V81 Oracle   UNKNOWN  TIMESTAMP=>STRING

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTSTZ2C                       V81 Oracle   UNKNOWN  TIMESTAMP WITH TIME ZONE=>STRING
OPTIYM2C                       V81 Oracle   UNKNOWN  INTERVAL YEAR TO MONTH=>STRING
OPTIDS2C                       V81 Oracle   UNKNOWN  INTERVAL DAY TO SECOND to string
OPTDIPR                        V81 Oracle   UNKNOWN  Check Datetime/Interval Precisions
SYS_GUID                       V81 Oracle   BINARY   SYS_GUID
OPTXTRCT                       V81 Oracle   UNKNOWN  EXTRACT
OPTITME                        V81 Oracle   UNKNOWN  Internal TIME=>External
OPTTMEI                        V81 Oracle   UNKNOWN  External TIME=>Internal
OPTITTZ                        V81 Oracle   UNKNOWN  Internal TIME WTZ=>External
OPTTTZI                        V81 Oracle   UNKNOWN  External TIME WTZ=>Internal
OPTISTM                        V81 Oracle   UNKNOWN  Internal TIMESTAMP=>External
OPTSTMI                        V81 Oracle   UNKNOWN  External TIMESTAMP=>Internal
OPTISTZ                        V81 Oracle   UNKNOWN  Internal TIMESTAMP WTZ=>External
OPTSTZI                        V81 Oracle   UNKNOWN  External TIMESTAMP WTZ=>Internal
OPTIIYM                        V81 Oracle   UNKNOWN  Internal INTERVAL YM=>External
OPTIYMI                        V81 Oracle   UNKNOWN  External INTERVAL YM=>Internal
OPTIIDS                        V81 Oracle   UNKNOWN  Internal INTERVAL DS=>External
OPTIDSI                        V81 Oracle   UNKNOWN  External INTERVAL DS=>Internal
OPTITMES                       V81 Oracle   UNKNOWN  TO_CHAR
OPTITTZS                       V81 Oracle   UNKNOWN  TO_CHAR
OPTISTMS                       V81 Oracle   UNKNOWN  TO_CHAR

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTISTZS                       V81 Oracle   UNKNOWN  TO_CHAR
OPTIIYMS                       V81 Oracle   UNKNOWN  TO_CHAR
OPTIIDSS                       V81 Oracle   UNKNOWN  TO_CHAR
OPTLDIIF                       V81 Oracle   UNKNOWN  STRING=>Internal Format (for input)
OPTLDIOF                       V81 Oracle   UNKNOWN  STRING=>Internal Format (for output)
OPTDIADD                       V81 Oracle   UNKNOWN  DATETIME + INTERVAL
OPTDISUB                       V81 Oracle   UNKNOWN  DATETIME - INTERVAL
OPTDDSUB                       V81 Oracle   UNKNOWN  DATETIME - DATETIME
OPTIIADD                       V81 Oracle   UNKNOWN  INTERVAL + INTERVAL
OPTIISUB                       V81 Oracle   UNKNOWN  INTERVAL - INTERVAL
OPTINMUL                       V81 Oracle   UNKNOWN  INTERVAL * NUMBER
OPTINDIV                       V81 Oracle   UNKNOWN  interval / number
OPTCHGTZ                       V81 Oracle   UNKNOWN   AT
OPTOVLPS                       V81 Oracle   UNKNOWN  OVERLAPS
OPTOVLPC                       V81 Oracle   UNKNOWN  OVERLAPS
OPTDCAST                       V81 Oracle   UNKNOWN  Casting Between Datetime Types
OPTINTN                        V81 Oracle   UNKNOWN  DTYINT=>DTYNUM
OPTNTIN                        V81 Oracle   UNKNOWN  DTYNUM=>DTYINT
CAST                           V81 Oracle   ARG 2    CAST
SYS_CONTEXT                    V81 Oracle   UNKNOWN  SYS_CONTEXT
SYS_OP_IIX                     V81 Oracle   UNKNOWN  IMAGE=>IMAGE

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_OP_NII                     V81 Oracle   UNKNOWN  Get Null Image From Image
GROUPING                       V81 Oracle   NUMERIC  GROUPING
OPTTLC                         V81 Oracle   UNKNOWN  Truncate LONG To CHAR
TO_LOB                         V81 Oracle   BINARY   TO_LOB
SYS_OP_MSR                     V81 Oracle   UNKNOWN  SYS_OP_MSR
SYS_OP_CSR                     V81 Oracle   UNKNOWN  SYS_OP_CSR
OPTIDN                         V81 Oracle   UNKNOWN  Identity
OPTIAND                        V816 Oracle  UNKNOWN  IAND
OPTIOR                         V816 Oracle  UNKNOWN  IOR
OPTMKNULL                      V816 Oracle  UNKNOWN  MKNULL
OPTC2ITZ                       V816 Oracle  UNKNOWN  TSITZ<==>CHAR
OPTITZ2C2                      V816 Oracle  UNKNOWN  Array TSITZ=>CHAR
OPTITZ2C1                      V816 Oracle  UNKNOWN  TO_CHAR
OPTSRCSE                       V816 Oracle  UNKNOWN  Searched Case Expression
OPTAND                         V816 Oracle  UNKNOWN  AND
OPTOR                          V816 Oracle  UNKNOWN  OR
FROM_TZ                        V816 Oracle  DATETYPE FROM_TZ
SYS_CONNECT_BY_PATH            V816 Oracle  STRING   SYS_CONNECT_BY_PATH
OPTNTUB4                       V816 Oracle  UNKNOWN  DTYNUM=>DTYUB4
OPTUB4TN                       V816 Oracle  UNKNOWN  DTYUB4=>DTYNUM
OPTCIDN                        V816 Oracle  UNKNOWN  Compile Time Identity Function

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTT2TTZ1                      V816 Oracle  UNKNOWN  Struct Time=>Arr. Time with TZ
OPTT2TTZ2                      V816 Oracle  UNKNOWN  Struct Time=>Struct Time with TZ
OPTTTZ2T1                      V816 Oracle  UNKNOWN  Struct Time with TZ=>Arr. Time
OPTTTZ2T2                      V816 Oracle  UNKNOWN  Struct Time with TZ=>Struct Time
OPTTS2TSTZ1                    V816 Oracle  UNKNOWN  Struct Timestamp=>Arr. Timestamp with TZ
OPTTS2TSTZ2                    V816 Oracle  UNKNOWN  Struct Timestamp=>Struct Timestamp with TZ
OPTTSTZ2TS1                    V816 Oracle  UNKNOWN  Struct Timestamp with TZ=>Arr Timestamp
OPTTSTZ2TS2                    V816 Oracle  UNKNOWN  Struct Timestamp with TZ=>Struct Timestamp
SUM                            V816 Oracle  NUMERIC  SUM
AVG                            V816 Oracle  NUMERIC  AVG
COUNT                          V816 Oracle  NUMERIC  COUNT
VARIANCE                       V816 Oracle  NUMERIC  VARIANCE
STDDEV                         V816 Oracle  NUMERIC  STDDEV
MIN                            V816 Oracle  ARG 1    MIN
MAX                            V816 Oracle  ARG 1    MAX
FIRST_VALUE                    V816 Oracle  ARG 1    FIRST_VALUE
LAST_VALUE                     V816 Oracle  ARG 1    LAST_VALUE
LAG                            V816 Oracle  ARG 1    LAG
LEAD                           V816 Oracle  ARG 1    LEAD
RANK                           V816 Oracle  NUMERIC  RANK
DENSE_RANK                     V816 Oracle  NUMERIC  DENSE_RANK

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
CUME_DIST                      V816 Oracle  UNKNOWN  Window Percentile
NTILE                          V816 Oracle  NUMERIC  NTILE
RATIO_TO_REPORT                V816 Oracle  NUMERIC  RATIO_TO_REPORT
ROW_NUMBER                     V816 Oracle  NUMERIC  ROW_NUMBER
OPTWNOBY                       V816 Oracle  UNKNOWN  ORDER BY Pseudo-Function for Window
OPTWNPBY                       V816 Oracle  UNKNOWN  PARTITION BY Pseudo-Function for Window
OPT335                         V816 Oracle  UNKNOWN  UNUSED
OPTDESNL                       V816 Oracle  UNKNOWN   DESC NULLS LAST
OPTASCNF                       V816 Oracle  UNKNOWN   ASC NULLS FIRST
COVAR_POP                      V816 Oracle  NUMERIC  COVAR_POP
COVAR_SAMP                     V816 Oracle  NUMERIC  COVAR_SAMP
CORR                           V816 Oracle  NUMERIC  CORR
REGR_SLOPE                     V816 Oracle  NUMERIC  REGR_SLOPE
REGR_INTERCEPT                 V816 Oracle  NUMERIC  REGR_INTERCEPT
REGR_COUNT                     V816 Oracle  NUMERIC  REGR_COUNT
REGR_R2                        V816 Oracle  NUMERIC  REGR_R2
REGR_AVGX                      V816 Oracle  NUMERIC  REGR_AVGX
REGR_AVGY                      V816 Oracle  NUMERIC  REGR_AVGY
REGR_SXX                       V816 Oracle  NUMERIC  REGR_SXX
REGR_SYY                       V816 Oracle  NUMERIC  REGR_SYY
REGR_SXY                       V816 Oracle  NUMERIC  REGR_SXY

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
VAR_POP                        V816 Oracle  NUMERIC  VAR_POP
STDDEV_POP                     V816 Oracle  NUMERIC  STDDEV_POP
VAR_SAMP                       V816 Oracle  NUMERIC  VAR_SAMP
STDDEV_SAMP                    V816 Oracle  NUMERIC  STDDEV_SAMP
OPTDAT2TS1                     V816 Oracle  UNKNOWN  Srray Date=>Array Timestamp
OPTDAT2TS2                     V816 Oracle  UNKNOWN  Struct DATE=>Struct TIMESTAMP
OPTTS2DAT1                     V816 Oracle  UNKNOWN  array TIMESTAMP=>Array DATE
OPTTS2DAT2                     V816 Oracle  UNKNOWN  Struct TIMESTAMP=>Struct DATE
SESSIONTIMEZONE                V816 Oracle  DATETYPE SESSIONTIMEZONE
OPTNTUB8                       V816 Oracle  UNKNOWN  DTYNUM=>DTYUB8
OPTUB8TN                       V816 Oracle  UNKNOWN  DTYUB8=>DTYNUM
PERCENT_RANK                   V816 Oracle  NUMERIC  Window PERCENT_RANK
OPTITZS2A                      V816 Oracle  UNKNOWN  TS ITZ Struct=>Array
OPTITZA2S                      V816 Oracle  UNKNOWN  TS ITZ Array=>Struct
OPTITZ2TSTZ                    V816 Oracle  UNKNOWN  Struct TSITZ=>Struct TSTZ
OPTTSTZ2ITZ                    V816 Oracle  UNKNOWN  Struct TSTZ=>Struct TSITZ
OPTITZ2TS                      V816 Oracle  UNKNOWN  Struct TSITZ=>Struct TS
OPTTS2ITZ                      V816 Oracle  UNKNOWN  Struct TS=>Struct TSITZ
TO_TIME                        V816 Oracle  UNKNOWN  TO_TIME
TO_TIME_TZ                     V816 Oracle  UNKNOWN  TO_TIME_TZ
TO_TIMESTAMP                   V816 Oracle  DATETYPE TO_TIMESTAMP

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
TO_TIMESTAMP_TZ                V816 Oracle  DATETYPE TO_TIMESTAMP_TZ
TO_YMINTERVAL                  V816 Oracle  DATETYPE TO_YMINTERVAL
TO_DSINTERVAL                  V816 Oracle  DATETYPE TO_DSINTERVAL
NUMTOYMINTERVAL                V816 Oracle  UNKNOWN  NUMTOYMINTERVAL
NUMTODSINTERVAL                V816 Oracle  UNKNOWN  NUMTODSINTERVAL
SYS_EXTRACT_UTC                V816 Oracle  DATETYPE SYS_EXTRACT_UTC
SYS_OP_ITR                     V816 Oracle  UNKNOWN  Image TRansformation
SYS_OP_BIN2ADT                 V82 Oracle   UNKNOWN  BIN=>ADT
SYS_OP_DISTINCT                V82 Oracle   UNKNOWN  SYS_OP_DISTINCT
OPTSMCSE                       V82 Oracle   UNKNOWN  Simple Case Expression
NULLIF                         V82 Oracle   ARG 1    NULLIF
COALESCE                       V82 Oracle   ARG 1    COALESCE
OPTLLEN                        V82 Oracle   NUMERIC  LENGTH
OPTLLENB                       V82 Oracle   NUMERIC  LENGTHB
OPTLSBS                        V82 Oracle   UNKNOWN  SUBSTR
OPTLSBSB                       V82 Oracle   UNKNOWN  SUBSTRB
OPTLINS                        V82 Oracle   NUMERIC  INSTR
OPTLINSB                       V82 Oracle   NUMERIC  INSTRB
OPTLCAT                        V82 Oracle   UNKNOWN  ||
OPTLLPD                        V82 Oracle   UNKNOWN  LPAD
OPTLRPD                        V82 Oracle   UNKNOWN  RPAD

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTLLTR                        V82 Oracle   UNKNOWN  LTRIM
OPTLRTR                        V82 Oracle   UNKNOWN  RTRIM
OPTLTRM                        V82 Oracle   UNKNOWN  TRIM
OPTLLOW                        V82 Oracle   UNKNOWN  LOWER
OPTLUPR                        V82 Oracle   UNKNOWN  UPPER
OPTLNLOW                       V82 Oracle   UNKNOWN  NLS_LOWER
OPTLNUPR                       V82 Oracle   UNKNOWN  NLS_UPPER
OPTLNVL                        V82 Oracle   UNKNOWN  NVL
OPTLLIK                        V82 Oracle   UNKNOWN   LIKE
OPTLNLIK                       V82 Oracle   UNKNOWN   NOT LIKE
OPTLREPL                       V82 Oracle   UNKNOWN  REPLACE
SYS_OP_CL2C                    V82 Oracle   UNKNOWN  SYS_OP_CL2C
SYS_OP_BL2R                    V82 Oracle   UNKNOWN  SYS_OP_BL2R
PERCENTILE_CONT                V82 Oracle   NUMERIC  PERCENTILE_CONT
PERCENTILE_DISC                V82 Oracle   NUMERIC  PERCENTILE_DISC
RANK                           V82 Oracle   NUMERIC  RANK
DENSE_RANK                     V82 Oracle   NUMERIC  DENSE_RANK
PERCENT_RANK                   V82 Oracle   NUMERIC  PERCENT_RANK
CUME_DIST                      V82 Oracle   NUMERIC  CUME_DIST
OPTFSTLST                      V82 Oracle   UNKNOWN  First/Last Function
OPTAGGOBY                      V82 Oracle   UNKNOWN  Pseudo Function for Ordered Aggregates

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
WIDTH_BUCKET                   V82 Oracle   NUMERIC  WIDTH_BUCKET
RANKM                          V82 Oracle   NUMERIC  RANKM
DENSE_RANKM                    V82 Oracle   NUMERIC  DENSE_RANKM
PERCENT_RANKM                  V82 Oracle   NUMERIC  PERCENT_RANKM
CUME_DISTM                     V82 Oracle   UNKNOWN  CUME_DISTM
FIRSTM                         V82 Oracle   UNKNOWN  FIRSTM
PERCENTILE_CONT                V82 Oracle   NUMERIC  PERCENTILE_CONT
PERCENTILE_DISC                V82 Oracle   NUMERIC  PERCENTILE_DISC
OPTWNFSTLST                    V82 Oracle   UNKNOWN  Reporting First/Last
SYS_OP_VECOR                   V82 Oracle   UNKNOWN  SYS_OP_VECOR
SYS_OP_VECXOR                  V82 Oracle   UNKNOWN  SYS_OP_VECXOR
SYS_OP_VECAND                  V82 Oracle   UNKNOWN  SYS_OP_VECAND
GROUPING_ID                    V82 Oracle   NUMERIC  GROUPING_ID
GROUP_ID                       V82 Oracle   NUMERIC  GROUP_ID
OPTWNUAG                       V82 Oracle   UNKNOWN  User-defined Aggregate Window Function
SYS_XMLGEN                     V82 Oracle   UNKNOWN  SYS_XMLGEN
EXTRACT                        V82 Oracle   UNKNOWN  EXTRACT
SYS_DBURIGEN                   V82 Oracle   UNKNOWN  SYS_DBURIGEN
TO_CLOB                        V82 Oracle   STRING   TO_CLOB
TO_NCLOB                       V82 Oracle   STRING   TO_NCLOB
SYS_MAKEXML                    V82 Oracle   UNKNOWN  SYS_MAKEXML

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_UMAKEXML                   V82 Oracle   UNKNOWN  SYS_UMAKEXML
SYS_XQEXTRREF                  V82 Oracle   UNKNOWN  SYS_XQEXTRREF
OPTLICSCNVTST                  V82 Oracle   NUMERIC  SYS_OP_CSCONVTEST
BIN_TO_NUM                     V82 Oracle   NUMERIC  BIN_TO_NUM
SYS_OP_NUMTORAW                V82 Oracle   UNKNOWN  SYS_OP_NUMTORAW
SYS_OP_RAWTONUM                V82 Oracle   UNKNOWN  SYS_OP_RAWTONUM
SYS_OP_GROUPING                V82 Oracle   UNKNOWN  SYS_OP_GROUPING
OPTCELEM                       V82 Oracle   UNKNOWN  Collection ELEMent
OPTDOT                         V82 Oracle   UNKNOWN  Operator for DOTted Notation
SYS_AUDIT                      V82 Oracle   UNKNOWN  SYS_AUDIT
OPTPCONS                       V82 Oracle   UNKNOWN  Polymorphic Constructor
OPTUAG                         V82 Oracle   UNKNOWN  User-defined Aggregate
OPT441                         V82 Oracle   UNKNOWN  Unused
OPT442                         V82 Oracle   UNKNOWN  Unused
TZ_OFFSET                      V82 Oracle   UNKNOWN  TZ_OFFSET
ADJ_DATE                       V82 Oracle   UNKNOWN  ADJ_DATE
OPTUNSED445                    V82 Oracle   UNKNOWN  Unused
OPTTFD                         V82 Oracle   UNKNOWN  Functional Dependency
OPTTFDF                        V82 Oracle   UNKNOWN  Functional Dependency Foreign
ROWIDTONCHAR                   V82 Oracle   STRING   ROWIDTONCHAR
TO_NCHAR                       V82 Oracle   STRING   TO_NCHAR

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
RAWTONHEX                      V82 Oracle   STRING   RAWTONHEX
NCHR                           V82 Oracle   STRING   NCHR
SYS_OP_LBID                    V82 Oracle   UNKNOWN  SYS_OP_LBID
OPTOP2C                        V82 Oracle   UNKNOWN  Opaque Type=>CHAR
OPTC2OP                        V82 Oracle   UNKNOWN  CHAR=>Opaque Type
COMPOSE                        V82 Oracle   STRING   COMPOSE
DECOMPOSE                      V82 Oracle   STRING   DECOMPOSE
ASCIISTR                       V82 Oracle   STRING   ASCIISTR
UNISTR                         V82 Oracle   STRING   UNISTR
LENGTH2                        V82 Oracle   NUMERIC  LENGTH2
LENGTH4                        V82 Oracle   NUMERIC  LENGTH4
LENGTHC                        V82 Oracle   NUMERIC  LENGTHC
INSTR2                         V82 Oracle   NUMERIC  INSTR2
INSTR4                         V82 Oracle   NUMERIC  INSTR4
INSTRC                         V82 Oracle   NUMERIC  INSTRC
SUBSTR2                        V82 Oracle   STRING   SUBSTR2
SUBSTR4                        V82 Oracle   STRING   SUBSTR4
SUBSTRC                        V82 Oracle   STRING   SUBSTRC
OPTLIK2                        V82 Oracle   UNKNOWN   LIKE2
OPTLIK2N                       V82 Oracle   UNKNOWN   NOT LIKE2
OPTLIK2E                       V82 Oracle   UNKNOWN   LIKE2

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
OPTLIK2NE                      V82 Oracle   UNKNOWN   NOT LIKE2
OPTLIK4                        V82 Oracle   UNKNOWN   LIKE4
OPTLIK4N                       V82 Oracle   UNKNOWN   NOT LIKE4
OPTLIK4E                       V82 Oracle   UNKNOWN   LIKE4
OPTLIK4NE                      V82 Oracle   UNKNOWN   NOT LIKE4
OPTLIKC                        V82 Oracle   UNKNOWN   LIKEC
OPTLIKCN                       V82 Oracle   UNKNOWN   NOT LIKEC
OPTLIKCE                       V82 Oracle   UNKNOWN   LIKEC
OPTLIKCNE                      V82 Oracle   UNKNOWN   NOT LIKEC
SYS_OP_VECBIT                  V82 Oracle   UNKNOWN  SYS_OP_VECBIT
OPTNISTYP                      V82 Oracle   UNKNOWN  IS NOT OF TYPE
SYS_OP_NICOMBINE               V82 Oracle   UNKNOWN  SYS_OP_NICOMBINE
SYS_OP_NIEXTRACT               V82 Oracle   UNKNOWN  SYS_OP_NIEXTRACT
SYS_OP_VVD                     V82 Oracle   UNKNOWN  SYS_OP_VVD
OPTLCNVT                       V82 Oracle   UNKNOWN  CONVERT
OPTOPASN                       V82 Oracle   UNKNOWN  OPaque type ASsign
OPTOBY                         V82 Oracle   UNKNOWN  Pseudo Function for ORDER BY
SYS_XQEXTRACT                  V82 Oracle   UNKNOWN  SYS_XQEXTRACT
SYS_PXQEXTRACT                 V82 Oracle   UNKNOWN  SYS_PXQEXTRACT
OPTTREAT                       V82 Oracle   UNKNOWN  TREAT
OPTISTYPE                      V82 Oracle   UNKNOWN  IS OF TYPE

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_TYPEID                     V82 Oracle   UNKNOWN  SYS_OP_MST
SYS_OP_ADT2BIN                 V82 Oracle   UNKNOWN  ADT=>BIN
OPTXMLELEMENT                  V92 Oracle   UNKNOWN  XMLELEMENT
SYS_XMLANALYZE                 V92 Oracle   UNKNOWN  REWRITEANALYS
OPTXMLCOLELEM                  V92 Oracle   UNKNOWN  XMLFOREST
UPDATEXML                      V92 Oracle   UNKNOWN  UPDATEXML
EXISTSNODE                     V92 Oracle   UNKNOWN  EXISTSNODE
EXTRACTVALUE                   V92 Oracle   UNKNOWN  EXTRACTVALUE
XMLTRANSFORM                   V92 Oracle   UNKNOWN  XMLTRANSFORM
TO_BLOB                        V92 Oracle   UNKNOWN  TO_BLOB
OPTXMLPARSE                    V92 Oracle   UNKNOWN  XMLPARSE
SYS_XMLCONV                    V92 Oracle   UNKNOWN  SYS_XMLCONV
SYS_OP_PAR                     V92 Oracle   UNKNOWN  SYS_OP_PAR
SYS_OP_PARGID                  V92 Oracle   UNKNOWN  SYS_OP_PARGID
SYS_OP_LVL                     V92 Oracle   UNKNOWN  SYS_OP_LVL
SYS_OP_COUNTCHG                V92 Oracle   NUMERIC  SYS_OP_COUNTCHG
XMLISVALID                     V92 Oracle   UNKNOWN  XMLISVALID
SYS_DOM_COMPARE                V92 Oracle   UNKNOWN  SYS_DOM_COMPARE
XMLCONCAT                      V92 Oracle   UNKNOWN  XMLCONCAT
SYS_OP_ALSCRVAL                V92 Oracle   UNKNOWN  SYS_OP_ALEXPCOL
OPTALANYCONS                   V92 Oracle   UNKNOWN  Anydata-LOB: Anydata Constructor

NAME                           VERSION      DATATYPE DESCR
------------------------------ ------------ -------- --------------------------------------------------------------------------------
SYS_OP_CONVERT                 V92 Oracle   UNKNOWN  SYS_OP_CONVERT
OPTLICONVERT                   V92 Oracle   UNKNOWN  SYS_OP_CONVERT
SYS_OP_PAR_1                   V92 Oracle   UNKNOWN  SYS_OP_PAR
SYS_OP_PARGID_1                V92 Oracle   UNKNOWN  SYS_OP_PARGID
SYS_CHECKACL                   V92 Oracle   UNKNOWN  SYS_CHECKACL
SYS_XQCONCAT                   V92 Oracle   UNKNOWN  SYS_XQCONCAT
XMLISNODE                      V92 Oracle   UNKNOWN  XMLISNODE
SYS_XQEXVAL                    V92 Oracle   UNKNOWN  SYS_XQEXVAL
SYS_XQSEQ2CON                  V92 Oracle   UNKNOWN  SYS_XQSEQ2CON
SYS_XQCON2SEQ                  V92 Oracle   UNKNOWN  SYS_XQCON2SEQ
SYS_XQFNBOOL                   V92 Oracle   UNKNOWN  SYS_XQFNBOOL
SYS_XMLEXNSURI                 V92 Oracle   UNKNOWN  SYS_XMLEXNSURI
SYS_XQFNLNAME                  V92 Oracle   UNKNOWN  SYS_XQFNLNAME
SYS_XQFNNSURI                  V92 Oracle   UNKNOWN  SYS_XQFNNSURI
SYS_XQFNPREDTRUTH              V92 Oracle   UNKNOWN  SYS_XQFNPREDTRUTH
SYS_OP_CSCONVTEST              V92 Oracle   NUMERIC  SYS_OP_CSCONVTEST
SYS_OP_CSCONV                  V92 Oracle   UNKNOWN  SYS_OP_CSCONV
OPTLICSCNV                     V92 Oracle   UNKNOWN  SYS_OP_CSCONV
OPTXMLCOLATTVAL                V92 Oracle   UNKNOWN  XMLCOLATTVAL

921 rows selected

Script:Logfile Switch Frequency Map

该脚本可以用于列出Oracle日志文件切换的频率图:


REM Log Switch Frequency Map

col Day for a10
col Date for a10
set linesize 80


SELECT trunc(first_time) "Date",
       to_char(first_time, 'Dy') "Day",
       count(1) "Total",
       SUM(decode(to_char(first_time, 'hh24'), '00', 1, 0)) "h0",
       SUM(decode(to_char(first_time, 'hh24'), '01', 1, 0)) "h1",
       SUM(decode(to_char(first_time, 'hh24'), '02', 1, 0)) "h2",
       SUM(decode(to_char(first_time, 'hh24'), '03', 1, 0)) "h3",
       SUM(decode(to_char(first_time, 'hh24'), '04', 1, 0)) "h4",
       SUM(decode(to_char(first_time, 'hh24'), '05', 1, 0)) "h5",
       SUM(decode(to_char(first_time, 'hh24'), '06', 1, 0)) "h6",
       SUM(decode(to_char(first_time, 'hh24'), '07', 1, 0)) "h7",
       SUM(decode(to_char(first_time, 'hh24'), '08', 1, 0)) "h8",
       SUM(decode(to_char(first_time, 'hh24'), '09', 1, 0)) "h9",
       SUM(decode(to_char(first_time, 'hh24'), '10', 1, 0)) "h10",
       SUM(decode(to_char(first_time, 'hh24'), '11', 1, 0)) "h11",
       SUM(decode(to_char(first_time, 'hh24'), '12', 1, 0)) "h12",
       SUM(decode(to_char(first_time, 'hh24'), '13', 1, 0)) "h13",
       SUM(decode(to_char(first_time, 'hh24'), '14', 1, 0)) "h14",
       SUM(decode(to_char(first_time, 'hh24'), '15', 1, 0)) "h15",
       SUM(decode(to_char(first_time, 'hh24'), '16', 1, 0)) "h16",
       SUM(decode(to_char(first_time, 'hh24'), '17', 1, 0)) "h17",
       SUM(decode(to_char(first_time, 'hh24'), '18', 1, 0)) "h18",
       SUM(decode(to_char(first_time, 'hh24'), '19', 1, 0)) "h19",
       SUM(decode(to_char(first_time, 'hh24'), '20', 1, 0)) "h20",
       SUM(decode(to_char(first_time, 'hh24'), '21', 1, 0)) "h21",
       SUM(decode(to_char(first_time, 'hh24'), '22', 1, 0)) "h22",
       SUM(decode(to_char(first_time, 'hh24'), '23', 1, 0)) "h23",
       round(count(1) / 24, 2) "Avg"
  FROM V$log_history
 group by trunc(first_time), to_char(first_time, 'Dy')
 Order by 1
/

Script:Tablespace Report

该脚本用以汇总表空间使用情况报告:

REM tablespace report


set linesize 200


select a.tablespace_name,
       round(a.bytes_alloc / 1024 / 1024) megs_alloc,
       round(nvl(b.bytes_free, 0) / 1024 / 1024) megs_free,
       round((a.bytes_alloc - nvl(b.bytes_free, 0)) / 1024 / 1024) megs_used,
       round((nvl(b.bytes_free, 0) / a.bytes_alloc) * 100) Pct_Free,
       100 - round((nvl(b.bytes_free, 0) / a.bytes_alloc) * 100) Pct_used,
       round(maxbytes / 1048576) Max
  from (select f.tablespace_name,
               sum(f.bytes) bytes_alloc,
               sum(decode(f.autoextensible, 'YES', f.maxbytes, 'NO', f.bytes)) maxbytes
          from dba_data_files f
         group by tablespace_name) a,
       (select f.tablespace_name, sum(f.bytes) bytes_free
          from dba_free_space f
         group by tablespace_name) b
 where a.tablespace_name = b.tablespace_name(+)
union all
select h.tablespace_name,
       round(sum(h.bytes_free + h.bytes_used) / 1048576) megs_alloc,
       round(sum((h.bytes_free + h.bytes_used) - nvl(p.bytes_used, 0)) /
             1048576) megs_free,
       round(sum(nvl(p.bytes_used, 0)) / 1048576) megs_used,
       round((sum((h.bytes_free + h.bytes_used) - nvl(p.bytes_used, 0)) /
             sum(h.bytes_used + h.bytes_free)) * 100) Pct_Free,
       100 -
       round((sum((h.bytes_free + h.bytes_used) - nvl(p.bytes_used, 0)) /
             sum(h.bytes_used + h.bytes_free)) * 100) pct_used,
       round(sum(f.maxbytes) / 1048576) max
  from sys.v_$TEMP_SPACE_HEADER h,
       sys.v_$Temp_extent_pool  p,
       dba_temp_files           f
 where p.file_id(+) = h.file_id
   and p.tablespace_name(+) = h.tablespace_name
   and f.file_id = h.file_id
   and f.tablespace_name = h.tablespace_name
 group by h.tablespace_name
 ORDER BY 1
/


    SELECT d.tablespace_name "Name", 
                TO_CHAR(NVL(a.bytes / 1024 / 1024, 0),'99,999,990.900') "Size (M)", 
                TO_CHAR(NVL(t.hwm, 0)/1024/1024,'99999999.999')  "HWM (M)",
                TO_CHAR(NVL(t.hwm / a.bytes * 100, 0), '990.00') "HWM % " ,
                TO_CHAR(NVL(t.bytes/1024/1024, 0),'99999999.999') "Using (M)", 
	        TO_CHAR(NVL(t.bytes / a.bytes * 100, 0), '990.00') "Using %" 
           FROM sys.dba_tablespaces d, 
                (select tablespace_name, sum(bytes) bytes from dba_temp_files group by tablespace_name) a,
                (select tablespace_name, sum(bytes_cached) hwm, sum(bytes_used) bytes from v$temp_extent_pool group by tablespace_name) t
          WHERE d.tablespace_name = a.tablespace_name(+) 
            AND d.tablespace_name = t.tablespace_name(+) 
            AND d.extent_management like 'LOCAL' 
            AND d.contents like 'TEMPORARY'
/


ttitle - 
   center  'Database Freespace Summary'  skip 2 
 
comp sum of nfrags totsiz avasiz on report 
break on report 

set pages 999
col tsname  format     a16 justify c heading 'Tablespace' 
col nfrags  format 999,990 justify c heading 'Free|Frags' 
col mxfrag  format 999,999 justify c heading 'Largest|Frag (MB)' 
col totsiz  format 999,999 justify c heading 'Total|(MB)' 
col avasiz  format 999,999 justify c heading 'Available|(MB)' 
col pctusd  format     990 justify c heading 'Pct|Used' 

select total.TABLESPACE_NAME tsname,
       D nfrags,
       C/1024/1024 mxfrag,
       A/1024/1024 totsiz,
       B/1024/1024 avasiz,
       (1-nvl(B,0)/A)*100 pctusd
from
    (select sum(bytes) A,
            tablespace_name
            from dba_data_files
            group by tablespace_name) TOTAL,
    (select sum(bytes) B,
            max(bytes) C,
            count(bytes) D, 
            tablespace_name
            from dba_free_space
            group by tablespace_name) FREE
where 
      total.TABLESPACE_NAME=free.TABLESPACE_NAME(+)
/


SELECT t.tablespace_name,
       CASE
         WHEN t.contents = 'TEMPORARY' AND t.extent_management = 'LOCAL' THEN
          u.bytes
         ELSE
          df.user_bytes - NVL(fs.bytes, 0)
       END / 1024 / 1024 used_mb,
       CASE
         WHEN t.contents = 'TEMPORARY' AND t.extent_management = 'LOCAL' THEN
          df.user_bytes - NVL(u.bytes, 0)
         ELSE
          NVL(fs.bytes, 0)
       END / 1024 / 1024 free_mb,
       fs.min_fragment / 1024 / 1024 min_fragment_mb,
       fs.max_fragment / 1024 / 1024 max_fragment_mb,
       (fs.bytes / 1024 / 1024) / fs.fragments avg_fragment_mb,
       fs.fragments,
       t.status,
       t.contents,
       t.logging,
       t.extent_management,
       t.allocation_type,
       t.force_logging,
       t.segment_space_management,
       t.def_tab_compression,
       t.retention,
       t.bigfile
  FROM dba_tablespaces t,
       (SELECT tablespace_name,
               SUM(bytes) bytes,
               MIN(min_fragment) min_fragment,
               MAX(max_fragment) max_fragment,
               SUM(fragments) fragments
          FROM (SELECT tablespace_name,
                       SUM(bytes) bytes,
                       MIN(bytes) min_fragment,
                       MAX(bytes) max_fragment,
                       COUNT(*) fragments
                  FROM dba_free_space
                 GROUP BY tablespace_name
                UNION ALL
                SELECT tablespace_name,
                       SUM(bytes) bytes,
                       MIN(bytes) min_fragment,
                       MAX(bytes) max_fragment,
                       COUNT(*) fragments
                  FROM dba_undo_extents
                 WHERE status = 'EXPIRED'
                 GROUP BY tablespace_name)
         GROUP BY tablespace_name) fs,
       (SELECT tablespace_name, SUM(user_bytes) user_bytes
          FROM dba_data_files
         GROUP BY tablespace_name
        UNION ALL
        SELECT tablespace_name, SUM(user_bytes) user_bytes
          FROM dba_temp_files
         GROUP BY tablespace_name) df,
       (SELECT tablespace_name, SUM(bytes_used) bytes
          FROM gv$temp_extent_pool
         GROUP BY tablespace_name) u
 WHERE t.tablespace_name = df.tablespace_name(+)
   AND t.tablespace_name = fs.tablespace_name(+)
   AND t.tablespace_name = u.tablespace_name(+)
/

Script:收集数据库安全风险评估信息

以下脚本可以用于收集数据库安全风险评估信息:

REM list database vulnerability assessment info

set escape on;
set linesize 140 ;
spool db_vulnerability_assessment.log

Select role
  from dba_roles r
 where role not in ('CONNECT',
                    'RESOURCE',
                    'DBA',
                    'SELECT_CATALOG_ROLE',
                    'EXECUTE_CATALOG_ROLE',
                    'DELETE_CATALOG_ROLE',
                    'EXP_FULL_DATABASE',
                    'WM_ADMIN_ROLE',
                    'IMP_FULL_DATABASE',
                    'RECOVERY_CATALOG_OWNER',
                    'AQ_ADMINISTRATOR_ROLE',
                    'AQ_USER_ROLE',
                    'GLOBAL_AQ_USER_ROLE',
                    'OEM_MONITOR',
                    'HS_ADMIN_ROLE')
   and not exists
 (Select 1 from dba_role_privs p where p.granted_role = r.role)
/

select tp.grantee, tp.table_name
  from dba_tab_privs tp, dba_users u
 where tp.owner = 'SYS'
   and (tp.table_name like 'V_$%' or tp.table_name like 'G_V$')
   and tp.grantee = u.username
   and u.username not in ('SYS',
                          'SYSTEM',
                          'SYSMAN',
                          'EXFSYS',
                          'WMSYS',
                          'OLAPSYS',
                          'OUTLN',
                          'DBSNMP',
                          'ORDSYS',
                          'ORDPLUGINS',
                          'MDSYS',
                          'DMSYS',
                          'CTXSYS',
                          'AURORA$ORB$UNAUTHENTICATED',
                          'XDB',
                          'FLOWS_030000',
                          'FLOWS_FILES')
 order by 1, 2
/


select *
  from (select 'Hidden User in DBA_USERS' ddview, name
          from sys.user$
         where type# = 1
        minus
        select 'Hidden User in DBA_USERS', username from SYS.dba_users) q1
union all
select *
  from (select 'Hidden User in ALL_USERS', name
          from sys.user$
         where type# = 1
        minus
        select 'Hidden User in ALL_USERS', username from SYS.all_users) q2
/



select grantee, granted_role
  from dba_role_privs
 where grantee in (select role from dba_roles)
 order by grantee, granted_role
/

select grantee, privilege, admin_option
  from dba_sys_privs sp, dba_users u
 where sp.GRANTEE = u.username
   and grantee not in ('SYS', 'SYSTEM')
   and privilege in (select name
                       from sys.system_privilege_map
                      where 0 = 1
                         or name like '%ANY%'
                         or name like '%DATABASE%'
                         or name like '%DIRECTORY%'
                         or name like '%LIBRARY%'
                         or name like '%LINK%'
                         or name like '%PROFILE%'
                         or name like '%RESTRICTED%'
                         or name like 'SYS%'
                         or name like '%SYSTEM%'
                         or name like '%TABLESPACE%'
                         or name like '%USER%')
 order by 1
/

select role,
       (select count(*)
          from dba_role_privs rp
         where rp.granted_role = r.role) GRANT_COUNT
  from dba_roles r
 where r.role in ('DBA', 'CONNECT', 'RESOURCE')
 order by 1
/

select grantee, granted_role, admin_option
  from dba_role_privs rp, dba_users u
 where rp.grantee = u.username
   and grantee not in ('SYS', 'SYSTEM')
   and granted_role in (select role
                          from dba_roles
                         where 0 = 1
                            or role like '%CATALOG%'
                            or role like '%DATABASE%'
                            or role like '%DBA%')
 order by 1
/

select distinct profile, resource_name, actual_limit 
from (select P.Profile, p.resource_Name,
             decode(p.limit, 'UNLIMITED', '9999999999999999999', 
                   'NULL', null, to_number(p.limit)) limit,
             limit actual_limit
      from ( select profile, resource_name, 
                    decode(resource_name,  'IDLE_TIME', decode(limit, 'DEFAULT', 'UNLIMITED', limit),
                                           'FAILED_LOGIN_ATTEMPTS', decode(limit, 'DEFAULT', '10', limit),
                                           'PASSWORD_LIFE_TIME', decode(limit, 'DEFAULT', 'UNLIMITED', limit),
                                           'PASSWORD_REUSE_MAX', decode(limit, 'DEFAULT', 'UNLIMITED', limit),
                                           'PASSWORD_REUSE_TIME', decode(limit, 'DEFAULT', 'UNLIMITED', limit),
                                           'PASSWORD_GRACE_TIME', decode(limit, 'DEFAULT', 'UNLIMITED', limit),
                                'PASSWORD_VERIFY_FUNCTION', decode(limit, 'NULL', '0', null, 0, 'DEFAULT', 0, 1), limit) limit
              from   dba_profiles
              where resource_name in ('IDLE_TIME', 'FAILED_LOGIN_ATTEMPTS',
                                      'PASSWORD_LIFE_TIME', 'PASSWORD_REUSE_MAX',
                                      'PASSWORD_REUSE_TIME','PASSWORD_GRACE_TIME',
                                      'PASSWORD_VERIFY_FUNCTION')) p ) 
where 1=0 
or    (RESOURCE_NAME = 'IDLE_TIME' AND LIMIT > 60)
or    (RESOURCE_NAME = 'FAILED_LOGIN_ATTEMPTS' AND LIMIT > 3)
or    (RESOURCE_NAME = 'PASSWORD_LIFE_TIME' AND LIMIT > 90)
or    (RESOURCE_NAME = 'PASSWORD_REUSE_MAX' AND LIMIT > 20)
or    (RESOURCE_NAME = 'PASSWORD_REUSE_TIME' AND LIMIT > 180)
or    (RESOURCE_NAME = 'PASSWORD_GRACE_TIME' AND LIMIT > 3)
or    (RESOURCE_NAME = 'PASSWORD_VERIFY_FUNCTION' AND LIMIT = 0)
order by 1,2
/

Select s.owner, s.synonym_name, s.table_owner, s.table_name
  from sys.DBA_synonyms s
 where not exists (Select 'x'
          from sys.DBA_objects o
         where o.owner = s.table_owner
           and o.object_name = s.table_name)
   and db_link is null
   and s.owner <> 'PUBLIC'
 order by 1
/

Select distinct profile
  from dba_profiles
minus
Select distinct profile from dba_users
/

select table_name
  from dba_tab_privs
 where owner = 'SYS'
   and grantee = 'PUBLIC'
   and table_name in ('UTL_SMTP',
                      'UTL_TCP',
                      'UTL_HTTP',
                      'UTL_FILE',
                      'DBMS_RANDOM',
                      'DBMS_LOB',
                      'DBMS_SYS_SQL',
                      'DBMS_BACKUP_RESTORE',
                      'EMD_SYSTEM',
                      'DBMS_NAMESPACE',
                      'DBMS_SCHEDULER')
 order by 1
/ 
 

select username, password from dba_users order by 1
/


select tp.grantee, tp.table_name, tp.privilege
  from dba_tab_privs tp, dba_users u, dba_tables t
 where tp.owner = 'SYS'
   and tp.grantee = u.username
   and tp.owner = t.owner
   and tp.table_name = t.table_name
   and u.username not in ('SYS',
                          'SYSTEM',
                          'SYSMAN',
                          'EXFSYS',
                          'WMSYS',
                          'OLAPSYS',
                          'OUTLN',
                          'DBSNMP',
                          'ORDSYS',
                          'ORDPLUGINS',
                          'MDSYS',
                          'CTXSYS',
                          'AURORA$ORB$UNAUTHENTICATED',
                          'XDB',
                          'FLOWS_030000',
                          'FLOWS_FILES')
 order by 1, 2, 3
/
 
 select sp.grantee, sp.privilege
   from dba_sys_privs sp, dba_users u
  where sp.admin_option = 'YES'
    and u.username = sp.grantee
    and u.username not in ('SYS',
                           'SYSTEM',
                           'SYSMAN',
                           'EXFSYS',
                           'WMSYS',
                           'OLAPSYS',
                           'OUTLN',
                           'DBSNMP',
                           'ORDSYS',
                           'ORDPLUGINS',
                           'MDSYS',
                           'CTXSYS',
                           'AURORA$ORB$UNAUTHENTICATED',
                           'XDB',
                           'FLOWS_030000',
                           'FLOWS_FILES')
  order by 1, 2
/
  
  select p.grantee, p.owner, p.table_name, p.privilege
    from dba_tab_privs p, dba_users u
   where p.grantable = 'YES'
     and u.USERNAME = p.grantee
     and u.username not in ('SYS',
                            'SYSTEM',
                            'SYSMAN',
                            'EXFSYS',
                            'WMSYS',
                            'OLAPSYS',
                            'OUTLN',
                            'DBSNMP',
                            'ORDSYS',
                            'ORDPLUGINS',
                            'MDSYS',
                            'CTXSYS',
                            'AURORA$ORB$UNAUTHENTICATED',
                            'XDB',
                            'FLOWS_030000',
                            'FLOWS_FILES')
   order by 1, 2, 3, 4
/

select username
  from dba_users
 where account_status!='EXPIRED \& LOCKED'
 order by 1
/

Select s.synonym_name, s.table_owner, s.table_name
  from sys.DBA_synonyms s
 where not exists (Select 'x'
          from sys.DBA_objects o
         where o.owner = s.table_owner
           and o.object_name = s.table_name)
   and db_link is null
   and s.owner = 'PUBLIC'
 order by 1
/

select r.grantee, r.granted_role
  from dba_role_privs r, dba_users u
 where r.admin_option = 'YES'
   and u.username = r.grantee
   and u.username not in ('SYS',
                          'SYSTEM',
                          'SYSMAN',
                          'EXFSYS',
                          'WMSYS',
                          'OLAPSYS',
                          'OUTLN',
                          'DBSNMP',
                          'ORDSYS',
                          'ORDPLUGINS',
                          'MDSYS',
                          'CTXSYS',
                          'AURORA$ORB$UNAUTHENTICATED',
                          'XDB',
                          'FLOWS_030000',
                          'FLOWS_FILES')
 order by 1, 2
/


select username
  from dba_users
 where password = 'EXTERNAL'
 order by username
/

沪ICP备14014813号-2

沪公网安备 31010802001379号