Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
www.dbwatchsoftware.com
September 15, 2009 5:32:42 PM
Databases
The report encompasses information from the following databases:
- ora10g1 ole
Page 2
Health check report for Oracle 10g database
1. Status overview
1.1. Status on check information
The following table lists basic information on the installed checks.
Check Warnings Last occured warning (date) Alarms Last occured alarm (date)
Free space Check 3 2009-08-10 16:21:03.0 0
Listener log check 10g 200 2009-08-10 12:13:07.0 0
Backup log Check 10g 101 2009-08-09 05:15:18.0 0
("old style" backups)
Page 3
Health check report for Oracle 10g database
Page 4
Health check report for Oracle 10g database
2. System overview
The sections shows overall information concerning the database.
Banner
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE10.1.0.2.0Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
Page 5
Health check report for Oracle 10g database
Period (#) DBMS startup Last sampled date Period span (in days, hours and minutes)
8 10-09-2009 03:08 15-09-2009 17:35 5 days 14 hours 27 min
7 16-08-2009 03:10 09-09-2009 15:49 24 days 12 hours 38 min
6 13-08-2009 13:49 16-08-2009 03:08 2 days 13 hours 19 min
5 12-08-2009 03:06 13-08-2009 11:26 1 days 8 hours 20 min
4 11-08-2009 10:04 11-08-2009 20:16 0 days 10 hours 11 min
3 30-07-2009 03:08 11-08-2009 08:31 12 days 5 hours 23 min
2 11-06-2009 03:09 21-07-2009 14:01 40 days 10 hours 51 min
1 27-04-2009 03:02 10-06-2009 15:53 44 days 12 hours 51 min
Page 6
Health check report for Oracle 10g database
3.1. Schemas
The following table provides an overview of the object count and size in the monitored database
environment. (the 15 largest schemas are shown)
Page 7
Health check report for Oracle 10g database
Page 8
Health check report for Oracle 10g database
Owner Segment Segment type Tablespace Extents (#) Total segment size (MB)
SYS IDL_UB1$ TABLE SYSTEM 91 160
SYS SOURCE$ TABLE SYSTEM 66 51
SYS IDL_UB2$ TABLE SYSTEM 38 23
SYS C_OBJ#_INTCOL# CLUSTER SYSTEM 22 22
SYS C_TOID_VERSION# CLUSTER SYSTEM 29 14
SYS I_WRI$_OPTSTAT_H_ INDEX SYSAUX 30 15
OBJ#_ICOL#_ST
SYS PK_C0 INDEX SYSTEM 10 10
SYS PK_CS INDEX SYSTEM 10 10
SYS PK_CT INDEX SYSTEM 10 10
SYS PK_O INDEX SYSTEM 10 10
SYS C_OBJ# CLUSTER SYSTEM 25 10
SYS WRI$_OPTSTAT_HIST TABLE SYSAUX 25 10
GRM_HISTORY
SYS I_SOURCE1 INDEX SYSTEM 25 10
Page 9
Health check report for Oracle 10g database
Page 10
Health check report for Oracle 10g database
Parameter Path
spfile C:\ORACLE\PRODUCT\10.1.0\DB_4\DATABASE\SPFILEORA10G1.ORA
Page 11
Health check report for Oracle 10g database
Page 12
Health check report for Oracle 10g database
Page 13
Health check report for Oracle 10g database
5. Session statistics
5.1. Logon history
Shows logon history collected from v$session performance view.
Hostname Sessions
OlePC 24
Username Sessions
DBW 4
DBW_1702_1 4
DBW_DEMO 4
DBW_T4 4
DBW_T6 4
DB_WATCH 4
Program Sessions
dbWatch 9 (engine) 24
Page 14
Health check report for Oracle 10g database
Page 15
Health check report for Oracle 10g database
Page 16
Health check report for Oracle 10g database
6. File IO statistics
Oracle maintains the information regarding the different types of files (data files, temporary files etc.); each
of these statistics requires its own interpretation to understand the use of the disk resources on the host
machine. This chapter shows information concerning data files. The data files are physically located in the
file system of the Oracle server and they contain all data stored in the database, including metadata. The data
files are grouped in the logical storage unit tablespace. Looking at the tablespace growth directly gives a
more correct insight into how much disk resources particular applications (which typically have their own
tablespaces) consume.
6.2. Statistics for data files with the highest average physical reads
The chart below shows data files with the highest average physical reads, i.e. how many times the database
has had to read from that particular file in order to satisfy a request. Disk reads can be alleviated by
buffering tables in memory or by reducing transaction loads. If some particular data file needs to be read
often it may be beneficial to store this file on its own disk.
Page 17
Health check report for Oracle 10g database
6.4. Statistics for data files with the highest average physical writes
The chart below shows data files with the highest average physical writes for each data file. Write
operations are caused by transactions that update tables in the database. Depending on the type of database
you will see a lot of write activity or very little. If both read and write activity is high and you experience lag
your safest bet is either to reduce the load on the database (by optimizing SQL statements or rescheduling
regular tasks) or moving the data file to another disk.
Page 18
Health check report for Oracle 10g database
File ID Size (MB) Status Type Name AUTOEXT Max Size (GB) Tablespace
ENSIBLE name (GB)
1 530 SYSTEM DATA E:\ORACLE\ORAD YES 32 SYSTEM
ATA\ORA10G1\SY
STEM01.DBF
2 90 ONLINE DATA E:\ORACLE\ORAD YES 32 UNDOTBS1
ATA\ORA10G1\UN
DOTBS01.DBF
3 529 ONLINE DATA E:\ORACLE\ORAD YES 32 SYSAUX
ATA\ORA10G1\SY
SAUX01.DBF
4 5 ONLINE DATA E:\ORACLE\ORAD YES 32 USERS
ATA\ORA10G1\US
ERS01.DBF
5 100 ONLINE DATA E:\ORACLE\ORAD YES 0 KHUDIJA
ATA\ORA10G1\KH
UDIJA01.DBF
6 100 ONLINE DATA E:\ORACLE\ORAD YES 0 MALABALA
ATA\ORA10G1\MA
LABALA01.DBF
7 30 ONLINE DATA E:\ORACLE\ORAD NO 0 TOOLS
ATA\ORA10G1\TO
OLS01.DBF
8 100 ONLINE DATA E:\ORACLE\ORAD YES 0 DB_WATCH
ATA\ORA10G1\DB
_WATCH01.DBF
9 100 ONLINE DATA E:\ORACLE\ORAD YES 0 DBWATCH
ATA\ORA10G1\DB
WATCH_01.DBF
10 100 ONLINE DATA E:\ORACLE\ORAD YES 0 DBWATCH_N
ATA\ORA10G1\DB O_DUMMY
WATCH_NO_DUM
MY_01.DBF
Page 19
Health check report for Oracle 10g database
Page 20
Health check report for Oracle 10g database
7. Redolog analysis
Redolog files contain information about transactions in the database. This information is used under 'media
recovery' and 'instance recovery' (to rebuild corrupted/deleted data files or reinstall a terminated instance).
This chapter reviews the configuration and efficiency of the redolog files. Archive files are backups of
redolog files. When a redolog file is full or a redolog switch is performed, the content of the redolog files is
copied to an archive file (each archive activity generates 1 archive file pr. redolog file). A corrupt redolog
will lead to loss of data. Switching is an automatic activity which is performed when the redolog file is full.
The number of switches is a function of the transaction count and size plus the file size. You can also
activate automatic redolog switching so that switching can be performed regularly independent of the
transactions.
Page 21
Health check report for Oracle 10g database
Page 22
Health check report for Oracle 10g database
8. SQL*Net statistics
8.1. Logons statistics
The following chart shows the history of the number of users connected to the system during the last 48
hours.
Page 23
Health check report for Oracle 10g database
Page 24
Health check report for Oracle 10g database
9. Tablespace statistics
9.1. Tablespaces
The following table presents general statistics for the largest tablespaces (maximum 20 tablespaces will be
shown). The “Free extents#” column may indicate defragmentation of the tablespace.
Name Size (MB) Free space (MB) Free extents (#) Percent free (%)
TEMP 5420 5420 1 100.0
SYSTEM 530 7 2 1.3
SYSAUX 529 8 20 1.5
DBWATCH 142 109 58 76.8
DB_WATCH 100 100 1 100.0
KHUDIJA 100 100 1 100.0
MALABALA 100 98 1 98.0
DBWATCH_NO_DUMMY 100 96 1 96.0
DBWATCH_T5 100 98 1 98.0
DBWATCH_T7 100 96 1 96.0
DBWATCH_T6 100 94 1 94.0
DBWATCH_T4 100 91 1 91.0
UNDOTBS1 90 51 20 56.7
TOOLS 30 30 1 100.0
DBWATCH_TS_OLE 20 20 1 100.0
DBWATCH_TS_TEST 10 8 1 80.0
DBWATCH_OLE 10 10 1 100.0
USERS 5 4 1 80.0
Page 25
Health check report for Oracle 10g database
Page 26
Health check report for Oracle 10g database
Page 27
Health check report for Oracle 10g database
Page 28
Health check report for Oracle 10g database
ID Name Extents (#) Size (MB) Writes (#) Gets (#) Waits (#) Optimal Shrin Wraps Exte
size ks (#) (#) nds
(MB) (#)
0 SYSTE 6 0.37 28956 10185 8 -1 0 1 0
M
1 _SYSS 3 1.12 57488474 57262 4 -1 15 115 30
MU1$
2 _SYSS 3 1.12 50638652 61235 10 -1 16 103 29
MU2$
3 _SYSS 3 1.12 45823014 54535 15 -1 17 116 39
MU3$
4 _SYSS 3 1.12 62239812 126754 11 -1 16 120 36
MU4$
5 _SYSS 3 1.12 26967046 96550 12 -1 13 86 42
MU5$
6 _SYSS 3 0.18 14298230 79994 19 -1 11 86 24
MU6$
7 _SYSS 3 0.18 5699136 56773 25 -1 10 75 16
MU7$
Page 29
Health check report for Oracle 10g database
Page 30
Health check report for Oracle 10g database
11.5. History of total waits, extends, wraps and shrinks for all rollback/undo segments.
The following chart shows the history of total waits, extends, wraps and shrinks for all rollback/undo
segments over the last 48 hours.
Page 31
Health check report for Oracle 10g database
Page 32
Health check report for Oracle 10g database
12.1. Statistics for cursors with the highest value of rows processed
The following table lists statistics for cursors with the highest value of records processed.
Rows processed Average Average buffer gets Hit Average CPU (sec) SQL text
rows ratio
processed
203181 10 12 99.98 0.216 select privilege#,level
from sysauth$ connect
by grantee#=prior
privilege# and
privilege#>0 start with
grantee#=:1 and
privilege#>0
162380 10 4 97.84 0.381 select
name,intcol#,segcol#,ty
pe#,length,nvl(precision
#,0),decode(type#,2,nvl(
scale,-
127/*MAXSB1MINAL
*/),178,scale,179,scale,
180,scale,181,scale,182,
scale,183,scale,231,scal
e,0),null$,fixedstorage,n
vl(deflength,0),default$,
rowid,col#,property,
nvl(charsetid,0),nvl(cha
rsetform,0),spare1,spare
2,nvl(spare3,0) from
col$ where obj#=:1
order by intcol#
87128 13 3 89.24 0.875 select /*+ rule */
bucket, endpoint, col#,
epvalue from histgrm$
where obj#=:1 and
intcol#=:2 and row#=:3
order by bucket
35956 1 5 99.12 0.191 select
intcol#,nvl(pos#,0),col#,
nvl(spare1,0) from
ccol$ where con#=:1
34620 2 7 99.45 0.185 select
pos#,intcol#,col#,spare1
,bo#,spare2 from icol$
where obj#=:1
29209 3 9 99.46 0.224 select
con#,type#,condlength,i
ntcols,robj#,rcon#,matc
h#,refact,nvl(enabled,0),
rowid,cols,nvl(defer,0),
mtime,nvl(spare1,0)
from cdef$ where
obj#=:1
Page 33
Health check report for Oracle 10g database
12.2. Statistics for cursors with the highest value of buffer gets
The following table lists statistics for cursors with the highest value of buffer gets.
Buffer gets Average buffer gets Hit Average CPU (sec) SQL text
ratio
1958353 249 91.36 12.47 DECLARE job BINARY_INTEGER := :job;
next_date DATE := :mydate; broken
BOOLEAN := FALSE; BEGIN
EMD_MAINTENANCE.EXECUTE_EM_DB
MS_JOB_PROCS(); :mydate := next_date; IF
broken THEN :b := 1; ELSE :b := 0; END IF;
END;
276982 1458 98.38 120.28 BEGIN db_watch.dbw_executeTask(:1,:2);
END;
250258 12 99.98 0.216 select privilege#,level from sysauth$ connect by
grantee#=prior privilege# and privilege#>0 start
with grantee#=:1 and privilege#>0
225059 1 100.0 0.077 COMMIT
207854 1267 99.23 181.729 BEGIN dbw_t4.dbw_executeTask(:1,:2); END;
Page 34
Health check report for Oracle 10g database
12.3. Statistics for cursors with the highest value of disk reads
The following table lists statistics for cursors with the highest value of disk reads.
Disk reads Average disk reads Hit ratio Average CPU (sec) SQL text
185178 24 91.36 12.47 DECLARE job BINARY_INTEGER
:= :job; next_date DATE := :mydate;
broken BOOLEAN := FALSE; BEGIN
EMD_MAINTENANCE.EXECUTE_
EM_DBMS_JOB_PROCS(); :mydate
:= next_date; IF broken THEN :b := 1;
ELSE :b := 0; END IF; END;
5148 0 87.22 1.014 select
obj#,type#,ctime,mtime,stime,status,da
taobj#,flags,oid$, spare1, spare2 from
obj$ where owner#=:1 and name=:2
and namespace=:3 and remoteowner is
null and linkname is null and subname
is null
4550 24 98.38 120.28 BEGIN
db_watch.dbw_executeTask(:1,:2);
END;
3619 2 97.86 1.897 SELECT DBW_RUNSELECT (:B1 )
FROM DUAL
3287 1 92.64 0.956 select
owner#,name,namespace,remoteowner
,linkname,p_timestamp,p_obj#,
nvl(property,0),subname,d_attrs from
dependency$ d, obj$ o where
d_obj#=:1 and p_obj#=obj#(+) order
by order#
2517 0 89.24 0.875 select /*+ rule */ bucket, endpoint,
col#, epvalue from histgrm$ where
obj#=:1 and intcol#=:2 and row#=:3
order by bucket
1728 0 94.62 0.291 select
grantee#,privilege#,nvl(col#,0),max(m
od(nvl(option$,0),2))from objauth$
where obj#=:1 group by
grantee#,privilege#,nvl(col#,0) order
by grantee#
Page 35
Health check report for Oracle 10g database
Executions Average buffer gets Hit Average CPU (sec) SQL text
ratio
284029 1 100.0 0.077 COMMIT
27695 5 99.12 0.191 select intcol#,nvl(pos#,0),col#,nvl(spare1,0)
from ccol$ where con#=:1
21199 12 99.98 0.216 select privilege#,level from sysauth$ connect
by grantee#=prior privilege# and privilege#>0
start with grantee#=:1 and privilege#>0
15545 4 97.84 0.381 select
name,intcol#,segcol#,type#,length,nvl(precisio
n#,0),decode(type#,2,nvl(scale,-
127/*MAXSB1MINAL*/),178,scale,179,scale,
180,scale,181,scale,182,scale,183,scale,231,sca
le,0),null$,fixedstorage,nvl(deflength,0),defaul
t$,rowid,col#,property,
nvl(charsetid,0),nvl(charsetform,0),spare1,spar
e2,nvl(spare3,0) from col$ where obj#=:1
order by intcol#
15042 7 99.45 0.185 select pos#,intcol#,col#,spare1,bo#,spare2
from icol$ where obj#=:1
11959 3 87.22 1.014 select
obj#,type#,ctime,mtime,stime,status,dataobj#,fl
ags,oid$, spare1, spare2 from obj$ where
owner#=:1 and name=:2 and namespace=:3
and remoteowner is null and linkname is null
and subname is null
10569 3 97.54 0.168 select /*+ rule */ bucket_cnt, row_cnt,
cache_cnt, null_cnt, timestamp#, sample_size,
minimum, maximum, distcnt, lowval, hival,
density, col#, spare1, spare2, avgcln from
hist_head$ where obj#=:1 and intcol#=:2
9290 3 94.62 0.291 select
grantee#,privilege#,nvl(col#,0),max(mod(nvl(o
ption$,0),2))from objauth$ where obj#=:1
group by grantee#,privilege#,nvl(col#,0) order
by grantee#
9181 2 94.9 0.478 select col#, grantee#,
privilege#,max(mod(nvl(option$,0),2)) from
objauth$ where obj#=:1 and col# is not null
group by privilege#, col#, grantee# order by
col#, grantee#
8442 9 99.46 0.224 select
con#,type#,condlength,intcols,robj#,rcon#,mat
ch#,refact,nvl(enabled,0),rowid,cols,nvl(defer,
0),mtime,nvl(spare1,0) from cdef$ where
obj#=:1
Page 36
Health check report for Oracle 10g database
Collected Executions Average Average Hit Average CPU (sec) Average SQL text
rows buffer ratio elapsed time
processed gets (sec)
Page 37
Health check report for Oracle 10g database
Page 38
Health check report for Oracle 10g database
Page 39
Health check report for Oracle 10g database
Page 40
Health check report for Oracle 10g database
TaskID Task Last run (date) Next run (date) Schedule Company Version
115 File IO statistics 15/9/2009 17:35 15/9/2009 00:00 4,14,24,34,44, dbwatch.no 1.2
54 * * *
Page 41
Health check report for Oracle 10g database
114 Session load 15/9/2009 17:35 15/9/2009 00:00 10,30,50 * * * dbwatch.no 1.1
113 AGRESSO Application 15/9/2009 14:30 15/9/2009 00:00 0,10,20,30,40, dbwatch.no 1.2
Server 50 8-18 * *
112 AGRESSO DWS shadow 11/9/2009 07:13 12/9/2009 00:00 10 7 * * dbwatch.no 1.1
tables
111 Blocking detector 15/9/2009 17:37 15/9/2009 00:00 **** dbwatch.no 1.2
110 Free extents check 14/9/2009 11:51 14/9/2009 00:00 50 6,11,18 * * dbwatch.no 1.1
109 Archive status Check 15/9/2009 17:37 15/9/2009 00:00 **** dbwatch.no 1.3
108 Free space Check 14/9/2009 11:45 14/9/2009 00:00 45 6,11,18 * * dbwatch.no 1.5
107 File status check 15/9/2009 17:37 15/9/2009 00:00 **** dbwatch.no 1.4
106 Buffer cache statistics 15/9/2009 14:31 15/9/2009 00:00 1,11,21,31,41, dbwatch.no 1.3
51 * * *
105 Database memory statistics 15/9/2009 17:33 15/9/2009 00:00 3,13,23,33,43, dbwatch.no 1.3
53 * * *
103 dbwatch system data 11/9/2009 07:03 12/9/2009 00:00 07** dbwatch.no 1.1
98 framework 7/9/2009 05:50 14/9/2009 00:00 50 5 1 * dbwatch.no 1.3
97 DBMS uptime 15/9/2009 17:37 15/9/2009 00:00 **** dbwatch.no 1.3
95 Segment size collector 11/9/2009 06:58 11/9/2009 00:00 55 6,17 * * dbwatch.no 1.4
(large segments -- detail)
93 Segment size status ("old 11/9/2009 06:43 11/9/2009 00:00 40 6,17 * * dbwatch.no 1.1
style" tablespaces)
81 User memory statistics 15/9/2009 17:37 15/9/2009 00:00 7,17,27,37,47, dbwatch.no 1.5
57 * * *
80 SQL statement statistics 10g 14/9/2009 11:30 14/9/2009 00:00 30 6,11,18 * * dbwatch.no 1.4
79 Undo statistics 15/9/2009 17:28 15/9/2009 00:00 8,18,28,38,48, dbwatch.no 1.1
58 * * *
77 Database network statistics 15/9/2009 17:37 15/9/2009 00:00 7,17,27,37,47, dbwatch.no 1.3
(SQL*NET) 57 * * *
72 Disk read statistics 15/9/2009 17:36 15/9/2009 00:00 **** dbwatch.no 1
70 Oracle Environment 15/9/2009 17:37 15/9/2009 00:00 **** dbwatch.no 1.3
Information Collector
55 Redo statistics 15/9/2009 17:36 15/9/2009 00:00 6,16,26,36,46, dbwatch.no 1.2
56 * * *
53 Top user memory usage 15/9/2009 17:37 15/9/2009 00:00 **** dbwatch.no 1.1
51 Latch statistics 15/9/2009 17:35 15/9/2009 00:00 5,15,25,35,45, dbwatch.no 1.1
55 * * *
49 DBMS waits 15/9/2009 17:32 15/9/2009 00:00 2,12,22,32,42, dbwatch.no 1.2
52 * * *
6 Segment size collector (all 11/9/2009 06:53 11/9/2009 00:00 50 6,17 * * dbwatch.no 1.8
segments -- aggregate)
TaskID Description
115 Collects io statistics for all data files.
114 Recordes the number of active sessions over time.
113 Checks if the AGRESSO Application Server is connected to the databasen, and with how many sessions.
112 Check the total size of all shadow tables used by the Agresso DWS (Data Warehouse Server) process.
Page 42
Health check report for Oracle 10g database
Page 43
Health check report for Oracle 10g database
108 OK 1 0
107 OK 1 0
93 OK 1 0
58 WARNING 1 0
53 OK 1 0
48 WARNING 1 0
47 OK 1 0
Page 44
Health check report for Oracle 10g database
Page 45
Health check report for Oracle 10g database
Page 46
Health check report for Oracle 10g database
Page 47
Health check report for Oracle 10g database
Page 48
Health check report for Oracle 10g database
Page 49
Health check report for Oracle 10g database
Page 50
Health check report for Oracle 10g database
Page 51