V$object_usage
We usually use v$object_usage view to see whether an index is no longer required so we can drop it or not. My question is which column in this view gives me this information provided that the columns are the following:
SQL> desc v$object_usage
Name
INDEX_NAME
TABLE_NAME
MONITORING
USED
START_MONITORING
END_MONITORING
Thanks in advance
INDEX_NAME - NAME OF THE INDEX
TABLE_NAME - NAME OF THE TABLE, INDEX BELONGS TO
MONITORING - MONITORING (YES/NO)
USED - USED SINCE START MONITORING (Y/N)
START_MONITORING - MONITORING START DATE
END_MONITORING - MONITORING END DATE.
Say you want to monitor all indexes for the period of 1 week and if you see USED=NO for any indexes in v$object_usage, you can think of dorp the index.
Jaffar
Similar Messages
-
Monitoring Index without rows in v$object_usage !!!
Hello Gurus,
OS - Solaris
Oracle - 92
I was generating a ddlscript to start monitoring index usage,
I've run the sql below :
@db92 > alter index INTRANET.PK_OWPDO MONITORING USAGE
2 ;
Index altered.
When I query the table V$OBJECT_USAGE i don't see anything when I should see
the
INDEX_NAME
TABLE_NAME
MONITORING YES
USED
START_MONITORING
END_MONITORING
@db92 > select * from V$OBJECT_USAGE ;
no rows selected
@db92 >
Does someone already got this issue before?
Thxs in advanceYou should first use index:
SQL> CREATE INDEX job_idx ON emp(job);
Indeks zosta│ utworzony.
SQL> ALTER INDEX job_idx MONITORING USAGE;
Indeks zosta│ zmieniony.
SQL> SET AUTOTRACE ON;
SQL> SELECT ename, job FROM emp WHERE job = 'SALESMAN';
ENAME JOB
ALLEN SALESMAN
WARD SALESMAN
MARTIN SALESMAN
TURNER SALESMAN
Plan wykonywania
Plan hash value: 3343541934
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Tim
e |
| 0 | SELECT STATEMENT | | 3 | 42 | 2 (0)| 00:
00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| EMP | 3 | 42 | 2 (0)| 00:
00:01 |
|* 2 | INDEX RANGE SCAN | JOB_IDX | 3 | | 1 (0)| 00:
00:01 |
Predicate Information (identified by operation id):
2 - access("JOB"='SALESMAN')
Statystyki
241 recursive calls
3 db block gets
51 consistent gets
0 physical reads
536 redo size
546 bytes sent via SQL*Net to client
400 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
6 sorts (memory)
0 sorts (disk)
4 rows processed
SQL> SELECT index_name, monitoring, used, start_monitoring FROM v$object_usage;
INDEX_NAME MON USE START_MONITORING
JOB_IDX YES YES 01/27/2009 10:07:25
SQL> -
Different users values from v$object_usage
Hi Gurus,
I have X_BANK user who is application user who owns all the tables of database.
We started index monitoring for all the indexes of X_BANK user.
But when we loggin to database / as sysdba, we are not able to see results of X_BANK and when we login to database with X_BANK then we see objects usage in v$object_usage.
Why we cann't see different users v$object_usage with /as sysdba
Please advice me and help me
Thanks & Regardsoramnts wrote:
Hi Gurus,
I have X_BANK user who is application user who owns all the tables of database.
We started index monitoring for all the indexes of X_BANK user.
But when we loggin to database / as sysdba, we are not able to see results of X_BANK and when we login to database with X_BANK then we see objects usage in v$object_usage.
Why we cann't see different users v$object_usage with /as sysdba
The object is a per user kind of object. Its not a centralized kind of view. Here is the same kind of thing in my test db,
REM- I am using here Sys user and would query the view. Also I shall create couple of tables and indexes in another schema and would see what the view shows in that schema.
Session-1(Sys)
SQL> select * from V$object_usage;
no rows selected
SQL> /
no rows selected
SQL> sbow use
SP2-0042: unknown command "sbow use" - rest of line ignored.
SQL> sho user
USER is "SYS"
SQL> exit
Session--2
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> create table test_ou(a number);
Table created.
SQL> create index testidx on test_ou(a);
Index created.
SQL> select * from V$object_usage;
no rows selected
SQL> alter index testidx monitoring usage;
Index altered.
SQL> select * from V$object_usage;
INDEX_NAME TABLE_NAME MON USE
START_MONITORING END_MONITORING
TESTIDX TEST_OU YES NO
09/18/2009 21:56:56
SQL> create table test2(a number);
Table created.
SQL> create index testidx2 on test2(a);
Index created.
SQL> alter index testidx2 monitoring usage;
Index altered.
SQL> select * from V$object_usage;
INDEX_NAME TABLE_NAME MON USE
START_MONITORING END_MONITORING
TESTIDX TEST_OU YES NO
09/18/2009 21:56:56
TESTIDX2 TEST2 YES NO
09/18/2009 21:57:26
SQL>Works exactly as it should be.
HTH
Aman.... -
Need suggestion on STATSPACK report
Problem:
Application running Very slow that too not consistent.
i am unable to find out where the problem persists.
I have given necessary details and attached Statspack report with this mail.
Need help very urgently...
Database Info.
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
System Information:
Item Value
OS Name Microsoft Windows 2000 Advanced Server
Version 5.0.2195 Service Pack 3 Build 2195
OS Manufacturer Microsoft Corporation
System Name NHOUSE
System Manufacturer HP
System Model ProLiant DL380 G3
System Type X86-based PC
Processor x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2384 Mhz
Processor x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2384 Mhz
Windows Directory C:\WINNT
System Directory C:\WINNT\System32
Total Physical Memory 1,572,372 KB
Available Physical Memory 865,600 KB
Total Virtual Memory 5,086,520 KB
Available Virtual Memory 3,755,652 KB
Page File Space 3,514,148 KB
Page File C:\pagefile.sys
Other Info:
Shared Server Mode
No. of Instance Running : 1(ST011)
No. of Application running for this instance : 1 (Softtrack)
Database Type : OLTP (Order Entry System with report generations)
No of users : 2(Object Schema and AccessSchema)
File Placement :
All FIles placed in single disk since lack of disks.
StatsPack report:
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
ST011 1063661848 st011 1 9.2.0.1.0 NO NHOUSE
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 41 07-Aug-03 09:37:30 15 4.3
End Snap: 62 08-Aug-03 04:00:04 15 3.8
Elapsed: 1,102.57 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 136M Std Block Size: 8K
Shared Pool Size: 168M Log Buffer: 512K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 445.51 1,374.71
Logical reads: 870.05 2,684.69
Block changes: 2.11 6.51
Physical reads: 15.05 46.44
Physical writes: 4.02 12.42
User calls: 16.13 49.78
Parses: 5.49 16.93
Hard parses: 0.89 2.76
Sorts: 1.36 4.21
Logons: 0.00 0.01
Executes: 5.84 18.02
Transactions: 0.32
% Blocks changed per Read: 0.24 Recursive Call %: 57.93
Rollback per transaction %: 50.19 Rows per Sort: 148.29
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.01 In-memory Sort %: 99.59
Library Hit %: 93.31 Soft Parse %: 83.72
Execute to Parse %: 6.04 Latch Hit %: 99.99
Parse CPU to Parse Elapsd %: 97.75 % Non-Parse CPU: 86.83
Shared Pool Statistics Begin End
Memory Usage %: 18.19 92.77
% SQL with executions>1: 47.57 41.10
% Memory for SQL w/exec>1: 44.60 42.30
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 1,025 46.80
control file parallel write 21,433 558 25.48
SQL*Net more data to client 495,625 181 8.27
log file parallel write 12,335 102 4.64
log file sync 10,697 89 4.06
Wait Events for DB: ST011 Instance: st011 Snaps: 41 -62
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
control file parallel write 21,433 0 558 26 1.0
SQL*Net more data to client 495,625 0 181 0 23.1
log file parallel write 12,335 12,030 102 8 0.6
log file sync 10,697 1 89 8 0.5
db file scattered read 75,969 0 81 1 3.5
direct path read 210,093 0 66 0 9.8
db file parallel write 2,480 1,240 51 21 0.1
db file sequential read 19,775 0 21 1 0.9
control file sequential read 17,629 0 6 0 0.8
direct path write 774 0 5 7 0.0
enqueue 9 0 2 231 0.0
SQL*Net break/reset to clien 2,552 0 1 1 0.1
log file sequential read 30 0 1 21 0.0
db file single write 32 0 0 11 0.0
switch logfile command 2 0 0 144 0.0
control file single write 5 0 0 29 0.0
log file single write 2 0 0 12 0.0
LGWR wait for redo copy 78 1 0 0 0.0
latch free 7 0 0 0 0.0
async disk IO 13 0 0 0 0.0
buffer busy waits 9 0 0 0 0.0
reliable message 3 0 0 0 0.0
undo segment extension 9 9 0 0 0.0
SQL*Net message from client 1,067,763 0 116,054 109 49.8
virtual circuit status 1,005,679 1,028 68,949 69 46.9
jobq slave wait 786 753 2,403 3057 0.0
SQL*Net more data from clien 5,972 0 4 1 0.3
SQL*Net message to client 1,067,776 0 3 0 49.8
Background Wait Events for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
control file parallel write 21,376 0 556 26 1.0
log file parallel write 12,335 12,030 102 8 0.6
db file parallel write 2,480 1,240 51 21 0.1
control file sequential read 13,975 0 3 0 0.7
db file scattered read 220 0 1 3 0.0
log file sequential read 30 0 1 21 0.0
db file sequential read 231 0 1 2 0.0
direct path write 8 0 0 7 0.0
log file single write 2 0 0 12 0.0
direct path read 8 0 0 3 0.0
LGWR wait for redo copy 78 1 0 0 0.0
log file sync 1 0 0 11 0.0
rdbms ipc reply 42 0 0 0 0.0
async disk IO 13 0 0 0 0.0
buffer busy waits 4 0 0 0 0.0
rdbms ipc message 89,265 77,930 400,950 4492 4.2
smon timer 225 210 67,257 ###### 0.0
SQL ordered by Gets for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
3,329,463 78 42,685.4 5.8 33.84 40.89 2765271770
select distinct s1.prospectna, s1.praddr1, s1.praddr2, s1.praddr
3, s1.prcity, s1.prstate from (select distinct a.oanno as uoanno
, decode(a.oanno,NUll,b.oandt,a.oandt) as uoandt, ltrim(rtrim(up
per(prospectna))) prospectna, decode(praddr1,null,' ',ltrim(rtri
m(upper(praddr1)))) as praddr1, decode(praddr2,null,' ',ltrim(rt
2,150,915 78 27,575.8 3.7 34.70 231.25 1951422680
select s1.* from (select distinct a.oanno as uoanno, decode(a.oa
nno,Null,b.roanno,a.roanno) as uroanno, decode(a.oanno,NUll,b.oa
ndt,a.oandt) as uoandt, decode(a.oanno,NUll,b.pono,a.pono) as up
ono, decode(a.oanno,Null,b.podt,a.podt) as upodt, decode(a.oanno
,Null,upper(b.npsloffice),upper(a.npsloffice)) as npsl, decode(a
967,504 387 2,500.0 1.7 3.25 3.32 1647834759
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
869,555 24 36,231.5 1.5 11.56 54.15 569094110
select workorderno, workorddt, a.oanno as uoanno, decode(b.oanno
,Null,a.oandt, b.oandt) as uoandt, decode(b.oanno,Null,a.roanno,
b.roanno) as uroanno, decode(b.oanno,Null,a.pono,b.pono) as up
ono,decode(b.oanno,null,a.podt,b.podt) as upodt, decode(b.oanno
,Null,upper(a.npsloffice),upper(b.npsloffice)) as npsl,decode(b.
821,376 24 34,224.0 1.4 8.73 11.09 1011529824
select distinct ltrim(rtrim(upper(prospectna))) prospectna, deco
de(praddr1,null,' ',ltrim(rtrim(upper(praddr1)))) pr1, decode(pr
addr2,null,' ',ltrim(rtrim(upper(praddr2)))) pr2, decode(pradd
r3,null,' ',ltrim(rtrim(upper(praddr3)))) pr3, decode(prcity,nul
l ,' ', ltrim(rtrim(upper(prcity)))) prcity, decode(prstate,nul
774,701 30 25,823.4 1.3 10.50 26.76 2315633148
select a.oanno as uoanno,a.roanno as uroanno,a.oandt as uoandt,
a.pono as upono,a.podt as upodt,upper(a.npsloffice) as npsl,dec
ode(d.delicity,null,'NOT AVAILABLE',UPPER(d.delicity)) as dely,
ltrim(rtrim(upper(prospectna))) prospectna, decode(praddr1,null
,' ',ltrim(rtrim(upper(praddr1)))) as pr1, decode(praddr2,null,'
761,959 30 25,398.6 1.3 7.63 8.27 1655857706
select distinct ltrim(rtrim(upper(prospectna))) prospectna,ltrim
(rtrim(upper(praddr1))) praddr1,ltrim(rtrim(upper(praddr2))) pra
ddr2,ltrim(rtrim(upper(praddr3))) praddr3,ltrim(rtrim(upper(prci
ty))) prcity,ltrim(rtrim(upper(prstate))) prstate from softdb.
oandetails a, softdb.oanudetails b, softdb.enquiryform, softdb.
650,627 21 30,982.2 1.1 6.92 7.12 4059808258
SQL ordered by Gets for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
Module: SQL*Plus
INSERT into stats$sqltext ( hash_value
, text_subset , piece
, sql_text , address , comman
d_type , last_snap_id )
select st1.hash_value , ss.text_subset
397,508 159 2,500.1 0.7 1.64 1.57 1524142529
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
289,960 144,980 2.0 0.5 10.75 9.52 2091761008
select condition from cdef$ where rowid=:1
287,552 9 31,950.2 0.5 0.00 13.58 2301846564
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate;
broken BOOLEAN := FALSE; BEGIN statspack.snap; :mydate := next_d
ate; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
115,275 169 682.1 0.2 0.81 0.89 1682770808
select * from (select null table_catalog, idx.table_owner table_
schema, idx.table_name table_name, null index_catalog, idx.owner
index_schema, idx.index_name index_name, null primary_key, deco
de(idx.uniqueness, 'UNIQUE', 65535, 0) unique_, decode(idx.index
type, 'CLUSTER', 65535, 0) clustered, null type, null fillfact
95,008 38 2,500.2 0.2 0.39 0.36 3969207777
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
85,527 1 85,527.0 0.1 3.14 4.49 2005338978
BEGIN :RET_VAL := DBMS_METADATA.FETCH_CLOB(:HANDLE);
END;
85,314 1 85,314.0 0.1 3.13 4.30 3633453749
SELECT VALUE(KU$) XMLSCHEMA_T FROM SYS.KU$_XMLSCHEMA_VIEW KU$ WH
ERE KU$.OWNER_NAME='SOFTDB'
55,861 1 55,861.0 0.1 0.66 1.51 2026512687
select s1.* from (select a.oanno as uoanno, decode(a.oanno,NUll,
SQL ordered by Reads for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
37,620 78 482.3 3.8 34.70 231.25 1951422680
select s1.* from (select distinct a.oanno as uoanno, decode(a.oa
nno,Null,b.roanno,a.roanno) as uroanno, decode(a.oanno,NUll,b.oa
ndt,a.oandt) as uoandt, decode(a.oanno,NUll,b.pono,a.pono) as up
ono, decode(a.oanno,Null,b.podt,a.podt) as upodt, decode(a.oanno
,Null,upper(b.npsloffice),upper(a.npsloffice)) as npsl, decode(a
10,262 21 488.7 1.0 7.86 20.17 1017492279
Module: SQL*Plus
INSERT into stats$sql_summary ( snap_id
, dbid , instance_number , text_subset
, sharable_mem , sorts , modu
le , loaded_versions , fetches
, executions , loads , invalidations
10,249 22 465.9 1.0 7.70 20.12 2734029811
Module: SQL*Plus
INSERT into stats$sql_statistics ( snap_id
, dbid , instance_number , total_
sql , total_sql_mem , single_use_sql
, single_use_sql_mem ) select :
b3 , :b2 , :b1 , count(1)
6,164 24 256.8 0.6 11.56 54.15 569094110
select workorderno, workorddt, a.oanno as uoanno, decode(b.oanno
,Null,a.oandt, b.oandt) as uoandt, decode(b.oanno,Null,a.roanno,
b.roanno) as uroanno, decode(b.oanno,Null,a.pono,b.pono) as up
ono,decode(b.oanno,null,a.podt,b.podt) as upodt, decode(b.oanno
,Null,upper(a.npsloffice),upper(b.npsloffice)) as npsl,decode(b.
3,625 30 120.8 0.4 10.50 26.76 2315633148
select a.oanno as uoanno,a.roanno as uroanno,a.oandt as uoandt,
a.pono as upono,a.podt as upodt,upper(a.npsloffice) as npsl,dec
ode(d.delicity,null,'NOT AVAILABLE',UPPER(d.delicity)) as dely,
ltrim(rtrim(upper(prospectna))) prospectna, decode(praddr1,null
,' ',ltrim(rtrim(upper(praddr1)))) as pr1, decode(praddr2,null,'
3,582 7 511.7 0.4 0.17 1.10 2255532526
delete from softdb.oanaddr where oanno not in (select oanno from
softdb.oanitem where regndt='07-Aug-2003' and regnno='00CHEN00
23120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120') and r
egndt='07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-Au
g-2003' and qtnno='00CHEN0023120'
3,110 8 388.8 0.3 1.39 17.41 2559037884
select a.itemdesc, a.mcslno, a.oanno, a.oandt, a.itemsrlno from
softdb.keytab a, softdb.oanups b where a.oanno = b.oanno(+) and
a.oandt = b.oandt(+) and a.itemsrlno = b.itemsrlno(+) and b.oann
o is null union select a.itemdesc, a.mcslno, a.oanno, a.oandt, a
.itemsrlno from softdb.keytab a, softdb.oanups b where a.oanno
2,359 7 337.0 0.2 0.14 0.44 2169388924
delete from softdb.commdeliaddr where regndt='07-Aug-2003' and r
egnno='00CHEN0023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0
SQL ordered by Reads for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
023120' and commid not in (select commid from softdb.commdeliite
ms where regndt='07-Aug-2003' and regnno='00CHEN0023120' and qtn
dt='07-Aug-2003' and qtnno='00CHEN0023120')
1,963 7 280.4 0.2 0.27 2.61 3352066490
delete from softdb.oanlevy where oanno not in (select oanno fro
m softdb.oanitem where regndt='07-Aug-2003' and regnno='00CHEN0
023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120') and
regndt='07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-A
ug-2003' and qtnno='00CHEN0023120'
1,547 2 773.5 0.2 0.08 0.31 2526194774
delete from softdb.oanlevy where oanno not in (select oanno fro
m softdb.oanitem where regndt='07-Aug-2003' and regnno='00MUMB0
023121' and qtndt='07-Aug-2003' and qtnno='00MUMB0023121') and
regndt='07-Aug-2003' and regnno='00MUMB0023121' and qtndt='07-A
ug-2003' and qtnno='00MUMB0023121'
1,404 2 702.0 0.1 0.11 0.23 3517028935
select softdb.oanaddr.*, softdb.oanaddr.ROWID from softdb.oanadd
r where delflg='N' and commid is null
1,298 2 649.0 0.1 0.09 0.27 2203325864
delete from softdb.oanaddr where oanno not in (select oanno from
softdb.oanitem where regndt='07-Aug-2003' and regnno='00MUMB00
23121' and qtndt='07-Aug-2003' and qtnno='00MUMB0023121') and r
egndt='07-Aug-2003' and regnno='00MUMB0023121' and qtndt='07-Au
g-2003' and qtnno='00MUMB0023121'
1,261 6 210.2 0.1 0.05 0.15 576637004
delete from softdb.ordterms where commid is not null and regndt=
'07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-Aug-2003'
and qtnno='00CHEN0023120' and commid not in (select commid from
softdb.commdeliitems where regndt='07-Aug-2003' and regnno='00C
HEN0023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120')
1,244 6 207.3 0.1 0.06 0.15 563121091
select softdb.ordterms.*, softdb.ordterms.ROWID from softdb.or
dterms where delflg='N' and regndt ='07-Aug-2003' and regnno='
SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
144,980 144,980 1.0 0.00 0.00 2091761008
select condition from cdef$ where rowid=:1
23,545 0 0.0 0.00 0.00 1981921526
update object_usage set flags=flags+1 where obj#=:1 and bitand(f
lags, 1)=0
16,526 16,519 1.0 0.00 0.00 3016965513
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0,1),
10,812 0 0.0 0.00 0.00 4031175624
alter session set isolation_level = read committed
8,449 13 0.0 0.00 0.00 2963598673
select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= n
ext_date) and (next_date < :2)) or ((last_date is null) and
(next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)
) and (this_date is null) order by next_date, job
8,437 8,437 1.0 0.00 0.00 2964743345
select count(*) from sys.job$ where (next_date > sysdate) and (n
ext_date < (sysdate+5/86400))
4,152 4,152 1.0 0.00 0.00 3879177167
select :V00001 from dual
2,703 45,951 17.0 0.00 0.00 1947239399
Module: VPXDBA
/* OracleOEM */ select value from v$parameter where name in ('d
b_block_buffers','buffer_pool_keep','db_block_lru_latches','buff
er_pool_recycle', 'log_buffer','cursor_space_for_time','open_cur
sors','shared_pool_size', 'shared_pool_reserved_size','session_c
ached_cursors','parallel_min_servers', 'parallel_max_servers','s
2,533 628,184 248.0 0.00 0.00 71821313
Module: VPXDBA
/* OracleOEM */ select value from v$sysstat order by statistic#
2,532 2,532 1.0 0.00 0.00 3077298272
Module: VPXDBA
/* OracleOEM */ select sum(decode(name,'free memory',bytes)), su
m(bytes) from v$sgastat where pool='shared pool'
2,504 2,504 1.0 0.00 0.00 1818901441
Module: VPXDBA
/* OracleOEM */ select sum(decode(status,'ACTIVE',1,0)),sum(deco
de(status,'INACTIVE',1,0))from v$session
2,492 62,998 25.3 0.01 0.01 2080871317
Module: VPXDBA
SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
/* OracleOEM */ select event,time_waited,total_waits, total_tim
eouts from v$system_event where event not in ('PX Idle Wait','p
mon timer','smon timer','rdbms ipc message', 'parallel dequeue w
ait', 'parallel query dequeue','virtual circuit', 'SQL*Net
message from client','SQL*Net message to client', 'SQL*Ne
2,389 37 0.0 0.00 0.00 4266807470
Module: VPXDBA
/* OracleOEM */ select event, count(*) from v$session_wait where
wait_time = 0 and event not in ('PX Idle Wait','pmon timer','s
mon timer','rdbms ipc message', 'parallel dequeue wait', 'parall
el query dequeue','virtual circuit', 'SQL*Net message from clien
t','SQL*Net message to client','SQL*Net more data to client', 'S
2,196 2,196 1.0 0.00 0.00 1903595484
Module: VPXDBA
/* OracleOEM */ select sum(pins), sum(pinhits), sum(reloads) fro
m v$librarycache
2,196 24,493 11.2 0.00 0.00 2352784315
Module: VPXDBA
/* OracleOEM */ SELECT s.sid, s.serial#, s.fixed_table_sequence,
s.status,NVL(s.username,bg.name), cpu.value tot_cpu, physio.va
lue phys_reads,parse.value hard_parse, mem.value pga,logio.v
alue log_reads FROM v$session s, v$bgprocess bg, (SELE
CT sid,value FROM v$sesstat WHERE statistic# = :1) cpu, (SEL
2,046 3,716 1.8 0.00 0.00 360204161
SELECT BUCKET, ENDPTHASH, ENDPTVAL, UTL_RAW.CAST_TO_
RAW(ENDPTVAL) ENDPTVAL_RAW FROM SYS.EXU8HSTU WHERE
POBJID = :1 AND INTCOL = :2 ORDER BY BUCKET
1,507 0 0.0 0.00 0.00 1930352736
select softdb.oanitem.*, softdb.oanitem.ROWID from softdb.oanite
m where delflg='N' and oandt='' and oanno=0 order by itemsrlno
1,507 0 0.0 0.00 0.00 3801509667
select softdb.oanudetails.*, softdb.oanudetails.ROWID from softd
b.oanudetails where delflg='N' and oandt='' and oanno=0
956 897 0.9 0.00 -0.00 2591785020
select obj#,type#,ctime,mtime,stime,status,dataobj#,flags,oid$,
spare1, spare2 from obj$ where owner#=:1 and name=:2 and namespa
ce=:3 and(remoteowner=:4 or remoteowner is null and :4 is null)a
nd(linkname=:5 or linkname is null and :5 is null)and(subname=:6
or subname is null and :6 is null)
939 1,479 1.6 0.00 0.00 1819073277
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
obj#, d_owner#, nvl(property,0),subname from dependency$,obj$ wh
ere d_obj#=:1 and p_obj#=obj#(+) order by order#
939 1,055 1.1 0.00 0.00 4049165760
select order#,columns,types from access$ where d_obj#=:1
SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
807 45,999 57.0 0.00 0.00 2705315382
select length(invcode), softdb.blocnmanager.ROWID from softdb.bl
ocnmanager
550 204 0.4 0.00 0.00 2197684639
BEGIN SYS.DBMS_DESCRIBE.DESCRIBE_PROCEDURE(:object_name,:res1,:r
es2,:overload,:position,:level,:argument,:datatype,:default,:in_
out,:length,:precision,:scale,:radix,:spare); END;
SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
144,980 144,980 39.95 2091761008
select condition from cdef$ where rowid=:1
23,545 23,545 6.49 1981921526
update object_usage set flags=flags+1 where obj#=:1 and bitand(f
lags, 1)=0
10,812 10,812 2.98 4031175624
alter session set isolation_level = read committed
4,152 4,152 1.14 3879177167
select :V00001 from dual
2,379 4 0.66 1635934014
insert into sys.col_usage$ values ( :objn, :coln, decode(bit
and(:flag,1),0,0,1), decode(bitand(:flag,2),0,0,1), decode(b
itand(:flag,4),0,0,1), decode(bitand(:flag,8),0,0,1), decode
(bitand(:flag,16),0,0,1), decode(bitand(:flag,32),0,0,1), :t
ime)
2,336 16,526 0.64 3016965513
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0,1),
1,655 0 0.46 3877138136
SELECT softdb.logpslipitem.*, softdb.logpslipitem.ROWID FROM sof
tdb.logpslipitem
1,507 1,507 0.42 1930352736
select softdb.oanitem.*, softdb.oanitem.ROWID from softdb.oanite
m where delflg='N' and oandt='' and oanno=0 order by itemsrlno
1,507 1,507 0.42 3801509667
select softdb.oanudetails.*, softdb.oanudetails.ROWID from softd
b.oanudetails where delflg='N' and oandt='' and oanno=0
1,357 0 0.37 2921321908
SELECT softdb.keytab.*, softdb.keytab.ROWID FROM softdb.keytab
1,175 0 0.32 126022112
SELECT softdb.logpslip.*, softdb.logpslip.ROWID FROM softdb.logp
slip
1,175 0 0.32 3554166107
select * from softdb.logpslipitem
1,175 0 0.32 3928397926
select * from softdb.logpslip
939 939 0.26 1819073277
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
obj#, d_owner#, nvl(property,0),subname from dependency$,obj$ wh
ere d_obj#=:1 and p_obj#=obj#(+) order by order#
939 939 0.26 4049165760
select order#,columns,types from access$ where d_obj#=:1
807 807 0.22 2705315382
select length(invcode), softdb.blocnmanager.ROWID from softdb.bl
ocnmanager
718 359 0.20 3882939652
INSERT INTO "SOFTDB"."MULTIUSER" ("REGNNO","PROCESSNAME","USRNAM
E","INSTLOCATION","MCNAME","IPADDR","REGNDT") VALUES (:V00001,:V
00002,:V00003,:V00004,:V00005,:V00006,:V00007)
650 325 0.18 3046100812
UPDATE "SOFTDB"."GENCOMMID" SET "GNO"=:V00001,"GDT"=:V00002 WHER
E "GNO"=:V00003 AND "GDT"=:V00004 AND "ROWID"=:V00005
550 550 0.15 2197684639
BEGIN SYS.DBMS_DESCRIBE.DESCRIBE_PROCEDURE(:object_name,:res1,:r
es2,:overload,:position,:level,:argument,:datatype,:default,:in_
out,:length,:precision,:scale,:radix,:spare); END;
510 510 0.14 3187596784
select rownum as srlno,softdb.keytab.itemdesc as item,1 as sets,
qty from (select itemsrlno,itemdesc,1 as qty,oanno,oandt from s
oftdb.oanups where delflg='N' and oandt='' and oanno=0 union se
lect itemsrlno,itemdesc,deliqty/delisets as qty, oanno,oandt fr
om softdb.oanbat where delflg='N' and oandt='' and oanno=0 and i
443 443 0.12 1781254858
DELETE multiuser where floor((((((sysdate-recentrytime)*24*60*60
)/3600)*3600)/60)*60) >='180'
443 443 0.12 3292238282
Select softdb.multiuser.*, softdb.multiuser.ROWID from softdb.mu
ltiuser
422 422 0.12 1919856422
select invcode, softdb.blocnmanager.ROWID from softdb.blocnmanag
er
390 195 0.11 2471695061
UPDATE "SOFTDB"."CUST_MAST" SET "CUST_LST_NO"=:V00001,"CUST_CST_
NO"=:V00002 WHERE "CUST_LST_NO" IS NULL AND "CUST_CST_NO" IS NUL
L AND "ROWID"=:V00003
387 387 0.11 620898497
select * from (select null table_catalog, idx.table_owner table_
schema, idx.table_name table_name, null index_catalog, idx.owner
index_schema, idx.index_name index_name, null primary_key, deco
de(idx.uniqueness, 'UNIQUE', 65535, 0) unique_, decode(idx.index
type, 'CLUSTER', 65535, 0) clustered, null type, null fillfact
SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
387 387 0.11 1647834759
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
Statistic Total per Second per Trans
CPU used by this session 102,453 1.6 4.8
CPU used when call started 102,366 1.6 4.8
CR blocks created 30 0.0 0.0
DBWR buffers scanned 1,184 0.0 0.1
DBWR checkpoint buffers written 7,748 0.1 0.4
DBWR checkpoints 9 0.0 0.0
DBWR free buffers found 1,184 0.0 0.1
DBWR lru scans 1 0.0 0.0
DBWR make free requests 1 0.0 0.0
DBWR summed scan depth 1,184 0.0 0.1
DBWR transaction table writes 295 0.0 0.0
DBWR undo block writes 1,681 0.0 0.1
SQL*Net roundtrips to/from client 1,979,199 29.9 92.3
active txn count during cleanout 682 0.0 0.0
background checkpoints completed 1 0.0 0.0
background checkpoints started 1 0.0 0.0
background timeouts 74,152 1.1 3.5
buffer is not pinned count 45,599,192 689.3 2,126.9
buffer is pinned count 55,241,935 835.1 2,576.7
bytes received via SQL*Net from c 140,543,392 2,124.5 6,555.5
bytes sent via SQL*Net to client 16,971,012,142 256,538.0 791,595.3
calls to get snapshot scn: kcmgss 706,463 10.7 33.0
calls to kcmgas 20,519 0.3 1.0
calls to kcmgcs 591 0.0 0.0
change write time 175 0.0 0.0
cleanout - number of ktugct calls 866 0.0 0.0
cleanouts and rollbacks - consist 16 0.0 0.0
cleanouts only - consistent read 123 0.0 0.0
cluster key scan block gets 266,789 4.0 12.4
cluster key scans 104,922 1.6 4.9
commit cleanout failures: callbac 5 0.0 0.0
commit cleanouts 28,117 0.4 1.3
commit cleanouts successfully com 28,112 0.4 1.3
commit txn count during cleanout 458 0.0 0.0
consistent changes 295 0.0 0.0
consistent gets 57,426,682 868.1 2,678.6
consistent gets - examination 2,489,520 37.6 116.1
cursor authentications 27,054 0.4 1.3
data blocks consistent reads - un 283 0.0 0.0
db block changes 139,574 2.1 6.5
db block gets 130,344 2.0 6.1
deferred (CURRENT) block cleanout 17,394 0.3 0.8
dirty buffers inspected 3 0.0 0.0
enqueue conversions 583 0.0 0.0
enqueue releases 112,816 1.7 5.3
enqueue requests 112,817 1.7 5.3
enqueue waits 9 0.0 0.0
execute count 386,246 5.8 18.0
free buffer inspected 3 0.0 0.0
free buffer requested 578,165 8.7 27.0
hot buffers moved to head of LRU 3,435 0.1 0.2
immediate (CR) block cleanout app 139 0.0 0.0
immediate (CURRENT) block cleanou 3,076 0.1 0.1
index fast full scans (full) 602 0.0 0.0
index fetch by key 1,311,085 19.8 61.2
index scans kdiixs1 26,311,841 397.7 1,227.3
Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
Statistic Total per Second per Trans
leaf node 90-10 splits 28 0.0 0.0
leaf node splits 272 0.0 0.0
logons cumulative 181 0.0 0.0
messages received 12,637 0.2 0.6
messages sent 12,637 0.2 0.6
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 28,721,411 434.2 1,339.7
opened cursors cumulative 327,186 5.0 15.3
parse count (failures) 6,872 0.1 0.3
parse count (hard) 59,067 0.9 2.8
parse count (total) 362,907 5.5 16.9
parse time cpu 13,489 0.2 0.6
parse time elapsed 13,800 0.2 0.6
physical reads 995,675 15.1 46.4
physical reads direct 426,595 6.5 19.9
physical writes 266,178 4.0 12.4
physical writes direct 258,427 3.9 12.1
physical writes non checkpoint 261,972 4.0 12.2
prefetched blocks 473,387 7.2 22.1
process last non-idle time 124,048,980,297 1,875,154.6 5,786,136.5
recovery blocks read 0 0.0 0.0
recursive calls 1,469,320 22.2 68.5
recursive cpu usage 5,757 0.1 0.3
redo blocks written 66,895 1.0 3.1
redo entries 73,459 1.1 3.4
redo size 29,472,392 445.5 1,374.7
redo synch time 8,922 0.1 0.4
redo synch writes 10,687 0.2 0.5
redo wastage 3,617,376 54.7 168.7
redo write time 9,727 0.2 0.5
redo writer latching time 3 0.0 0.0
redo writes 12,337 0.2 0.6
rollback changes - undo records a 22 0.0 0.0
rollbacks only - consistent read 19 0.0 0.0
rows fetched via callback 1,127,456 17.0 52.6
session connect time 124,048,980,297 1,875,154.6 5,786,136.5
session logical reads 57,557,026 870.1 2,684.7
session pga memory 428,308 6.5 20.0
session pga memory max 63,116 1.0 2.9
session uga memory 4,296,889,276 64,952.8 200,424.0
session uga memory max 123,298,368 1,863.8 5,751.1
shared hash latch upgrades - no w 26,310,630 397.7 1,227.2
sorts (disk) 367 0.0 0.0
sorts (memory) 89,870 1.4 4.2
sorts (rows) 13,381,553 202.3 624.2
summed dirty queue length 3 0.0 0.0
switch current to new buffer 6,910 0.1 0.3
table fetch by rowid 32,481,075 491.0 1,515.1
table fetch continued row 13,074 0.2 0.6
table scan blocks gotten 8,213,616 124.2 383.1
table scan rows gotten 303,670,060 4,590.4 14,164.4
table scans (long tables) 2,799 0.0 0.1
table scans (short tables) 76,890 1.2 3.6
transaction rollbacks 11 0.0 0.0
user calls 1,067,154 16.1 49.8
user commits 10,678 0.2 0.5
Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
Statistic Total per Second per Trans
user rollbacks 10,761 0.2 0.5
workarea executions - onepass 803 0.0 0.0
workarea executions - optimal 126,987 1.9 5.9
write clones created in foregroun 2 0.0 0.0
Tablespace IO Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
TEMP
397,017 6 0.8 1.1 199,016 3 0 0.0
SOFTDB
91,699 1 1.0 6.1 1,823 0 0 0.0
USERS
450 0 5.3 1.0 2,524 0 0 0.0
SYSTEM
2,438 0 2.9 1.3 239 0 0 0.0
INDX
1,095 0 4.4 1.5 1,153 0 0 0.0
UNDOTBS1
3 0 13.3 1.0 2,017 0 8 0.0
XDB
74 0 4.9 1.1 1 0 0 0.0
DRSYS
3 0 6.7 1.0 1 0 0 0.0
TOOLS
3 0 6.7 1.0 1 0 0 0.0
File IO Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
DRSYS E:\ORACLE\ORADATA\ST011\DRSYS01.DBF
3 0 6.7 1.0 1 0 0
INDX E:\ORACLE\ORADATA\ST011\INDX01.DBF
1,095 0 4.4 1.5 1,153 0 0
SOFTDB E:\ORACLE\ORADATA\ST011\SOFTDB01.DBF
91,699 1 1.0 6.1 1,823 0 0
SYSTEM E:\ORACLE\ORADATA\ST011\SYSTEM01.DBF
2,438 0 2.9 1.3 239 0 0
TEMP E:\ORACLE\ORADATA\ST011\TEMP01.DBF
397,017 6 0.8 1.1 199,016 3 0
TOOLS E:\ORACLE\ORADATA\ST011\TOOLS01.DBF
3 0 6.7 1.0 1 0 0
UNDOTBS1 E:\ORACLE\ORADATA\ST011\UNDOTBS01.DBF
3 0 13.3 1.0 2,017 0 8 0.0
USERS E:\ORACLE\ORADATA\ST011\USERS01.DBF
450 0 5.3 1.0 2,524 0 0
XDB E:\ORACLE\ORADATA\ST011\XDB01.DBF
74 0 4.9 1.1 1 0 0
Buffer Pool Statistics for DB: ST011 Instance: st011 Snaps: 41 -62
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Write Buffer
Number of Cache Buffer Physical Physical Buffer Complete Busy
P Buffers Hit % Gets Reads Writes Waits Waits Waits
D 17,017 99.5 110,003,087 569,129 7,751 0 0 8
Instance Recovery Stats for DB: ST011 Instance: st011 Snaps: 41 -62
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
B 34 14 193 771 341 184320 341
E 34 14 141 727 20 184320 20
Buffer Pool Advisory for DB: ST011 Instance: st011 End Snap: 62
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate
Size for Size Buffers for Est Physical Estimated
P Estimate (M) Factr Estimate Read Factor Physical Reads
D 16 .1 2,002 152.10 87,449,432
D 32 .2 4,004 87.09 50,071,540
D 48 .4 6,006 55.08 31,668,480
D 64 .5 8,008 36.93 21,232,658
D 80 .6 10,010 16.08 9,246,410
D 96 .7 12,012 6.32 3,635,060
D 112 .8 14,014 2.48 1,423,893
D 128 .9 16,016 1.09 627,130
D 136 1.0 17,017 1.00 574,935
D 144 1.1 18,018 0.96 552,001
D 160 1.2 20,020 0.91 525,903
D 176 1.3 22,022 0.90 518,390
D 192 1.4 24,024 0.90 518,390
D 208 1.5 26,026 0.90 518,390
D 224 1.6 28,028 0.90 518,390
D 240 1.8 30,030 0.90 518,390
D 256 1.9 32,032 0.90 518,390
D 272 2.0 34,034 0.90 518,390
D 288 2.1 36,036 0.90 518,390
D 304 2.2 38,038 0.90 518,390
D 320 2.4 40,040 0.90 518,390
Buffer wait Statistics for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by wait time desc, waits desc
Tot Wait Avg
Class Waits Time (s) Time (ms)
undo header 9 0 0
PGA Aggr Target Stats for DB: ST011 Instance: st011 Snaps: 41 -62
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
-> Auto PGA Target - actual workarea memory target
-> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
-> %PGA W/A Mem - percentage of PGA memory allocated to workareas
-> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
-> %Man W/A Mem - percentage of workarea memory under manual control
PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
72.5 6,444 2,443
%PGA %Auto %Man
PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
B 104 80 17.8 0.0 .0 .0 .0 5,324
E 104 81 18.5 0.0 .0 .0 .0 5,324
PGA Aggr Target Histogram for DB: ST011 Instance: st011 Snaps: 41 -62
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
8K 16K 119,925 119,925 0 0
16K 32K 1,796 1,796 0 0
32K 64K 147 147 0 0
64K 128K 1,167 1,167 0 0
128K 256K 562 562 0 0
256K 512K 647 615 32 0
512K 1024K 2,770 2,412 358 0
1M 2M 588 256 332 0
2M 4M 70 10 60 0
4M 8M 36 20 16 0
16M 32M 4 0 4 0
1G 2G 1 0 1 0
PGA Memory Advisory for DB: ST011 Instance: st011 End Snap: 62
-> When using Auto Memory Mgmt, minimally choose a pga_aggregate_target value
where Estd PGA Overalloc Count is 0
Estd Extra Estd PGA Estd PGA
PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
Est (MB) Factr Processed Written to Disk Hit % Count
13 0.1 1,552.2 362.1 81.0 27
26 0.3 1,552.2 85.5 95.0 0
52 0.5 1,552.2 74.5 95.0 0
78 0.8 1,552.2 74.5 95.0 0
104 1.0 1,552.2 55.1 97.0 0
125 1.2 1,552.2 0.0 100.0 0
146 1.4 1,552.2 0.0 100.0 0
166 1.6 1,552.2 0.0 100.0 0
187 1.8 1,552.2 0.0 100.0 0
208 2.0 1,552.2 0.0 100.0 0
312 3.0 1,552.2 0.0 100.0 0
416 4.0 1,552.2 0.0 100.0 0
624 6.0 1,552.2 0.0 100.0 0
832 8.0 1,552.2 0.0 100.0 0
Enqueue activity for DB: ST011 Instance: st011 Snaps: 41 -62
-> Enqueue stats gathered prior to 9i should not be compared with 9i data
-> ordered by Wait Time desc, Waits desc
Avg Wt Wait
Eq Requests Succ Gets Failed Gets Waits Time (ms) Time (s)
TC 40 40 0 8 254.13 2
PE 184 184 0 1 47.00 0
Rollback Segment Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->A high value for "Pct Waits" suggests more rollback segments may be required
->RBS stats may not be accurate between begin and end snaps when using Auto Undo
managment, as RBS may be dynamically created and dropped as needed
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
0 246.0 0.00 0 0 0 0
1 2,947.0 0.00 1,268,846 4 1 1
2 3,520.0 0.00 1,003,166 18 3 6
3 3,511.0 0.00 973,498 18 1 3
4 2,662.0 0.00 1,010,600 4 0 1
5 3,941.0 0.03 1,042,464 20 3 8
6 3,474.0 0.00 1,106,576 21 1 6
7 2,546.0 0.00 756,036 15 3 4
8 3,943.0 0.00 1,112,166 22 3 11
9 3,368.0 0.00 832,596 14 2 4
10 3,039.0 0.20 971,780 20 3 14
Rollback Segment Storage for DB: ST011 Instance: st011 Snaps: 41 -62
->Optimal Size should be larger than Avg Active
RBS No Segment Size Avg Active Optimal Size Maximum Size
0 385,024 0 385,024
1 1,171,456 191,840 2,220,032
2 385,024 78,348 516,096
3 450,560 112,391 450,560
4 2,220,032 101,425 2,220,032
5 778,240 134,380 843,776
6 647,168 78,286 647,168
7 319,488 86,191 581,632
8 516,096 90,060 778,240
9 516,096 49,626 516,096
10 450,560 132,513 647,168
Undo Segment Summary for DB: ST011 Instance: st011 Snaps: 41 -62
-> Undo segment block stats:
-> uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
-> eS - expired Stolen, eR - expired Released, eU - expired reUsed
Undo Undo Num Max Qry Max Tx Snapshot Out of uS/uR/uU/
TS# Blocks Trans Len (s) Concurcy Too Old Space eS/eR/eU
1 1,555 551,825 1,575 2 0 0 0/0/15/0/0/0
Undo Segment Stats for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by Time desc
Undo Num Max Qry Max Tx Snap Out of uS/uR/uU/
End Time Blocks Trans Len (s) Concy Too Old Space eS/eR/eU
08-Aug 03:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 03:03 31 13,744 0 1 0 0 0/0/0/0/0/0
08-Aug 02:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 02:03 31 13,717 0 1 0 0 0/0/0/0/0/0
08-Aug 01:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 01:03 29 13,690 1 1 0 0 0/0/0/0/0/0
08-Aug 00:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 00:03 41 13,665 1 1 0 0 0/0/0/0/0/0
07-Aug 23:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 23:03 25 13,634 1 2 0 0 0/0/0/0/0/0
07-Aug 22:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 22:03 29 13,611 0 2 0 0 0/0/0/0/0/0
07-Aug 21:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 21:43 1 13,595 0 1 0 0 0/0/8/0/0/0
07-Aug 21:33 1 13,591 0 1 0 0 0/0/0/0/0/0
07-Aug 21:23 7 13,544 9 1 0 0 0/0/0/0/0/0
07-Aug 21:13 1 13,448 12 1 0 0 0/0/0/0/0/0
07-Aug 21:03 35 13,348 1 1 0 0 0/0/0/0/0/0
07-Aug 20:53 7 13,212 9 1 0 0 0/0/0/0/0/0
07-Aug 20:43 9 12,967 13 1 0 0 0/0/0/0/0/0
07-Aug 20:33 4 12,785 3 1 0 0 0/0/0/0/0/0
07-Aug 20:23 4 12,717 3 1 0 0 0/0/0/0/0/0
07-Aug 20:13 7 12,607 9 1 0 0 0/0/0/0/0/0
07-Aug 20:03 49 12,472 8 2 0 0 0/0/0/0/0/0
07-Aug 19:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 19:43 10 12,425 2 1 0 0 0/0/0/0/0/0
07-Aug 19:33 14 12,263 30 1 0 0 0/0/0/0/0/0
07-Aug 19:23 25 12,046 4 1 0 0 0/0/0/0/0/0
07-Aug 19:13 52 11,686 2 1 0 0 0/0/0/0/0/0
07-Aug 19:03 71 11,077 7 1 0 0 0/0/0/0/0/0
07-Aug 18:53 41 10,558 4 1 0 0 0/0/0/0/0/0
07-Aug 18:43 17 9,996 12 1 0 0 0/0/0/0/0/0
07-Aug 18:33 6 9,744 30 1 0 0 0/0/0/0/0/0
07-Aug 18:23 9 9,548 2 1 0 0 0/0/0/0/0/0
Latch Activity for DB: ST011 Instance: st011 Snaps: 41 -62
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
Consistent RBA 12,338 0.0 0 0
FAL request queue 2 0.0 0 0
FAL subheap alocation 0 0 2 0.0
FIB s.o chain latch 72 0.0 0 0
FOB s.o list latch 388 0.0 0 0
JOX SGA heap latch 3,415 0.0 0 3,013 0.0
NLS data objects 3 0.0 0 0
QMT 1 0.0 0 0
SQL memory manager latch 21 0.0 0 21,360 0.0
SQL memory manager worka 1,455,705 0.0 0 0
Token Manager 0 0 2 0.0
active checkpoint queue 22,780 0.0 0 2 0.0
alert log latch 4 0.0 0 2 0.0
archive control 2,189 0.0 0 0
archive process latch 1,299 0.2 0.0 0 0
begin backup scn array 8 0.0 0 0
cache buffer handles 339,925 0.0 0 0
cache buffers chains 113,609,670 0.0 0.0 0 1,095,458 0.0
cache buffers lru chain 2,057,063 0.0 0 13,776 0.0
channel handle pool latc 194 0.0 0 0
channel operations paren 43,420 0.0 0 0
checkpoint queue latch 1,094,874 0.0 0.0 0 7,196 0.0
child cursor hash table 543,267 0.0 0 0
dml lock allocation 99,677 0.0 0 0
dummy allocation 362 2.8 0.0 0 0
enqueue hash chains 226,227 0.0 0 0
enqueues 235,237 0.0 0.0 0 0
event group latch 95 0.0 0 0
file number translation 699,304 0.0 0.0 0 0
hash table column usage 2,980 0.0 0 779,274 0.0
hash table modification 5 0.0 0 2 0.0
job workq parent latch 0 0 26 7.7
job_queue_processes para 745 0.0 0 2 0.0
kmcptab latch 1,788 0.0 0 0
kmcpvec latch 0 0 1,788 0.0
ksfv messages 0 0 4 0.0
ktm global data 260 0.0 0 0
lgwr LWN SCN 29,530 0.0 0 0
library cache 7,579,771 0.0 0.0 0 112,898 0.1
library cache load lock 5,302 0.0 0 0
library cache pin 3,098,174 0.0 0.0 0 0
library cache pin alloca 2,124,257 0.0 0.0 0 0
list of block allocation 321 0.0 0 0
loader state object free 1,186 0.0 0 0
longop free list parent 9 0.0 0 9 0.0
message pool operations 9 0.0 0 0
messages 209,721 0.2 0.0 0 0
mostly latch-free SCN 29,532 0.0 0.0 0 0
multiblock read objects 181,050 0.0 0 2 0.0
name-service namespace o 0 0 2 0.0
Latch Activity for DB: ST011 Instance: st011 Snaps: 41 -62
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
ncodef allocation latch 1,065 0.0 0 0
object stats modificatio 357 0.0 0 2 0.0
post/wait queue 24,713 0.0 0 10,698 0.0
process allocation 95 0.0 0 95 0.0
process group creation 189 0.0 0 0
qm_init_sga 1 0.0 0 0
redo allocation 115,339 0.0 0.0 0 0
redo copy 0 0 73,511 0.1
redo writing 92,285 0.0 0 0
resumable state object 351 0.0 0 0
row cache enqueue latch 3,995,948 0.0 0.0 0 0
row cache objects 4,004,202 0.0 0 696 0.0
sequence cache 430 0.0 0 0
session allocation 292,885 0.0 0.0 0 0
session idle bit 2,269,446 0.0 0.0 0 0
session switching 1,065 0.0 0 0
session timer 22,218 0.0 0 0
shared java pool 860 0.0 0 0
shared pool 4,913,350 0.0 0.0 0 0
sim partition latch 0 0 110 0.0
simulator hash latch 4,433,428 0.0 0 0
simulator lru latch 43,829 0.0 0 33,464 0.0
sort extent pool 6,608 0.0 0 0
temp lob duration state 2 0.0 0 0
trace latch 13 0.0 0 0
transaction allocation 931,196 0.0 0 0
transaction branch alloc 1,065 0.0 0 0
undo global data 57,750 0.0 0.0 0 0
user lock 551 0.0 0 0
vecio buf des 0 0 2 0.0
virtual circuit buffers 10,648,289 0.2 0.0 0 0
virtual circuit queues 5,140,393 0.0 0.0 0 0
virtual circuits 1,824,349 0.0 0.0 0 0
Latch Sleep breakdown for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by misses desc
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->4
virtual circuit buffers 10,648,289 19,024 3 19021/3/0/0/
0
shared pool 4,913,350 181 3 178/3/0/0/0
cache buffers chains 113,609,670 63 1 0/0/0/0/0
Latch Miss Sources for DB: ST011 Instance: st011 Snaps: 41 -62
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
cache buffers chains kcbgtcr: kslbegin excl 0 1 0
shared pool kghalo 0 3 3
virtual circuits kmcfms 0 1 1
virtual circuits kmcgms: if not shared serv 0 1 0
virtual circuits kmcmbf 0 1 1
Dictionary Cache Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->"Pct Misses" should be very low (< 2% in most cases)
->"Cache Usage" is the number of cache entries being used
->"Pct SGA" is the ratio of usage to allocated size for that cache
Get Pct Scan Pct Mod Final
Cache Requests Miss Reqs Miss Reqs Usage
dc_files 3,248 0.2 0 0 8
dc_global_oids 12,826 1.0 0 0 135
dc_histogram_defs 1,214,659 0.1 0 0 2,451
dc_object_ids 325,383 0.2 0 0 793
dc_objects 72,357 1.9 0 2 1,504
dc_profiles 125 0.0 0 0 1
dc_qmc_cache_entries 1 100.0 0 0 1
dc_rollback_segments 4,967 0.0 0 0 12
dc_segments 168,507 0.4 0 0 760
dc_sequences 8 37.5 0 8 2
dc_tablespace_quotas 5 40.0 0 5 2
dc_tablespaces 56,795 0.0 0 0 9
dc_user_grants 1,393 1.1 0 0 22
dc_usernames 70,029 0.0 0 0 15
dc_users 71,699 0.0 0 0 25
Library Cache Activity for DB: ST011 Instance: st011 Snaps: 41 -62
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
BODY 225 16.4 226 18.6 3 0
CLUSTER 1,272 0.3 1,008 0.8 0 0
JAVA DATA 2 100.0 9 44.4 0 0
SQL AREA 368,746 14.6 1,388,192 8.3 5,561 1
TABLE/PROCEDURE 114,852 1.3 375,552 0.9 494 0
TRIGGER 1,082 1.0 1,082 1.4 4 0
Shared Pool Advisory for DB: ST011 Instance: st011 End Snap: 62
-> Note there is often a 1:Many correlation between a single logical object
in the Library Cache, and the physical number of memory objects associated
with it. Therefore comparing the number of Lib Cache objects (e.g. in
v$librarycache), with the number of Lib Cache Memory Objects is invalid
Estd
Shared Pool SP Estd Estd Estd Lib LC Time
Size for Size Lib Cache Lib Cache Cache Time Saved Estd Lib Cache
Estim (M) Factr Size (M) Mem Obj Saved (s) Factr Mem Obj Hits
96 .6 96 20,704 1,595 1.0 896,845
120 .7 119 25,821 1,596 1.0 898,184
144 .9 142 30,844 1,596 1.0 899,133
168 1.0 165 35,862 1,597 1.0 900,259
192 1.1 188 41,079 1,598 1.0 901,912
216 1.3 215 47,275 1,598 1.0 902,360
240 1.4 238 52,517 1,598 1.0 903,089
264 1.6 261 58,043 1,598 1.0 903,310
288 1.7 284 63,632 1,598 1.0 903,711
312 1.9 307 69,230 1,598 1.0 904,029
336 2.0 338 76,368 1,598 1.0 904,158
SGA Memory Summary for DB: ST011 Instance: st011 Snaps: 41 -62
SGA regions Size in Bytes
Database Buffers 142,606,336
Fixed Size 454,356
Redo Buffers 667,648
Variable Size 486,539,264
sum 630,267,604
SGA breakdown difference for DB: ST011 Instance: st011 Snaps: 41 -62
Pool Name Begin value End value % Diff
java free memory 33,554,432 30,031,872 -10.50
large free memory 24,861,188 24,957,400 0.39
large session heap 304,636 208,424 -31.58
shared 1M buffer 2,098,176 2,098,176 0.00
shared FileOpenBlock 695,504 695,504 0.00
shared KGK heap 3,756 3,756 0.00
shared KGLS heap 1,652,428 2,590,108 56.75
shared KQR M PO 861,220 2,452,776 184.80
shared KQR S PO 77,148 239,708 210.71
shared KQR S SO 1,792 5,632 214.29
shared KSXR pending messages que 841,036 841,036 0.00
shared KSXR receive buffers 1,033,000 1,033,000 0.00
shared MTTR advisory 25,400 29,636 16.68
shared PL/SQL DIANA 625,620 951,760 52.13
shared PL/SQL MPCODE 358,152 902,912 152.10
shared PLS non-lib hp 2,068 2,068 0.00
shared dictionary cache 1,610,880 1,610,880 0.00
shared errors 25,144 46,460 84.78
shared event statistics per sess 1,718,360 1,718,360 0.00
shared fixed allocation callback 220 220 0.00
shared free memory 157,840,156 13,956,720 -91.16
shared joxs heap init 4,220 4,220 0.00
shared kgl simulator 694,520 9,560,380 #######
shared library cache 4,829,312 39,226,604 712.26
shared message pool freequeue 834,752 834,752 0.00
shared miscellaneous 5,094,676 7,076,492 38.90
shared parameters 5,220 32,976 531.72
shared sessions 410,720 410,720 0.00
shared sim memory hea 93,176 93,176 0.00
shared sql area 9,864,252 100,764,460 921.51
shared table definiti 2,040 5,920 190.20
shared trigger defini 1,888 2,208 16.95
shared trigger inform 1,108 1,324 19.49
shared trigger source 160 1,168 630.00
buffer_cache 142,606,336 142,606,336 0.00
fixed_sga 454,356 454,356 0.00
log_buffer 656,384 656,384 0.00
init.ora Parameters for DB: ST011 Instance: st011 Snaps: 41 -62
End value
Parameter Name Begin value (if different)
background_dump_dest E:\oracle\admin\ST011\bdump
compatible 9.2.0.1.0
control_files E:\oracle\oradata\ST011\control01
core_dump_dest E:\oracle\admin\ST011\cdump
db_block_size 8192
db_cache_size 142606336
db_domain
db_file_multiblock_read_count 16 8
db_name ST011
dispatchers (PROTOCOL=TCP)
fast_start_mttr_target 300
hash_join_enabled TRUE
instance_name ST011
java_pool_size 33554432
job_queue_processes 0 5
large_pool_size 25165824
log_archive_dest_1 LOCATION=E:\oracle\oradata\ST011\
log_archive_format %t_%s.dbf
log_archive_start TRUE
open_cursors 300
pga_aggregate_target 109051904
processes 150
query_rewrite_enabled FALSE
remote_login_passwordfile EXCLUSIVE
sga_max_size 630267604
shared_pool_size 176160768
sort_area_size 524288
star_transformation_enabled FALSE
timed_statistics TRUE
undo_management AUTO
undo_retention 10800
undo_tablespace UNDOTBS1
user_dump_dest E:\oracle\admin\ST011\udump
End of ReportFrederic's right... you're summing up too many statspacks ..
Can't see anything specific apart from the fact that Statspack itself is showing up in the top statements.
First : define 'Slow' . What is your goal for 'Ok' ?
Start thinking about sql_trace, tkprof and 10046 traces -
Can't select from view even though it appears in ALL_VIEWS
Oracle's documentation states that all_views "describes the views accessible to the user":
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_2117.htm
DBA_OBJECTS appears in the ALL_VIEWS, yet I get a "table or view does not exist" error when I try to select from it.
Any thoughts on why this is happening?
SQL> SELECT COUNT(1)
FROM all_views
WHERE owner = 'SYS'
AND view_name = 'DBA_OBJECTS'
COUNT(1)
1
1 row selected.
SQL> SELECT *
FROM sys.dba_objects
SELECT *
FROM sys.dba_objects
Error at line 2
ORA-00942: table or view does not existThat's not standard behaviour:
DBA >create user u1 identified by u1;
Utente creato.
DBA >grant connect to u1;
Concessione riuscita.
DBA >conn u1/u1
Connesso.
DBA >select count(0) from all_views;
COUNT(0)
856
DBA >select view_name from all_views
2 where view_name like 'DBA%'
3 or view_name like 'V$%';
VIEW_NAME
DBA_PROCEDURES
DBA_PUBLISHED_COLUMNS
V$OBJECT_USAGE
DBA >select 'select count(*) from '||owner||'.'||view_name||';'
2 from all_views
3 where view_name like 'DBA%'
4 or view_name like 'V$%';
'SELECTCOUNT(*)FROM'||OWNER||'.'||VIEW_NAME||';'
select count(*) from SYS.DBA_PROCEDURES;
select count(*) from SYS.DBA_PUBLISHED_COLUMNS;
select count(*) from SYS.V$OBJECT_USAGE;
DBA >select count(*) from SYS.DBA_PROCEDURES;
COUNT(*)
6793
DBA >select count(*) from SYS.DBA_PUBLISHED_COLUMNS;
COUNT(*)
0
DBA >select count(*) from SYS.V$OBJECT_USAGE;
COUNT(*)
0All the DBA* or V$ visible are also accessible, DBA_OBJECTS is not present in ALL_VIEWS.
There's something strange on your user's priviledges...
Max
[My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/02/query-gerarchiche/] -
How to find unused indexes in oracle 10g r2
Hi all,
db:oracle 10.2.0.3
os:solaris
i want rebuilt the some of the indexes (due poor performence of db)
how to find the unused indexes in oracle 10gr2 database.?
can any one help me out plz.kk001 wrote:
Hi all,
db:oracle 10.2.0.3
os:solaris
i want rebuilt the some of the indexes (due poor performence of db)
how to find the unused indexes in oracle 10gr2 database.?
can any one help me out plz.You can use V$OBJECT_USAGE.
But how you decide need rebuilding indexes?
How you decide problem related indexes?
What is exactly your mean "due poor performence of db"? some queries hang/long running or whole system hang or has poor performance?
In generally do not need rebuilding index(unless specially cases),first give we above questions`s answers. -
After posting something here a few days back about the myriad views needing to be digested for the Fund.I Exam, I have just gleaned this lot from the Couchman book. No doubt some of the pros out there may well correct me, but this is simple what I have collected from the book, in the last 3 hours. Cheers.
Dictionary Views
Data Dictionary
Which users are in the database password file:
V$PWFILE_USERS
Where values set in the init.ora file can be viewed – all parameters:
V$PARAMETER
Script used to create the objects that comprise the data dictionary:
catalog.sql
To grant a special role to users so they can look at DBA views:
SELECT_CATALOG_ROLE
Information about all database objects in the database:
DBA_OBJECTS
Information about all tables in the database:
DBA_TABLES
Information about all indexes in the database:
DBA_INDEXES
Information about all views (including dictionary views) in the database:
DBA_VIEWS
Information about all sequences in the database:
DBA_SEQUENCES
Information about all users in the database:
DBA_USERS
Information about all constraints in the database:
DBA_CONSTRAINTS
Information about all table columns that have constraints on them:
DBA_CONS_COLUMNS
Information about all columns that have indexes on them in the database:
DBA_IND_COLUMNS
Information about all columns in all the tables in the database:
DBA_TAB_COLUMNS
Information about all the roles in the database:
DBA_ROLES
Information about all object privileges in the database:
DBA_TAB_PRIVS
Information about all system privileges granted to all users in the database:
DBA_SYS_PRIVS
Displays all PL/SQL source code in the database:
DBA_SOURCE
Information about all triggers in the database:
DBA_TRIGGERS
Information about object privileges granted to roles
ROLE_TAB_PRIVS
Information about system privileges granted to roles
ROLE_SYS_PRIVS
Information about roles granted to roles
ROLE_ROLE_PRIVS
Information about all tablespaces in the database:
DBA_TABLESPACES
Information about all profiles in the database:
DBA_PROFILES
For all parameters?
V$PARAMETER
General information about the database mounted to your instance:
V$DATABASE
Most information about the performance of the database is kept here:
V$SYSSTAT
Most information about the performance for individual user sessions is stored here:
V$SESSION , V$SESSTAT
Information about online redo logs (2)
V$LOG, V$LOGFILE
Information about datafiles
V$DATAFILE
Basic information about control files, and the two columns it has:
V$CONTROLFILE. STATUS / NAME
An object you can query to obtain a listing of all data dictionary objects (4)
CATALOG, CAT, DICTIONARY, DICT.
When the control file was created, Sequence Number, most recent SCN:
V$DATABASE
Information stored in different sections of the control file, Sequence Number:
V$CONTROLFILE_RECORD_SECTION
To see the names and locations of all control files in the db? (2)
V$PARAMETER. V$CONTROLFILE
Tablespace and Datafiles
Temporary Segments:
Name, tablespace location, and owner of temporary segments:
DBA_SEGMENTS
Size of temporary tablespaces, current number of extents allocated to sort segments, and sort segment high-water mark information. Space usage allocation for temporary segments:
V$SORT_SEGMENT
Types of sorts that are happening currently on the database
V$SORT_USAGE
To see the username corresponding with the session:
V$SESSION
Information about every datafile in the database associated with a temporary tablespace:
DBA_TEMP_FILES
Similar to DBA_TEMP_FILES, this performance view gives Information about every datafile in the database associated with a temporary tablespace:
V$TEMPFILE
Storage Structures
A summary view, contains all types of segments and their storage parameters, space utilization settings:
DBA_SEGMENTS
Tablespace quotas assigned to users:
DBA_TS_QUOTAS
Segment name, type, owner, total bytes of extent, name of tablespace storing the extent:
DBA_EXTENTS
The location and amount of free space by tablespace name:
DBA_FREE_SPACE
The location of free space in the tablespace that has been coalesced:
DBA_FREE_SPACE_COALESCED
Information about datafiles for every tablespace
DBA_DATAFILES
Performance view for information for datafiles for every tablespace
V$DATAFILE
To see the total amount of space allocated to a table?
DBA_EXTENTS
Table creation timestamp, information about the object ID:
DBA_OBJECTS
High water mark, all storage settings for a table, and statistics collected as part of the analyze (for row migration) operation on that table
DBA_TABLES
Information about every column in every table:
DBA_TAB_COLUMNS
To determine how many columns are marked unused for later removal?
DBA_UNUSED_COL_TABS
To find the number of deleted index entries ?
INDEX_STATS
To determine the columns on a table that have been indexed:
DBA_ID_COLUMNS
The dynamic view to show whether the index is being used in a meaningful way?
V$OBJECT_USAGE
To see whether a constraint exists on a particular column?
DBA_CONS_COLUMNS
To see the constraints associated with a particular table:
DBA_CONSTRAINTS
To find the username, ID number, (encrypted) password, default and temporary tablespace information, user profile of a user, password expiry date:
DBA_USERS
To all objects, which objects belong to which users, how many objects a user has created?
DBA_OBJECTS
Resource-usage parameters for a particular profile:
DBA_PROFILES
Identifies all resources in the database and their corresponding cost:
RESOURCE_COST
Identifies system resource limits for individual users:
USER_RESOURCE_LIMITS
Shows all system privileges:
DBA_SYS_PRIVS
Show all object privileges:
DBA_TAB_PRIVS
Shows all privileges in this session available to you as the current user:
SESSION_PRIVS
Views for audits currently taking place are created by this script:
cataudit.sql
a list of audit entries generated by the exists option of the audit command:
DBA_AUDIT_EXISTS
A list of audit entries generated for object audits:
DBA_AUDIT_OBJECT
A list of audit entries generated by session connects and disconnects:
DBA_AUDIT_SESSION
A list of audit entries generated by statement options of the audit command:
DBA_AUDIT_STATEMENT
A list of all entries in the AUD$ table collected by the audit command:
DBA_AUDIT_TRAIL
To determine the roles available in the database, the names of all the roles on the database and if a password is required to use each role:
DBA_ROLES
Names of all users and the roles granted to them:
DBA_ROLE_PRIVS
All the roles and the roles that are granted to them:
ROLE_ROLE_PRIVS
Which system privileges have been granted to a role:
DBA_SYS_PRIVS
All the system privileges granted only to roles:
ROLE_SYS_PRIVS
All the object privileges granted only to roles:
ROLE_TAB_PRIVS
All the roles available in the current session:
SESSION_ROLES
Which object privilege has been granted to a role:
DBA_TAB_PRIVS
To display the value of the NLS_CHARACTERSET parameter:
NLS_DATABASE_PARAMETERS
DAYou can also find a lot of stuff by doing:
SELECT *
FROM dictionary; -
Index not being used in access path
Hi,
I have been trying to rewrite a query which currently is taking almost 1min and 25 secs to execute. The database version is 11.1.0.7.
The query is -
SELECT COUNT(1)
FROM TAB1 p
WHERE p.ACODE = 24377
AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AKey )
AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AKey )
AND p.rflag = 'Y';
The table originally didn't have an index on p.ACODE. So, I created this index and set it to visible and set the optimizer_use_invisible_indexes parameter also to TRUE. I set the monitoring on this index too. Even though I have created the index on the ACODE column, the access path doesn't use it. Can someone please tell me why this is not being used.
Below is the explain plan for the sql stmt and the usage of the index -
I have changed the actual table and column names -
SQL> SELECT COUNT(1)
2 FROM TAB1 p
3 WHERE p.ACODE = 24377
4 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AKey )
5 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AKey )
6 AND p.rflag = 'Y';
COUNT(1)
1
SQL> explain plan for
2 SELECT COUNT(1)
3 FROM TAB1 p
4 WHERE p.ACODE = 24377
5 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AKey )
6 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AKey )
7 AND p.rflag = 'Y';
Explained.
Elapsed: 00:00:00.02
SQL> @$ORACLE_HOME/rdbms/admin/utlxpls.sql
PLAN_TABLE_OUTPUT
Plan hash value: 3942424611
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 87 | 214K (2)| 00:42:57 |
| 1 | SORT AGGREGATE | | 1 | 87 | | |
|* 2 | HASH JOIN ANTI | | 1 | 87 | 214K (2)| 00:42:57 |
|* 3 | HASH JOIN ANTI | | 1 | 60 | 209K (2)| 00:41:56 |
|* 4 | TABLE ACCESS FULL | TAB1 | 1 | 32 | 209K (2)| 00:41:55 |
| 5 | INDEX FAST FULL SCAN| PK_TAB3 | 29918 | 818K| 53 (0)| 00:00:01 |
| 6 | INDEX FAST FULL SCAN | PK_TAB2 | 3199K| 82M| 5059 (1)| 00:01:01 |
Predicate Information (identified by operation id):
2 - access("PH"."PKey"="P"."AKey")
3 - access("PHS"."PKey"="P"."AKey")
4 - filter(TO_NUMBER("P"."ACODE")=24377 AND "P"."rflag"='Y')
20 rows selected.
Elapsed: 00:00:00.03
SQL> select index_name,VISIBILITY from user_indexes where index_name='IDX_TAB1_ACODE';
INDEX_NAME VISIBILIT
IDX_TAB1_ACODE VISIBLE
Elapsed: 00:00:00.01
SQL> show parameter visible
NAME TYPE VALUE
optimizer_use_invisible_indexes boolean TRUE
SQL>
SQL> SELECT v.index_name, v.table_name,
v.monitoring, v.used,
start_monitoring, end_monitoring
FROM v$object_usage v, dba_indexes u
WHERE v.index_name = u.index_name
AND v.index_name = 'IDX_TAB1_ACODE';
INDEX_NAME TABLE_NAME MON USE START_MONITORING END_MONITORING
IDX_TAB1_ACODE TAB1 YES NO 05/26/2010 14:13:41
Elapsed: 00:00:00.10
Edited by: user12158503 on May 26, 2010 1:24 PMThanks Centinul.
I apologize for posting in both sections. I put it in the Database General too because I thought I originally posted it in the wrong section.
The index was not being used because it was doing the implicit type conversion. When I enclosed it in quotes, it returns the result within a second and it uses the index.(whereas without the index it takes around 1min 25 sec)
Here is the explain plan and execution time after enclosing it in quotes -
SQL> explain plan for
2 SELECT COUNT(1)
3 FROM TAB1 p
4 WHERE p.AKey = '24377'
5 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AgilityKey )
6 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AgilityKey )
7 AND p.rflag = 'Y';
Explained.
Elapsed: 00:00:00.02
SQL> @$ORACLE_HOME/rdbms/admin/utlxpls.sql
PLAN_TABLE_OUTPUT
Plan hash value: 2008452282
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 87 | 5134 (1)| 00:01:02 |
| 1 | SORT AGGREGATE | | 1 | 87 | | |
|* 2 | HASH JOIN ANTI | | 1 | 87 | 5134 (1)| 00:01:02 |
|* 3 | HASH JOIN ANTI | | 1 | 60 | 60 (2)| 00:00:01 |
|* 4 | TABLE ACCESS BY INDEX ROWID| TAB1 | 1 | 32 | 6 (0)| 00:00:01 |
|* 5 | INDEX RANGE SCAN | IDX_TAB1_AKey | 4 | | 1 (0)| 00:00:01 |
| 6 | INDEX FAST FULL SCAN | PK_TAB3 | 29918 | 818K| 53 (0)| 00:00:01 |
| 7 | INDEX FAST FULL SCAN | PK_TAB2 | 3199K| 82M| 5059 (1)| 00:01:01 |
Predicate Information (identified by operation id):
2 - access("PH"."PKey"="P"."AGILITYKEY")
3 - access("PHS"."PKey"="P"."AGILITYKEY")
4 - filter("P"."rflag"='Y')
5 - access("P"."AKey"='24377')
22 rows selected.
Elapsed: 00:00:00.02
SQL> SELECT COUNT(1)
2 FROM TAB1 p
3 WHERE p.AKey = '24377'
4 AND NOT EXISTS (SELECT 1 FROM TAB2 ph where ph.PKey = p.AgilityKey )
5 AND NOT EXISTS (SELECT 1 FROM TAB3 phs where phs.PKey = p.AgilityKey )
6 AND p.rflag = 'Y';
COUNT(1)
1
Elapsed: 00:00:00.52
Can you give me some tips on where I could read about learning to understand the explain plan. I did read a few articles which did help me, but not much. I am looking for something in detail. -
Simple query takes 18 minutes to retrieve data....
Hi,
I am facing this problem at the customer site where a simple query on a table takes 18 minutes or more. Please find below the details.
Table Structure
CREATE TABLE dsp_data
quantum_id NUMBER(11) NOT NULL,
src NUMBER(11) NOT NULL,
call_status NUMBER(11) NOT NULL,
dst NUMBER(11) NOT NULL,
measurement_id NUMBER(11) NOT NULL,
is_originating NUMBER(1) NOT NULL,
measurement_value NUMBER(15,4) NOT NULL,
data_type_id NUMBER(3) NOT NULL,
data VARCHAR2(200) NOT NULL
TABLESPACE dsp_data_tspace
STORAGE (PCTINCREASE 0 INITIAL 100K NEXT 1024K)
PARTITION BY RANGE (quantum_id)
(PARTITION dsp_data_default VALUES LESS THAN (100));
CREATE INDEX dsp_data_idx ON dsp_data
quantum_id,
src,
call_status,
dst,
measurement_id,
is_originating,
measurement_value,
data_type_id
TABLESPACE dsp_data_idx_tspace
LOCAL;
CREATE INDEX dsp_data_src_idx ON dsp_data
src
TABLESPACE dsp_data_idx_tspace
LOCAL;
CREATE INDEX dsp_data_dst_idx ON dsp_data
dst
TABLESPACE dsp_data_idx_tspace
LOCAL;
ALTER TABLE dsp_data
ADD CONSTRAINT fk_dsp_data_1
FOREIGN KEY
quantum_id
REFERENCES mds_measurement_intervals
quantum_id
ALTER TABLE dsp_data
ADD CONSTRAINT fk_dsp_data_2
FOREIGN KEY
data_type_id
REFERENCES mds_drilldown_types
type_id
ALTER TABLE dsp_data
ADD CONSTRAINT pk_dsp_data
PRIMARY KEY
quantum_id,
src,
call_status,
dst,
measurement_id,
is_originating,
measurement_value,
data_type_id,
data
USING INDEX
TABLESPACE dsp_data_idx_tspace
LOCAL;
Table Space Creation
All table space creation is done using following command
CREATE TABLESPACE [tablespaceName]
DATAFILE [tablespaceDatafile] SIZE 500M REUSE
AUTOEXTEND ON NEXT 10240K
DEFAULT STORAGE ( INITIAL 1024K
NEXT 1024K
MINEXTENTS 10
MAXEXTENTS UNLIMITED
PCTINCREASE 0
Server Configuration on CUtsomer Site
(1) 2 x Dual PA8900 Proc = 4GHz
(2) RAM = 16GB
(3) 3 x Internal HDDs
(4) 1 x External MSA-30 storage array (oracle db)
Record Information On Customer Site
select count(*) from dsp_data;
COUNT(*)
181931197
select min (quantum_id) from dsp_data where dst=2;
This takes 18 minutes or more....
SQL> SQL> SQL> explain plan for select min (quantum_id) from dsp_data where dst=2;
Explained.
SQL> @?/rdbms/admin/utlxpls
PLAN_TABLE_OUTPUT
Plan hash value: 999040277
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
| 0 | SELECT STATEMENT | | 1 | 14 | 1 (0)| 00:00:01 | | |
| 1 | SORT AGGREGATE | | 1 | 14 | | | | |
| 2 | FIRST ROW | | 92 | 1288 | 1 (0)| 00:00:01 | | |
| 3 | PARTITION RANGE ALL | | 92 | 1288 | 1 (0)| 00:00:01 | 1 | 29 |
|* 4 | INDEX FULL SCAN (MIN/MAX)| DSP_DATA_IDX | 92 | 1288 | 1 (0)| 00:00:01 | 1 | 29 |
As mentioned above the query takes 18 minutes or more. This is a critical issue at customer. Can you please give your suggestions how to improve and reduce the query time. Thanks in advance.Hi,
I did the following changes in the indexes of table.
drop index DSP_DATA_IDX;
create index DSP_DATA_MEASUREMENT_ID_IDX on DSP_DATA (MEASUREMENT_ID) TABLESPACE dsp_data_idx_tspace LOCAL;
After that I did explain plan,
explain plan for select min(QUANTUM_ID) from mds.DSP_DATA where SRC=11;
PLAN_TABLE_OUTPUT
| Id | Operation | Name | Rows | Bytes | Cost (%CPU
| 0 | SELECT STATEMENT | | 1 | 11 | 3 (0
| 1 | SORT AGGREGATE | | 1 | 11 |
| 2 | FIRST ROW | | 430K| 4626K| 3 (0
| 3 | PARTITION RANGE ALL | | 430K| 4626K| 3 (0
| 4 | INDEX FULL SCAN (MIN/MAX)| PK_DSP_DATA | 430K| 4626K| 3 (0
Note
- 'PLAN_TABLE' is old version
14 rows selected
SELECT table_name, index_name, monitoring, used FROM v$object_usage;
TABLE_NAME INDEX_NAME MONITORING USED
DSP_DATA DSP_DATA_SRC_IDX YES NO
It seems that DSP_DATA_SRC_IDX is not getting used in query. What changes do i need to make so that DSP_DATA_SRC_IDX index gets used.
Also, you have stated that to create global index on src and dst. How do i create them.
Thanks in Advance.
Edited by: 780707 on Jul 8, 2010 11:58 PM -
Determining indexes that are not used in 10g
Is there a way to identify indexes that are not utilized in 10g? We have ADDM and AWR running nightly.
Thanks in advance...You can enable index monitoring with
alter index <index_name> monitoring usage;
When the index is used V$OBJECT_USAGE.USED column will be set to YES. If the index is not used the USED column will show NO.
test@ORCL> alter index i_test monitoring usage;
Index altered.
Elapsed: 00:00:00.04
test@ORCL> select * from v$object_usage;
INDEX_NAME TABLE_NAME MON USE START_MONITORING END_MONITORING
I_TEST TEST YES NO 01/04/2007 07:52:21
Elapsed: 00:00:00.04
test@ORCL> explain plan for
2 select object_id from test;
Explained.
Elapsed: 00:00:00.10
test@ORCL> select * from v$object_usage;
INDEX_NAME TABLE_NAME MON USE START_MONITORING END_MONITORING
I_TEST TEST YES NO 01/04/2007 07:52:21
Elapsed: 00:00:00.00
test@ORCL> select count(*) from test;
COUNT(*)
50425
Elapsed: 00:00:00.00
test@ORCL> select * from v$object_usage;
INDEX_NAME TABLE_NAME MON USE START_MONITORING END_MONITORING
I_TEST TEST YES NO 01/04/2007 07:52:21
Elapsed: 00:00:00.00
test@ORCL> select * from test where object_id =1;
no rows selected
Elapsed: 00:00:00.07
test@ORCL> select * from v$object_usage;
INDEX_NAME TABLE_NAME MON USE START_MONITORING END_MONITORING
I_TEST TEST YES YES 01/04/2007 07:52:21
Elapsed: 00:00:00.00
test@ORCL>You turn of index monitoring with the following:
alter index <index_name> nomonitoring usage; -
Existing state of packages has been discarded...
Hi all,
I know this is a long shot and probably you need more details to help, but please take a look in case you've encountered something similar before... It is a pretty interesting problem.
Ok, I have two packages, say, A and B. Package A is composed of utility functions, and package B makes use of those functions. These packages are compiled as part of the schema installation, where package A is always compiled first. I also have unit test scripts for each procedure in each package.
Now, after schema installation, when I run the unit test for some procedures in package B, I get the following error:
ORA-04068: existing state of packages has been discarded
ORA-04065: not executed, altered or dropped stored procedure "my_schema.pkg_A"
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at "my_schema.pkg_B", line 18
ORA-06512: at line 5
Some interesting notes:
- I can run the unit test of all pkg A procedures. I can also describe the package. Which seems to me that pkg A has been compiled successfully.
- If I log into a sqlplus session, run the unit test for a pkg B procedure, which then fails with the above message. Then I run a unit test of a pkg A proceudre, which succeeds. Then I run the same pkg B unit test, it will work then. And all the other pkg B procedures will work from this point on.
- But if I log out from sqlplus session, and log in again, and run the pkg B procedure unit test again, it will fail as before.
- Certain procedures in pkg B have no problem running. They also call pkg A procedures. However, the pkg A procedures are always invoked in the where or order by clauses in these cases. The pkg B procedures that call pkg A procedure in a standalone statement will always fail.
- The fact above made me suspect that function-based indexes (which were created using pkg A procedures) were used in cases where pkg B procedures work. And that in those cases pkg A hasn't really been invoked. However, when I monitor those indexes using v$object_usage, it shows they are not used. (I have a very small set of data.)
- After schema installation, if I compile pkg B again, the problem will disappear.
Does this ring a bell to anyone? Any help will be appreciated.
Thanks,
Gloria ChungThanks for reading and responding.
I'm compiling both header and body for both packages.
I ran the following query after schema installation, which returned 0:
select count(*) from user_objects where status='INVALID';
The schema installation involved putting new copies of both package A and B.
If I only recompile the package body after installation, it will still 'cure' the problem. I.e. if I run any of the affected pkg B unit test, it will run successfully.
It is assumed there is no schema before 'schema installation'.
Thanks,
Gloria -
(9I) INDEX의 사용여부 확인하기
제품 : ORACLE SERVER
작성날짜 : 2002-04-03
(9I) INDEX의 사용여부 확인하기
==============================
PURPOSE
Oracle9i에서는 만들어진후 사용되지 않은 index을 찾을수 있는 feature가
소개되었다.
Explanation
ALTER INDEX MONITORING USAGE 절을 이용하여 작업 시간동안 사용되지 않는
index을 찾을 수 있다.
Example
< Simple Example >
1. Sample table and data를 생성한다.
create table products
(prod_id number(3),
prod_name_code varchar2(5));
insert into products values(1,'aaaaa');
insert into products values(2,'bbbbb');
insert into products values(3,'ccccc');
insert into products values(4,'ddddd');
commit;
2. 1번에서 만든 table에 Primary Key index를 만든다.
SQL> alter table products
add (constraint products_pk primary key (prod_id));
3. v$object_usage을 query하여 본다.
: 아직 monitoring이 start되지 않았음을 알수 있다.
SQL> column index_name format a12
SQL> column monitoring format a10
SQL> column used format a4
SQL> column start_monitoring format a19
SQL> column end_monitoring format a19
SQL> select index_name,monitoring,used,start_monitoring,end_monitoring
from v$object_usage;
no rows selected
4. Index의 사용여부를 확인하기 위해 monitoring을 시작한다.
SQL> alter index products_pk monitoring usage;
Index altered.
5. v$object_usage를 query하여 monitoring중인지를 확인할수 있다.
: MONITORING column이 'YES', START_MONITORING column이 시작한 날짜.
SQL> select index_name,monitoring,used,start_monitoring,end_monitoring
from v$object_usage;
INDEX_NAME MONITORING USED START_MONITORING END_MONITORING
PRODUCTS_PK YES NO 04/02/2002 16:11:56
6. Test를 위해 index를 사용하는 select 문장을 수행한다.
필요하다면 index을 타고 있는지를 학인하기 위해 Autotrace utility 를
사용하기 위해 plan_table을 만들어 학인한다.
( Bulletin 10712 : NEW FEATURE:AUTOTRACE IN SQL*PLUS 3.3 참조)
@$ORACLE_HOME/rdbms/admin/utlxplan
Table created.
SQL> set autotrace on explain
SQL> select * from products where prod_id = 2;
PROD_ID PROD_NAME_
2 bbbbb
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE
1 0 TABLE ACCESS (BY INDEX ROWID) OF 'PRODUCTS'
2 1 INDEX (UNIQUE SCAN) OF 'PRODUCTS_PK' (UNIQUE)
SQL> set autotrace off
7. v$object_usage을query하여 index가 사용되어진 여부을 확인할 수 있다.
: USED column이 'YES'
select index_name,monitoring,used,start_monitoring,end_monitoring
from v$object_usage;
INDEX_NAME MONITORING USED START_MONITORING END_MONITORING
PRODUCTS_PK YES YES 04/02/2002 16:11:56
8. Index사용여부을 monitoring하는 것을 stop한다.
SQL> alter index products_pk nomonitoring usage;
Index altered.
9. v$object_usage를 query하여 monitoring이 stop되었는지 확인할수 있다.
: MONITORING column이 'NO', END_MONITORING column이 stop한 날짜.
SQL> select index_name,monitoring,used,start_monitoring,end_monitoring
from v$object_usage;
INDEX_NAME MONITORING USED START_MONITORING END_MONITORING
PRODUCTS_PK NO YES 04/02/2002 16:11:56 04/03/2002 11:05:30
< Database 전체의 모든 index에 대해 monitoring >
1. SYS와 SYSTEM user 소유의 index을 제외하고 모든 index에 대해
monitoring을 시작하도록 script을 만들어 보자.
set heading off
set echo off
set feedback off
set pages 10000
spool startmonitor.sql
select 'alter index '||owner||'.'||index_name||' monitoring usage;'
from dba_indexes
where owner not in ('SYS','SYSTEM');
spool off
2. SYS와 SYSTEM user 소유의 index을 제외하고 모든 index에 대해
monitoring 을 stop하도록 script을 만들어 보자.
set heading off
set echo off
set feedback off
set pages 10000
spool stopmonitor.sql
select 'alter index '||owner||'.'||index_name||' nomonitoring usage;'
from dba_indexes
where owner not in ('SYS','SYSTEM');
spool off
3. ALTER ANY INDEX system privilege을 가지고 있는 user에서 1번에서 만든
script을 돌리도록 한다.
@startmonitor
4. database의 정상 가동을 수행한다. (
5. 일정시간이 흐른후에 ALTER ANY INDEX system privilege을 가지고 있는
user에서 monitoring을 stop하기 위해 2번에서 만든 script을 돌리도록
한다.
@stopmonitor
6. v$object_usage을 query하여 한번도 사용되지 않은 index을 확인한다.
select d.owner, v.index_name
from dba_indexes d, v$object_usage v
where v.used='NO' and d.index_name=v.index_name;
참고 > v$object_usage view는 connect하는 user에 대한 내용만 display
하므로 SYS user에서 다른 user의 monitoring현황을 보고자 한다면
아래와 같이 view을 만든다.
SQL> connect / as sysdba;
Connected.
SQL> create or replace view V$ALL_OBJECT_USAGE
(INDEX_NAME,
TABLE_NAME,
MONITORING,
USED,
START_MONITORING,
END_MONITORING)
as
select io.name, t.name,
decode(bitand(i.flags, 65536), 0, 'NO', 'YES'),
decode(bitand(ou.flags, 1), 0, 'NO', 'YES'),
ou.start_monitoring,
ou.end_monitoring
from sys.obj$ io, sys.obj$ t, sys.ind$ i,
sys.object_usage ou
where i.obj# = ou.obj#
and io.obj# = ou.obj#
and t.obj# = i.bo#;
View created.
SQL> select * from v$all_object_usage;
INDEX_NAME TABLE_NAME MON USE START_MONITORING END_MONITORING
PK_EMP EMP YES NO 10/12/2001 06:42:35
Reference Document
Note:144070.1
Note:160712.1
Note:136642.1
Oracle9i Database Administrator's Guide거의 대부분 리눅스+오라클9i 설치 문서 대부분은 export NLS_LANG=AMERICAN_AMERICA.KO16KSC5601 설정을 하던데 틀렸단 말씀이신가요?
라고 하셨는데...참고로
예전에야 그렇지만.. 현재는 한글을 사용하신다면 한글을 더 폭넓게 지원하는 KO16MSWIN949를 사용하시는 것이 더 좋을 듯 싶습니다.
또한 export NLS_LANG=AMERICAN_AMERICA.KO16KSC5601와
NLS_LANG=KOREAN_KOREA.KO16KSC5601 의 눈에 띄는 차이는
에러및 접속메시지가 한글과 영문의 차이가 있습니다..
[oracle@localhost 9.2.0]$ export NLS_LANG=KOREAN_KOREA.KO16KSC5601
[oracle@localhost 9.2.0]$ sqlplus
SQL*Plus: Release 9.2.0.1.0 - Production on 화 Sep 19 18:28:37 2006
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
사용자명 입력: /as sysdba
다음에 접속됨:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> SLDKFJAD
SP2-0042: 알 수 없는 명령어 "SLDKFJAD" - 나머지 줄 무시.
SQL> eixt
SP2-0042: 알 수 없는 명령어 "eixt" - 나머지 줄 무시.
SQL> exit
p.s그리고 경험상...export NLS_LANG=AMERICAN_AMERICA.KO16KSC5601 은 에러의 경험이 있으나 American_America 로 했을때는 에러의 경험이 없었네요. 그냥 참고하세요 -
EM monitor indexes that are being used?
Hello,
I wonder if with Oracle Enterprise Manager dbconsole, is possible monitor the indexes that are being used during a determine period as in TOAD?
ThanksHi,
Index monitoring is started and stopped using the ALTER INDEX syntax shown below.
ALTER INDEX my_index_i MONITORING USAGE;
ALTER INDEX my_index_i NOMONITORING USAGE;
Information about the index usage can be displayed using the $OBJECT_USAGE view.
Query :-
SELECT index_name,
table_name,
monitoring,
used,
start_monitoring,
end_monitoring
FROM v$object_usage
WHERE index_name = 'MY_INDEX_I'
ORDER BY index_name;
The V$OBJECT_USAGE view does not contain an OWNER column so you must to log on as the object owner to see the usage data
Thanks
Pavan Kumar N. -
Determinng how many times an index was used
DB Version:10gR2
Is there a way i could determine how many times an index was used? i couldn't find any related columns in user_indexes.I don't think you can count how many times it's been used. However, you can check whether the index is used or not over a given period by looking at v$object_usage view.
However, you do have to monitor the index usage by issuing
alter index index_name monitoring usage;
However, there is a problem with this view in that the username is always the user who set monitoring on the index.
Solution from metalink is:
select
io.name, t.name,
decode(bitand(i.flags, 65536), 0, 'NO', 'YES'),
decode(bitand(ou.flags, 1), 0, 'NO', 'YES'),
u.start_monitoring,
ou.end_monitoring
from
sys.obj$ io,
sys.obj$ t,
sys.ind$ i,
sys.object_usage ou
where
io.owner# = userenv('SCHEMAID')
and
i.obj# = ou.obj#
and
io.obj# = ou.obj#
and
t.obj# = i.bo#; -
RMAN is not installed error although it's been already installed
Hi everyone,
My OS: Win 2008 x64 R2 Enterprise
Oracle; 11.2.0.2.0 64bit Enterprise
When I try to backup through Symantec Backup Exec , it returns the following error;
Recovery Manager: Release 11.2.0.2.0 - Production on Tue Feb 26 23:03:49 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: KP0 (DBID=4283758981)
connected to recovery catalog database
*# RMAN command section*
*RUN {*
ALLOCATE CHANNEL ch0
TYPE 'SBT_TAPE';
*SEND 'BSA_SERVICE_HOST=BCKPSRVR00,NBBSA_TOTAL_STREAMS=1,NBBSA_JOB_COOKIE={D3774FE4-845A-4FD2-9BD9-4D98086B9BCA},NBBSA_DB_DEVICE_NAME=Oracle-Win::\\saperpprd0\KP0';*
BACKUP
INCREMENTAL LEVEL=0
FORMAT 'BE_U'
DATABASE FORCE PLUS ARCHIVELOG FORCE;
BACKUP CURRENT CONTROLFILE
FORMAT 'BE_U';
RELEASE CHANNEL ch0;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of allocate command at 02/26/2013 23:03:51
RMAN-06428: recovery catalog is not installed
EXIT
Recovery Manager complete.
But I have already installed the recovery catalog by the following procedure and every command in the procedure altered successfully;
SQL>CREATE TABLESPACE RMAN
DATAFILE 'E:\oracle\KP0\sapdata1\rman\RMAN01.DATA1'
SIZE 200M REUSE AUTOEXTEND ON EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
SQL>CREATE USER RMAN IDENTIFIED BY RMAN TEMPORARY TABLESPACE PSAPTEMP DEFAULT TABLESPACE RMAN QUOTA UNLIMITED ON RMAN;
SQL>GRANT RECOVERY_CATALOG_OWNER TO RMAN;
SQL>GRANT CONNECT, RESOURCE TO RMAN;
C:\USERS\KP0ADM>RMAN
RMAN>CONNECT CATALOG RMAN/RMAN@KP0
RMAN>CREATE CATALOG TABLESPACE 'RMAN';
C:\USERS\KP0ADM>RMAN TARGET System@KP0 CATALOG RMAN/RMAN@KP0
RMAN>REGISTER DATABASE;
RMAN>SQL "ALTER SYSTEM ARCHIVE LOG CURRENT";
RMAN>RESYNC CATALOG;
RMAN>CROSSCHECK COPY OF ARCHIVELOG ALL;
By the way, this database has been opened with RESETLOGS option in Feb 2012 and the incarnation list is like below;
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
*1 129 KP0 4283758981 PARENT 1 05-OCT-11*
*1 2 KP0 4283758981 CURRENT 125827000 01-FEB-12*
I've already shut the database down and open it again after installing the recovery catalog , also related oracle services as well...
Could it be a bug with the version 11.2.0.2.0 which I currently use ?
Or what could be the solution ?
Thanks in advance...Hi,
Here is the result of the select;
SQL> SELECT TABLE_NAME FROM USER_TABLES;
TABLE_NAME
UNDO$
USER$
TSQ$
UET$
SEG$
CCOL$
CDEF$
TS$
FET$
BOOTSTRAP$
ICOL$
TABLE_NAME
IND$
COL$
CLU$
TAB$
LOB$
COLTYPE$
SUBCOLTYPE$
NTAB$
REFCON$
OPQTYPE$
ICOLDEP$
TABLE_NAME
VIEWTRCOL$
LIBRARY$
ASSEMBLY$
ATTRCOL$
TYPE_MISC$
PROXY_DATA$
PROXY_ROLE_DATA$
CON$
FILE$
OBJ$
OBJERROR$
TABLE_NAME
OBJAUTH$
UGROUP$
SYN$
VIEW$
TYPED_VIEW$
SUPEROBJ$
SEQ$
PROPS$
EDITION$
FIXED_OBJ$
MIGRATE$
TABLE_NAME
DEPENDENCY$
ACCESS$
VIEWCON$
DUAL
SYSAUTH$
OBJPRIV$
DEFROLE$
ECOL$
EV$
EVCOL$
DEFERRED_STG$
TABLE_NAME
SQLERROR$
LINK$
TRUSTED_LIST$
COM$
DUC$
RECYCLEBIN$
IND_ONLINE$
CONTEXT$
SQL_VERSION$
JIJOIN$
JIREFRESHSQL$
TABLE_NAME
TRIGGER$
TRIGGERCOL$
TRIGGERJAVAF$
TRIGGERJAVAS$
TRIGGERJAVAC$
TRIGGERJAVAM$
TRIGGERDEP$
INDREBUILD$
COMPRESSION$
TRANSIENT_IOT$
SMB$CONFIG
TABLE_NAME
SQL$
SQL$TEXT
SQLOBJ$AUXDATA
OBJECT_USAGE
PROCEDURE$
PROCEDUREINFO$
ARGUMENT$
SOURCE$
IDL_UB1$
IDL_CHAR$
IDL_UB2$
TABLE_NAME
IDL_SB4$
ERROR$
SETTINGS$
NCOMP_DLL$
PROCEDUREJAVA$
PROCEDUREC$
PROCEDUREPLSQL$
WARNING_SETTINGS$
DIANA_VERSION$
PLSCOPE_IDENTIFIER$
PLSCOPE_ACTION$
TABLE_NAME
PENDING_TRANS$
PENDING_SESSIONS$
PENDING_SUB_SESSIONS$
SMON_SCN_TIME
MAP_FILE$
MAP_FILE_EXTENT$
MAP_SUBELEMENT$
MAP_ELEMENT$
MAP_EXTELEMENT$
MAP_COMPLIST$
PROFILE$
TABLE_NAME
PROFNAME$
RESOURCE_COST$
JOB$
RESOURCE_MAP
USER_ASTATUS_MAP
RESOURCE_PLAN$
RESOURCE_CONSUMER_GROUP$
RESOURCE_CATEGORY$
RESOURCE_PLAN_DIRECTIVE$
RESOURCE_GROUP_MAPPING$
RESOURCE_MAPPING_PRIORITY$
TABLE_NAME
RESOURCE_STORAGE_POOL_MAPPING$
RESOURCE_CAPABILITY$
RESOURCE_INSTANCE_CAPABILITY$
RESOURCE_IO_CALIBRATE$
TSM_SRC$
TSM_DST$
SERVICE$
DIR$MIGRATE_OPERATIONS
DIR$SERVICE_OPERATIONS
DIR$ESCALATE_OPERATIONS
DIR$QUIESCE_OPERATIONS
TABLE_NAME
DIR$INSTANCE_ACTIONS
DIR$RESONATE_OPERATIONS
DIR$ALERT_HISTORY
DIR$REASON_STRINGS
DIR$DATABASE_ATTRIBUTES
DIR$VICTIM_POLICY
DIR$NODE_ATTRIBUTES
DIR$SERVICE_ATTRIBUTES
defaultauditing_options_*
AUDIT$
SYSTEM_PRIVILEGE_MAP
TABLE_NAME
TABLE_PRIVILEGE_MAP
STMT_AUDIT_OPTION_MAP
USER_HISTORY$
RLS$
RLS_SC$
RLS_GRP$
RLS_CTX$
AUD$
FGA$
FGACOL$
FGA_LOG$
TABLE_NAME
APPROLE$
ENC$
PROXY_INFO$
PROXY_ROLE_INFO$
XS$VERIFIERS
XS$SESSIONS
XS$SESSION_ROLES
XS$SESSION_APPNS
XS$PARAMETERS
DEFAULT_PWD$
HISTGRM$
TABLE_NAME
HIST_HEAD$
AUX_STATS$
TAB_STATS$
IND_STATS$
CACHE_STATS_1$
CACHE_STATS_0$
ASSOCIATION$
USTATS$
STATS_TARGET$
COL_USAGE$
MON_MODS$
TABLE_NAME
MON_MODS_ALL$
WRI$_OPTSTAT_TAB_HISTORY
WRI$_OPTSTAT_IND_HISTORY
WRI$_OPTSTAT_HISTHEAD_HISTORY
WRI$_OPTSTAT_HISTGRM_HISTORY
WRI$_OPTSTAT_AUX_HISTORY
WRI$_OPTSTAT_OPR
OPTSTAT_HIST_CONTROL$
OPTSTAT_USER_PREFS$
DIR$
ID_GENS$
TABLE_NAME
OID$
TYPE$
COLLECTION$
ATTRIBUTE$
METHOD$
PARAMETER$
RESULT$
TYPEHIERARCHY$
KOPM$
VTABLE$
OPBINDING$
TABLE_NAME
OPANCILLARY$
OPARG$
OPERATOR$
INDTYPES$
INDOP$
INDARRAYTYPE$
SECOBJ$
JAVAOBJ$
JAVASNM$
PARTOBJ$
PARTCOL$
TABLE_NAME
TABPART$
INDPART$
SUBPARTCOL$
TABSUBPART$
INDSUBPART$
TABCOMPART$
INDCOMPART$
PARTLOB$
LOBFRAG$
LOBCOMPPART$
DEFSUBPART$
TABLE_NAME
DEFSUBPARTLOB$
INDPART_PARAM$
INSERT_TSN_LIST$
SUMPARTLOG$
SUMDELTA$
SNAP_LOGDEP$
SNAP_LOADERTIME$
MLOG$
SLOG$
SNAP_XCMT$
SNAP$
TABLE_NAME
SNAP_REFTIME$
MLOG_REFCOL$
SNAP_REFOP$
SNAP_COLMAP$
SNAP_OBJCOL$
REG_SNAP$
SNAP_SITE$
RGROUP$
RGCHILD$
CDC_SYSTEM$
CDC_CHANGE_SOURCES$
TABLE_NAME
CDC_CHANGE_SETS$
CDC_CHANGE_TABLES$
CDC_SUBSCRIBERS$
CDC_SUBSCRIBED_TABLES$
CDC_SUBSCRIBED_COLUMNS$
CDC_CHANGE_COLUMNS$
CDC_PROPAGATIONS$
CDC_PROPAGATED_SETS$
STREAMS$_SPLIT_MERGE
STREAMS$_CAPTURE_SERVER
STREAMS$_CAPTURE_PROCESS
TABLE_NAME
STREAMS$_APPLY_PROCESS
STREAMS$_PROPAGATION_PROCESS
STREAMS$_PROCESS_PARAMS
STREAMS$_EXTRA_ATTRS
STREAMS$_PREPARE_OBJECT
STREAMS$_PREPARE_DDL
STREAMS$_APPLY_MILESTONE
STREAMS$_APPLY_PROGRESS
STREAMS$_KEY_COLUMNS
STREAMS$_DEF_PROC
STREAMS$_RULES
TABLE_NAME
APPLY$_SOURCE_OBJ
APPLY$_SOURCE_SCHEMA
APPLY$_VIRTUAL_OBJ_CONS
APPLY$_CONSTRAINT_COLUMNS
APPLY$_DEST_OBJ
APPLY$_DEST_OBJ_CMAP
APPLY$_DEST_OBJ_OPS
STREAMS$_STMT_HANDLERS
STREAMS$_STMT_HANDLER_STMTS
APPLY$_CHANGE_HANDLERS
APPLY$_ERROR
TABLE_NAME
APPLY$_ERROR_TXN
APPLY$_ERROR_HANDLER
APPLY$_CONF_HDLR_COLUMNS
STREAMS$_DEST_OBJS
STREAMS$_DEST_OBJ_COLS
STREAMS$_PRIVILEGED_USER
STREAMS$_MESSAGE_RULES
STREAMS$_MESSAGE_CONSUMERS
STREAMS$_APPLY_SPILL_TXN
STREAMS$_APPLY_SPILL_TXN_LIST
FGR$_FILE_GROUPS
TABLE_NAME
FGR$_FILE_GROUP_VERSIONS
FGR$_FILE_GROUP_EXPORT_INFO
FGR$_FILE_GROUP_FILES
FGR$_TABLESPACE_INFO
FGR$_TABLE_INFO
REDEF$
REDEF_OBJECT$
REDEF_DEP_ERROR$
RULESET$
LOG$
RECO_SCRIPT$
TABLE_NAME
RECO_SCRIPT_PARAMS$
RECO_SCRIPT_BLOCK$
RECO_SCRIPT_ERROR$
COMPARISON$
COMPARISON_COL$
COMPARISON_SCAN$
COMPARISON_SCAN_VAL$
COMPARISON_ROW_DIF$
STREAMS$_COMPONENT
STREAMS$_COMPONENT_LINK
STREAMS$_COMPONENT_PROP
TABLE_NAME
STREAMS$_DATABASE
XSTREAM$_SERVER
XSTREAM$_SUBSET_RULES
XSTREAM$_SYSGEN_OBJS
XSTREAM$_PARAMETERS
XSTREAM$_DML_CONFLICT_HANDLER
XSTREAM$_SERVER_CONNECTION
XSTREAM$_DDL_CONFLICT_HANDLER
XSTREAM$_MAP
GOLDENGATE$_PRIVILEGES
AW$
TABLE_NAME
PS$
AW_OBJ$
AW_PROP$
AW_TRACK$
AW_PRG$
OLAP_MAPPINGS$
OLAP_MODELS$
OLAP_MODEL_PARENTS$
OLAP_MODEL_ASSIGNMENTS$
OLAP_CALCULATED_MEMBERS$
OLAP_SYNTAX$
TABLE_NAME
OLAP_DESCRIPTIONS$
OLAP_CUBE_BUILD_PROCESSES$
OLAP_AW_VIEWS$
OLAP_AW_VIEW_COLUMNS$
OLAP_MEASURE_FOLDERS$
OLAP_MEAS_FOLDER_CONTENTS$
OLAP_AW_DEPLOYMENT_CONTROLS$
OLAP_IMPL_OPTIONS$
OLAP_MULTI_OPTIONS$
OLAP_CUBE_DIMENSIONS$
OLAP_DIM_LEVELS$
TABLE_NAME
OLAP_ATTRIBUTES$
OLAP_ATTRIBUTE_VISIBILITY$
OLAP_HIERARCHIES$
OLAP_HIER_LEVELS$
OLAP_CUBES$
OLAP_MEASURES$
OLAP_DIMENSIONALITY$
OLAP_TAB$
OLAP_TAB_COL$
OLAP_TAB_HIER$
SUM$
TABLE_NAME
SUMDETAIL$
SUMINLINE$
SUMKEY$
SUMAGG$
SUMJOIN$
SUMDEP$
SUMPRED$
SUMQB$
HIER$
HIERLEVEL$
DIM$
TABLE_NAME
DIMLEVEL$
DIMLEVELKEY$
DIMJOINKEY$
DIMATTR$
INCEXP
INCVID
INCFIL
EXPACT$
NOEXP$
EXPPKGOBJ$
EXPPKGACT$
TABLE_NAME
EXPDEPOBJ$
EXPDEPACT$
EXPIMP_TTS_CT$
METAVIEW$
METAFILTER$
METAXSL$
METAXSLPARAM$
METASTYLESHEET
METASCRIPT$
METASCRIPTFILTER$
METANAMETRANS$
TABLE_NAME
METAPATHMAP$
EXTERNAL_TAB$
EXTERNAL_LOCATION$
MODEL$
MODELTAB$
MODELATT$
MODELSET$
LOGMNR_BUILDLOG
LOGMNRG_SEED$
LOGMNRG_DICTIONARY$
LOGMNRG_OBJ$
TABLE_NAME
LOGMNRG_TAB$
LOGMNRG_COL$
LOGMNRG_ATTRCOL$
LOGMNRG_TS$
LOGMNRG_IND$
LOGMNRG_USER$
LOGMNRG_TABPART$
LOGMNRG_TABSUBPART$
LOGMNRG_TABCOMPART$
LOGMNRG_TYPE$
LOGMNRG_COLTYPE$
TABLE_NAME
LOGMNRG_ATTRIBUTE$
LOGMNRG_LOB$
LOGMNRG_CDEF$
LOGMNRG_CCOL$
LOGMNRG_ICOL$
LOGMNRG_LOBFRAG$
LOGMNRG_INDPART$
LOGMNRG_INDSUBPART$
LOGMNRG_INDCOMPART$
LOGMNRG_LOGMNR_BUILDLOG
LOGMNRG_NTAB$
TABLE_NAME
LOGMNRG_OPQTYPE$
LOGMNRG_SUBCOLTYPE$
LOGMNRG_KOPM$
LOGMNRG_PROPS$
LOGMNRG_ENC$
LOGMNRG_REFCON$
LOGMNRG_PARTOBJ$
DST$AFFECTED_TABLES
DST$ERROR_TABLE
DST$TRIGGER_TABLE
SYS_FBA_FA
TABLE_NAME
SYS_FBA_TSFA
SYS_FBA_BARRIERSCN
SYS_FBA_TRACKEDTABLES
SYS_FBA_PARTITIONS
SYS_FBA_USERS
SYS_FBA_DL
REGISTRY$
REGISTRY$SCHEMAS
REGISTRY$LOG
REGISTRY$ERROR
REGISTRY$HISTORY
TABLE_NAME
REGISTRY$PROGRESS
REGISTRY$DEPENDENCIES
REGISTRY$DATABASE
AUDIT_ACTIONS
WRI$_SEGADV_OBJLIST
WRI$_SEGADV_CNTRLTAB
WRI$_REPT_COMPONENTS
WRI$_REPT_REPORTS
WRI$_REPT_FILES
WRI$_REPT_FORMATS
TRANSACTION_BACKOUT_STATE$
TABLE_NAME
TRANSACTION_BACKOUT_REPORT$
UTL_RECOMP_SORTED
UTL_RECOMP_COMPILED
UTL_RECOMP_ERRORS
TRANSFORMATIONS$
ATTRIBUTE_TRANSFORMATIONS$
RULE_SET_IEUAC$
RULE_SET$
RULE$
RULE_MAP$
RULE_EC$
TABLE_NAME
REC_TAB$
REC_VAR$
RULE_SET_EE$
RULE_SET_TE$
RULE_SET_VE$
RULE_SET_RE$
RULE_SET_ROR$
RULE_SET_FOB$
RULE_SET_NL$
SYS_IOT_OVER_5229
RULE_SET_RDEP$
TABLE_NAME
SYS_IOT_OVER_5235
SYS_IOT_OVER_5239
DAM_PARAM_TAB$
DAM_CONFIG_PARAM$
DAM_LAST_ARCH_TS$
DAM_CLEANUP_JOBS$
DAM_CLEANUP_EVENTS$
INVALIDATION_REGISTRY$
SYS_IOT_OVER_5476
CHNF$_CLAUSE_DEPENDENTS
CHNF$_QUERY_OBJECT
TABLE_NAME
CHNF$_REG_QUERIES
CHNF$_QUERIES
CHNF$_QUERY_BINDS
SYS_IOT_OVER_5511
CHNF$_QUERY_DEPENDENCIES
CHNFDIRECTLOAD$
CPOOL$
SSCR_CAP$
SSCR_RES$
REG$
LOC$
TABLE_NAME
AQ$_REPLAY_INFO
AQ$_QUEUE_TABLE_AFFINITIES
AQ$_SUBSCRIBER_TABLE
AQ$_SCHEDULES
AQ$_MESSAGE_TYPES
AQ$_PROPAGATION_STATUS
AQ$_PENDING_MESSAGES
AQ$_QUEUE_STATISTICS
AQ$_PUBLISHER
SYS_IOT_OVER_5779
WRI$_ADV_DEFINITIONS
TABLE_NAME
WRI$_ADV_DEF_PARAMETERS
WRI$_ADV_DEF_EXEC_TYPES
WRI$_ADV_TASKS
WRI$_ADV_PARAMETERS
WRI$_ADV_EXECUTIONS
WRI$_ADV_EXEC_PARAMETERS
WRI$_ADV_OBJECTS
WRI$_ADV_FINDINGS
WRI$_ADV_INST_FDG
WRI$_ADV_RECOMMENDATIONS
WRI$_ADV_ACTIONS
TABLE_NAME
WRI$_ADV_RATIONALE
WRI$_ADV_REC_ACTIONS
WRI$_ADV_DIRECTIVE_DEFS
WRI$_ADV_DIRECTIVE_META
WRI$_ADV_DIRECTIVE_INSTANCES
WRI$_ADV_JOURNAL
WRI$_ADV_MESSAGE_GROUPS
WRI$_ADV_SQLT_PLAN_HASH
WRI$_ADV_SQLT_PLAN_STATS
WRI$_ADV_SQLT_PLANS
WRI$_ADV_USAGE
TABLE_NAME
WRI$_ADV_ADDM_TASKS
WRI$_ADV_ADDM_INST
WRI$_ADV_ADDM_FDG
SCHEDULER$_PROGRAM
SCHEDULER$_CLASS
SCHEDULER$_JOB
SCHEDULER$_SAVED_OIDS
SCHEDULER$_LWJOB_OBJ
SCHEDULER$_LIGHTWEIGHT_JOB
SCHEDULER$_JOB_ARGUMENT
SCHEDULER$_WINDOW
TABLE_NAME
SCHEDULER$_PROGRAM_ARGUMENT
SCHEDULER$_SRCQ_INFO
SCHEDULER$_SRCQ_MAP
SCHEDULER$_EVTQ_SUB
SCHEDULER$_EVENT_LOG
SCHEDULER$_JOB_RUN_DETAILS
SCHEDULER$_WINDOW_DETAILS
SCHEDULER$_WINDOW_GROUP
SCHEDULER$_WINGRP_MEMBER
SCHEDULER$_SCHEDULE
SCHEDULER$_CHAIN
TABLE_NAME
SCHEDULER$_STEP
SCHEDULER$_STEP_STATE
SCHEDULER$_GLOBAL_ATTRIBUTE
SCHEDULER$_CREDENTIAL
SCHEDULER$_RJOB_SRC_DB_INFO
SCHEDULER$_REMOTE_DBS
SCHEDULER$_REMOTE_JOB_STATE
SCHEDULER$_FILE_WATCHER
SCHEDULER$_FILEWATCHER_HISTORY
SCHEDULER$_FILEWATCHER_RESEND
SCHEDULER$_NOTIFICATION
TABLE_NAME
SCHEDULER$_DESTINATIONS
SCHEDULER$_JOB_DESTINATIONS
KU_NOEXP_TAB
KU_UTLUSE
CRC$_RESULT_CACHE_STATS
WRI$_DBU_FEATURE_USAGE
WRI$_DBU_FEATURE_METADATA
WRI$_DBU_HIGH_WATER_MARK
WRI$_DBU_HWM_METADATA
WRI$_DBU_USAGE_SAMPLE
WRI$_DBU_CPU_USAGE
TABLE_NAME
WRI$_DBU_CPU_USAGE_SAMPLE
WRI$_ALERT_OUTSTANDING
WRI$_ALERT_HISTORY
WRI$_ALERT_THRESHOLD
WRI$_ALERT_THRESHOLD_LOG
KET$_AUTOTASK_STATUS
KET$_CLIENT_CONFIG
KET$_CLIENT_TASKS
WRI$_TRACING_ENABLED
WRI$_AGGREGATION_ENABLED
WRI$_ADV_SQLT_BINDS
TABLE_NAME
WRI$_ADV_SQLT_STATISTICS
WRI$_ADV_SQLT_RTN_PLAN
WRI$_SQLSET_DEFINITIONS
WRI$_SQLSET_REFERENCES
WRI$_SQLSET_STATEMENTS
WRI$_SQLSET_PLANS
WRI$_SQLSET_STATISTICS
WRI$_SQLSET_MASK
WRI$_SQLSET_PLAN_LINES
WRI$_SQLSET_BINDS
WRI$_SQLSET_WORKSPACE
TABLE_NAME
WRI$_SQLSET_WORKSPACE_PLANS
WRI$_SQLMON_USAGE
WRH$_FILESTATXS_BL
WRH$_TEMPSTATXS
WRH$_DATAFILE
WRH$_TEMPFILE
WRH$_COMP_IOSTAT
WRH$_IOSTAT_FUNCTION
WRH$_IOSTAT_FUNCTION_NAME
WRH$_IOSTAT_FILETYPE
WRH$_IOSTAT_FILETYPE_NAME
TABLE_NAME
WRH$_IOSTAT_DETAIL
WRH$_SQLSTAT_BL
WRH$_SQLTEXT
WRI$_SQLTEXT_REFCOUNT
WRH$_SQL_SUMMARY
WRH$_SQL_PLAN
WRH$_SQL_BIND_METADATA
WRH$_OPTIMIZER_ENV
WRH$_SYSTEM_EVENT_BL
WRH$_EVENT_NAME
WRH$_LATCH_NAME
TABLE_NAME
WRH$_BG_EVENT_SUMMARY
WRH$_WAITSTAT_BL
WRH$_ENQUEUE_STAT
WRH$_LATCH_BL
WRH$_LATCH_CHILDREN_BL
WRH$_LATCH_PARENT_BL
WRH$_LATCH_MISSES_SUMMARY_BL
WRH$_EVENT_HISTOGRAM_BL
WRH$_MUTEX_SLEEP
WRH$_LIBRARYCACHE
WRH$_DB_CACHE_ADVICE_BL
TABLE_NAME
WRH$_BUFFER_POOL_STATISTICS
WRH$_ROWCACHE_SUMMARY_BL
WRH$_SGA
WRH$_SGASTAT_BL
WRH$_PGASTAT
WRH$_PROCESS_MEMORY_SUMMARY
WRH$_RESOURCE_LIMIT
WRH$_SHARED_POOL_ADVICE
WRH$_STREAMS_POOL_ADVICE
WRH$_SQL_WORKAREA_HISTOGRAM
WRH$_PGA_TARGET_ADVICE
TABLE_NAME
WRH$_SGA_TARGET_ADVICE
WRH$_MEMORY_TARGET_ADVICE
WRH$_MEMORY_RESIZE_OPS
WRH$_INSTANCE_RECOVERY
WRH$_JAVA_POOL_ADVICE
WRH$_THREAD
WRH$_SYSSTAT_BL
WRH$_SYS_TIME_MODEL_BL
WRH$_OSSTAT_BL
WRH$_PARAMETER_BL
WRH$_MVPARAMETER_BL
TABLE_NAME
WRH$_STAT_NAME
WRH$_OSSTAT_NAME
WRH$_PARAMETER_NAME
WRH$_PLAN_OPERATION_NAME
WRH$_PLAN_OPTION_NAME
WRH$_SQLCOMMAND_NAME
WRH$_TOPLEVELCALL_NAME
WRH$_UNDOSTAT
WRH$_SEG_STAT_BL
WRH$_SEG_STAT_OBJ
WRH$_METRIC_NAME
TABLE_NAME
WRH$_SYSMETRIC_HISTORY
WRH$_SYSMETRIC_SUMMARY
WRH$_SESSMETRIC_HISTORY
WRH$_FILEMETRIC_HISTORY
WRH$_WAITCLASSMETRIC_HISTORY
WRH$_DLM_MISC_BL
WRH$_CR_BLOCK_SERVER
WRH$_CURRENT_BLOCK_SERVER
WRH$_INST_CACHE_TRANSFER_BL
WRH$_ACTIVE_SESSION_HISTORY_BL
WRH$_TABLESPACE_STAT_BL
TABLE_NAME
WRH$_LOG
WRH$_MTTR_TARGET_ADVICE
WRH$_TABLESPACE
WRH$_TABLESPACE_SPACE_USAGE
WRH$_SERVICE_NAME
WRH$_SERVICE_STAT_BL
WRH$_SERVICE_WAIT_CLASS_BL
WRH$_SESS_TIME_STATS
WRH$_STREAMS_CAPTURE
WRH$_STREAMS_APPLY_SUM
WRH$_BUFFERED_QUEUES
TABLE_NAME
WRH$_BUFFERED_SUBSCRIBERS
WRH$_PERSISTENT_QUEUES
WRH$_PERSISTENT_SUBSCRIBERS
WRH$_RULE_SET
WRI$_SCH_CONTROL
WRI$_SCH_VOTES
WRH$_RSRC_CONSUMER_GROUP
WRH$_RSRC_PLAN
WRH$_CLUSTER_INTERCON
WRH$_IC_DEVICE_STATS
WRH$_IC_CLIENT_STATS
TABLE_NAME
WRH$_MEM_DYNAMIC_COMP
WRH$_INTERCONNECT_PINGS_BL
WRH$_DISPATCHER
WRH$_SHARED_SERVER_SUMMARY
WRH$_DYN_REMASTER_STATS
WRH$_PERSISTENT_QMN_CACHE
WRM$_WR_USAGE
WRM$_DATABASE_INSTANCE
WRM$_SNAPSHOT
WRM$_SNAPSHOT_DETAILS
WRM$_SNAP_ERROR
TABLE_NAME
WRM$_BASELINE
WRM$_COLORED_SQL
WRM$_BASELINE_DETAILS
WRM$_BASELINE_TEMPLATE
WRM$_WR_CONTROL
WRR$_FILTERS
WRR$_CAPTURES
WRR$_CAPTURE_STATS
WRR$_CAPTURE_UC_GRAPH
WRR$_REPLAYS
WRR$_REPLAY_STATS
TABLE_NAME
WRR$_REPLAY_DIVERGENCE
WRR$_REPLAY_UC_GRAPH
WRR$_CONNECTION_MAP
WRR$_REPLAY_SQL_TEXT
WRR$_REPLAY_SQL_BINDS
WRR$_SEQUENCE_EXCEPTIONS
WRR$_REPLAY_CALL_FILTER
WRR$_REPLAY_FILTER_SET
WRR$_REPLAY_DEP_GRAPH
WRR$_REPLAY_COMMITS
WRR$_REPLAY_REFERENCES
TABLE_NAME
WRI$_ADV_SQLW_SUM
WRI$_ADV_SQLW_STMTS
WRI$_ADV_SQLW_TABLES
WRI$_ADV_SQLW_TABVOL
WRI$_ADV_SQLW_COLVOL
WRI$_ADV_SQLA_MAP
WRI$_ADV_SQLA_SUM
WRI$_ADV_SQLA_STMTS
WRI$_ADV_SQLA_TABLES
WRI$_ADV_SQLA_TABVOL
WRI$_ADV_SQLA_COLVOL
TABLE_NAME
WRI$_ADV_SQLA_TMP
WRI$_ADV_SQLA_FAKE_REG
DBMS_PARALLEL_EXECUTE_TASK$
DBMS_PARALLEL_EXECUTE_CHUNKS$
DBFS$_STORES
DBFS$_MOUNTS
DBFS$_STATS
DBFS_SFS$_TAB
DBFS_SFS$_VOL
DBFS_SFS$_SNAP
DBFS_SFS$_FS
TABLE_NAME
DBFS_SFS$_FST
DBFS_SFS$_FSTP
DBFS_SFS$_FSTO
DBFS_HS$_FS
DBFS_HS$_PROPERTY
DBFS_HS$_SFLOCATORTABLE
DBFS_HS$_BACKUPFILETABLE
DBFS_HS$_CONTENTFNMAPTBL
DBFS_HS$_STORECOMMANDS
DBFS_HS$_STOREID2POLICYCTX
DBFS_HS$_STOREPROPERTIES
TABLE_NAME
DBFS_HS$_STOREIDTABLE
SQL_TK_COLL_CHK$
SQL_TK_ROW_CHK$
SQL_TK_REF_CHK$
SQL_TK_TAB_DESC$
WRI$_OPTSTAT_SYNOPSIS_PARTGRP
WRI$_OPTSTAT_SYNOPSIS_HEAD$
STREAMS$_APPLY_SPILL_MESSAGES
STREAMS$_INTERNAL_TRANSFORM
DBMS_LOCK_ALLOCATED
DBMS_ALERT_INFO
TABLE_NAME
SCHEDULER$_EVENT_QTAB
AQ$_SCHEDULER$_EVENT_QTAB_S
AQ$_SCHEDULER$_EVENT_QTAB_L
SYS_IOT_OVER_12473
SCHEDULER$_REMDB_JOBQTAB
AQ$_SCHEDULER$_REMDB_JOBQTAB_S
AQ$_SCHEDULER$_REMDB_JOBQTAB_L
SYS_IOT_OVER_12508
SCHEDULER_FILEWATCHER_QT
AQ$_SCHEDULER_FILEWATCHER_QT_S
AQ$_SCHEDULER_FILEWATCHER_QT_L
TABLE_NAME
SYS_IOT_OVER_12538
ALERT_QT
AQ$_ALERT_QT_S
AQ$_ALERT_QT_L
SYS_IOT_OVER_12594
HS$_FDS_CLASS
HS$_FDS_INST
HS$_BASE_CAPS
HS$_CLASS_CAPS
HS$_INST_CAPS
HS$_BASE_DD
TABLE_NAME
HS$_CLASS_DD
HS$_INST_DD
HS$_CLASS_INIT
HS$_INST_INIT
HS$_FDS_CLASS_DATE
HS_BULKLOAD_VIEW_OBJ
HS_PARTITION_COL_NAME
HS_PARTITION_COL_TYPE
HS$_PARALLEL_METADATA
HS$_PARALLEL_PARTITION_DATA
HS$_PARALLEL_HISTOGRAM_DATA
TABLE_NAME
HS$_PARALLEL_SAMPLE_DATA
AQ$_MEM_MC
AQ$_AQ$_MEM_MC_S
AQ$_AQ$_MEM_MC_L
SYS_IOT_OVER_12797
AQ_EVENT_TABLE
AQ_PROP_TABLE
AQ$_AQ_PROP_TABLE_S
AQ$_AQ_PROP_TABLE_L
SYS_IOT_OVER_12833
KUPC$DATAPUMP_QUETAB
TABLE_NAME
AQ$_KUPC$DATAPUMP_QUETAB_S
AQ$_KUPC$DATAPUMP_QUETAB_L
SYS_IOT_OVER_13016
SYS$SERVICE_METRICS_TAB
AQ$_SYS$SERVICE_METRICS_TAB_S
AQ$_SYS$SERVICE_METRICS_TAB_L
SYS_IOT_OVER_13141
ATEMPTAB$
SQLLOG$
SQLOBJ$
SQLOBJ$DATA
TABLE_NAME
MAP_OBJECT
CLUSTER_DATABASES
CLUSTER_NODES
CLUSTER_INSTANCES
COL_GROUP_USAGE$
FINALHIST$
PSTUBTBL
WRI$_ADV_ASA_RECO_DATA
PLAN_TABLE$
RULE_SET_PR$
RULE_SET_IOT$
TABLE_NAME
RULE_SET_ROP$
CHNF$_CLAUSES
CHNF$_GROUP_FILTER_IOT
CHNF$_QUERY_DELTAS
RECENT_RESOURCE_INCARNATIONS$
KU$NOEXP_TAB
KU$_LIST_FILTER_TEMP
KU$_LIST_FILTER_TEMP_2
WRI$_SQLSET_PLANS_TOCAP
WRI$_SQLSET_STS_TOPACK
WRH$_FILESTATXS
TABLE_NAME
WRH$_SQLSTAT
WRH$_SYSTEM_EVENT
WRH$_WAITSTAT
WRH$_LATCH
WRH$_LATCH_CHILDREN
WRH$_LATCH_PARENT
WRH$_LATCH_MISSES_SUMMARY
WRH$_EVENT_HISTOGRAM
WRH$_DB_CACHE_ADVICE
WRH$_ROWCACHE_SUMMARY
WRH$_SGASTAT
TABLE_NAME
WRH$_SYSSTAT
WRH$_SYS_TIME_MODEL
WRH$_OSSTAT
WRH$_PARAMETER
WRH$_MVPARAMETER
WRH$_SEG_STAT
WRH$_DLM_MISC
WRH$_INST_CACHE_TRANSFER
WRH$_ACTIVE_SESSION_HISTORY
WRH$_TABLESPACE_STAT
WRH$_SERVICE_STAT
TABLE_NAME
WRH$_SERVICE_WAIT_CLASS
WRH$_INTERCONNECT_PINGS
WRR$_REPLAY_SCN_ORDER
WRR$_REPLAY_SEQ_DATA
WRR$_REPLAY_DATA
WRR$_WORKLOAD_ATTRIBUTES
ODCI_SECOBJ$
ODCI_WARNINGS$
ODCI_PMO_ROWIDS$
TTS_TBS$
TTS_USR$
TABLE_NAME
TTS_ERROR$
WRI$_OPTSTAT_SYNOPSIS$
STREAMS$_APPLY_SPILL_MSGS_PART
STREAMS$_COMPONENT_IN
STREAMS$_COMPONENT_LINK_IN
STREAMS$_COMPONENT_PROP_IN
STREAMS$_COMPONENT_STAT_IN
STREAMS$_COMPONENT_EVENT_IN
STREAMS$_LOCAL_FINDINGS_IN
STREAMS$_LOCAL_RECS_IN
STREAMS$_LOCAL_ACTIONS_IN
TABLE_NAME
STREAMS$_COMPONENT_STAT_OUT
STREAMS$_PATH_STAT_OUT
STREAMS$_PATH_BOTTLENECK_OUT
AQ$_SCHEDULER$_EVENT_QTAB_T
AQ$_SCHEDULER$_EVENT_QTAB_H
AQ$_SCHEDULER$_EVENT_QTAB_G
AQ$_SCHEDULER$_EVENT_QTAB_I
AQ$_SCHEDULER$_REMDB_JOBQTAB_T
AQ$_SCHEDULER$_REMDB_JOBQTAB_H
AQ$_SCHEDULER$_REMDB_JOBQTAB_G
AQ$_SCHEDULER$_REMDB_JOBQTAB_I
TABLE_NAME
AQ$_SCHEDULER_FILEWATCHER_QT_T
AQ$_SCHEDULER_FILEWATCHER_QT_H
AQ$_SCHEDULER_FILEWATCHER_QT_G
AQ$_SCHEDULER_FILEWATCHER_QT_I
AQ$_ALERT_QT_T
AQ$_ALERT_QT_H
AQ$_ALERT_QT_G
AQ$_ALERT_QT_I
AQ$_AQ$_MEM_MC_T
AQ$_AQ$_MEM_MC_H
AQ$_AQ$_MEM_MC_G
TABLE_NAME
AQ$_AQ$_MEM_MC_I
AQ$_AQ_PROP_TABLE_T
AQ$_AQ_PROP_TABLE_H
AQ$_AQ_PROP_TABLE_G
AQ$_AQ_PROP_TABLE_I
IMPDP_STATS
KU$_DATAPUMP_MASTER_11_2
KU$_DATAPUMP_MASTER_11_1_0_7
KU$_DATAPUMP_MASTER_11_1
KU$_DATAPUMP_MASTER_10_1
AQ$_KUPC$DATAPUMP_QUETAB_T
TABLE_NAME
AQ$_KUPC$DATAPUMP_QUETAB_H
AQ$_KUPC$DATAPUMP_QUETAB_G
AQ$_KUPC$DATAPUMP_QUETAB_I
AQ$_SYS$SERVICE_METRICS_TAB_T
AQ$_SYS$SERVICE_METRICS_TAB_H
AQ$_SYS$SERVICE_METRICS_TAB_G
AQ$_SYS$SERVICE_METRICS_TAB_I
WRI$_ADV_OBJSPACE_TREND_DATA
WRI$_ADV_OBJSPACE_CHROW_DATA
*933 rows selected.*
SQL>
Maybe you are looking for
-
Photoshop CS3 - files are locked to 1 user after editing
Hi there, Our setup is the following: 6 Mac OS X 10.5.8 clients with Adobe CS3. The images reside on a shred folder hosted on Mac OS X 10.5 Server. SC3 users are in an ACL group that has read/write permissions to all the shared files. The issue we ha
-
Substring between unicode and non-unicode
Hi, experts, We are upgrading our system from 4.7 to 6.0 in chinese, but after that, there is a problem: we have a program which hadle some txt files which create by an non-sap and non-unicode system, for example, there is a line contains '你好 12
-
How to display zero in the screen's input field using numc type
Hi, I want to display the zero value in the input field , when I using the NUMC input field on the screen . The zero will be changed to blank ,when I click the Enter key. What I should do for it? Any help is appreciated. Regards, Trevor
-
Animation Sound does not end when published
I have an animation with sound on a slide, but when I go off the slide, the sound continues with the sounds/narriation on the subsequent slides. During F4 and F8 previews of the project the sound ended when I went off of the slide. This is only occ
-
I have iTunes on my Windows Vista PC laptop. Therefore, I must have Quicktime installed in order for iTunes to run (ridiculous!!!!!). BUT, I don't want quicktime to be my default player. I've even changed my quicktime preferences so thati t only asso