SlideShare a Scribd company logo
1 of 32
Download to read offline
White Paper: Oracle Database Administration
February 2012
Oracle Database Monitors and Tools

February 2012

TABLE OF CONTENTS
OVERVIEW ......................................................................................................................... 3
SCHEDULING THE DATABASE SYSTEM CHECK ........................................................... 4
CONFIGURING THE DATABASE SYSTEM CHECK ......................................................... 5
VIEWING THE DATABASE SYSTEM CHECK ................................................................... 7
USING THE ALERT MONITOR .......................................................................................... 9
Database Alerts ........................................................................................................................... 14
Space Management......................................................................................................................................... 14
Performance .................................................................................................................................................... 14
Backup and Restore ........................................................................................................................................ 15
SAP Consistency ............................................................................................................................................. 15
Health............................................................................................................................................................... 16

CASE STUDY: ADDING A NEW CONDITION TO THE DATABASE SYSTEM CHECK 23
BRCONNECT .................................................................................................................... 27
Default Conditions for Database Administration ...................................................................... 27
Default Conditions for Database Operations ............................................................................ 29
Critical Database Messages in the Oracle Alert File ................................................................ 29
BRCONNECT Default Conditions for Database Profile Parameters ........................................ 30

ADDITIONAL DOCUMENTATION .................................................................................... 31
SAP Library ................................................................................................................................. 31
SAP Notes ................................................................................................................................... 31

2
Oracle Database Monitors and Tools

February 2012

OVERVIEW
To help you quickly recognize and analyze Oracle database problems, SAP provides comprehensive and
fully integrated database system checking. By running regular checks and looking at the results, you can
rapidly identify potential problems and take the required action before the database crashes.
The following graphic shows how the SAP system supports you in monitoring your Oracle database system:

1
Schedule
DBA Planning Calendar
DB13

2
Configure Database
System Check
DB17

Run daily

Alerts

5
BRCONNECT
-f check

3
Display
alert messages
DB16

Alerts
mainly
health

 

Other
alerts
Non-BRCONNECT
Methods

4
Alert Monitor
RZ20

In this paper we discuss the main functions in the figure above:
1. You schedule the database system check to run daily using the Database Planning Calendar [page 4],
transactions DBCOCKPIT and DB13, in the Computing Center Management System (CCMS).
2. If required, you can configure the database system check [page 5] using transactions DBCOCKPIT and
DB17.
3. When BRCONNECT has run, you can view the results [page 7] using transactions DBACOCKPIT and
DB16.
4. You can also view the results of the BRCONNECT and other checks using the database alert monitor
[page 9] in transaction RZ20. Transactions DBACOCKPIT and DB13 deliver the results immediately to
the alert monitor.
5. BRCONNECT [page 27] is the program that performs a series of database system checks, including
those for database administration, database operations, critical database messages in the Oracle alert
file, and incorrectly set database parameters. It is fully integrated with the alert monitor.
Using a case study [page 23], we show you how to add a new condition to the database system check and
view this in the alert monitor.
If you want to find more detailed information, look at the additional documentation [page 31] provided by
SAP.

3
Oracle Database Monitors and Tools

February 2012

SCHEDULING THE DATABASE SYSTEM CHECK
You can schedule the Oracle database system check in the Database planning Calendar in transaction
DBACOCKPITof the Computing Center Management System (CCMS).

We strongly recommend you to schedule the check daily. Otherwise, you might miss important
warnings and errors, possibly resulting in expensive system downtime.
The best way to do this is by selecting an action pattern, as shown in the following graphic:

Every action pattern includes a daily database system check. If required, you can run a database system
check immediately using the DBA Planning Calendar.
You can also run the database system check from the command line of your operating system using
.


£

¦



£



¨

£





©

¨

For more information on scheduling the database system check, see DBA Planning Calendar
(Oracle) in the documentation CCMS Oracle [page 31].

4

§

£

¦

¥

¥

¤

£

¢

¡
Oracle Database Monitors and Tools

February 2012

CONFIGURING THE DATABASE SYSTEM CHECK
You can configure the Oracle database system check in the Computing Center Management System
(CCMS) to:
x Add new conditions of type ORA or PROF
x Exclude individual conditions from the check
x Specify threshold values for the conditions
x Create object-specific conditions to exclude them from the check
x Create object-specific conditions to set individual threshold values
x Specify corresponding corrective actions
x Maintain the condition description
For an example of how to add a new condition of type ORA, see the case study [page 23].
The configuration data is stored in the
table. Changed or new conditions take effect the next
time that BRCONNECT runs. You can view the results in transaction DBACOCKPIT or DB16 [page 7] or the
alert monitor [page 9].
#



!













To change the configuration, you use transaction DBACOCKPIT or DB17, as shown in the following graphic:

For example, if you want to change the TABLESPACE FULL parameter above, you can do so as
follows:

5
Oracle Database Monitors and Tools

February 2012

In the above example, we have changed the threshold at which an alert is raised for a
tablespace to 95%.
You might also decide to change the Condition Level from Error to Warning, deactivate the
check by setting the Active Flag to No, or change the text of the Description.
In the following example, we have changed the threshold for a single tablespace, the SYSTEM
tablespace, from 95% to 80%, by specifying SYSTEM in the Check Object field. To do this, you
first need to copy the condition and then specify Check Object for the new condition.

For more information on configuring the database system check, including changing or creating
check conditions, see the following path in the documentation CCMS: Oracle [page 31]:
Database System Check o Configuring Database System Check (Oracle)

6
Oracle Database Monitors and Tools

February 2012

VIEWING THE DATABASE SYSTEM CHECK
To check the results of a database check you use transaction DBACOCKPIT or DB16:

At the top of the screen, the system displays:
x Check Results: the number of checks that have finished with an alert. An alert is an error, a warning, or
an exception (that is, a deviation from the SAP standard value).
x Settings: the period of results displayed, the refresh interval, and the deletion period
You can configure the display to set the:
x Number of days for which alerts are displayed
x Refresh interval after which the display is updated
x Deletion period after which old alerts are deleted
You can also drill down to look at the details of an individual check or Message.

For example, to look in detail at the line TABLESPACE_FULL above:

7
Oracle Database Monitors and Tools

February 2012

You can choose Check log to view the log produced by this check. An example of the log is
shown in the case study [page 23].
For more information on viewing the database system check, see the following path in the
documentation CCMS: Oracle [page 31]:
Database System Check o Displaying Alert Messages from Database System Check

8
Oracle Database Monitors and Tools

February 2012

USING THE ALERT MONITOR
You use the alert monitor in the Computing Center Management System (CCMS) to check the following
Oracle database functions:

x Backup or restore

$

x Health

$

x Consistency

tablespaces and segments

optimizer statistics, buffers, logs, and checkpoints
$

$

x Performance

$

x Space management

database and redo log backup

between database objects in the ABAP and Oracle dictionaries

database system checks from BRCONNECT

By configuring data collection tools, or methods, to run periodically, alerts are automatically updated and fed
to the monitoring architecture. The main tool feeding alerts is BRCONNECT [page 27], especially for Health
alerts. Analysis tools provide additional information about the alert conditions, and you can configure autoreact tools to automatically respond when an alert occurs.
The alerts are hierarchically arranged and grouped. This is what you see when you open the alert database
monitor tree in transaction RZ20:

9
Oracle Database Monitors and Tools

February 2012

If you choose Space Management o Tablespaces and open some of the nodes, you see the following:

10
Oracle Database Monitors and Tools

February 2012

This level displays individual database checks, some derived from BRCONNECT, some not. Color-coding
and the message text indicate whether there is an alert. If an alert has occurred, the message text gives
more information.
You can look at the details of an alert, such as Space management o Segments o Most allocated extents
in any segment:

11
Oracle Database Monitors and Tools

February 2012

You can also look at the properties and methods of a node, which determine how the alert is displayed, as
follows:

12
Oracle Database Monitors and Tools

February 2012

You can alter data collection methods and other attributes such as the threshold values in the monitor.

13
Oracle Database Monitors and Tools

February 2012

Database Alerts
This section lists the individual database alerts in the alert monitor by branch of the monitoring tree. The
tables below include all possible alerts. You can tailor the tree to suit your own requirements by adding,
changing, or deleting alerts.

Space Management
Type

Description

Tablespace

Freespace for each tablespace
Used space for each tablespace
Status (online or offline) for each tablespace
Segments with too few allocatable extents
Fewest allocatable extents for a segment
%
)

0

%
%

0




)

)

'

'




(

(
'

'

#

#







1

#







0

3

)



2

Segments with non-zero

1

)

Most allocated extents in any segment

%

1

Fewest extents left before

%

Segments approaching

%

Segments

Segments in wrong tablespace
Rollback segment extension failed
* These alerts are only relevant for locally managed tablespaces.

Performance
Type

Description

Optimizer

Last successful update statistics
Last brconnect -f stats run
Harmful statistics
Missing Statistics

Buffers

Buffer cache
Library buffer
Redo log buffer

14
Oracle Database Monitors and Tools

Locks

February 2012

Age of oldest exclusive transaction lock
Deadlocked resource

Checkpoints

Checkpoint not complete

Backup and Restore
Type

Description

Archiving

Last successful archive log backup
Last brarchive run
Archiver destination full
Archiving off

Backup Status

Last successful complete database backup
Last brbackup run
Tablespace in backup mode

SAP Consistency
Type

Description

SAP consistency
check

Last SAP consistency check run

Objects missing in
the database

Primary indexes
Secondary indexes
Tables
Views

Unknown objects in
ABAP Dictionary

Database tables
Database indexes
Database views
Database tables without unique index

Inconsistent
objects

Primary indexes
Secondary indexes

15
Oracle Database Monitors and Tools

February 2012

Tables
Views
Other checks

Primary indexes
Secondary indexes
Tables
Views
Primary index not unique

Optional indexes

Too many indexes created
Indexes not created

Health
Type

Description

Database health
check

Last successful database check
Last brconnect -f check run
Last evaluation of check results
Start of database check

Database
administration

Archiver destination full
Control file not mirrored
Missing control file
Critical tablespace
Critical autoextendable file
Critical segment
Data file mismatch
Missing data file
Database file offline
File system full
Harmful statistics

16
Oracle Database Monitors and Tools

February 2012

Invalid file type
Segment in wrong tablespace
Missing index
Missing statistics
Database in NOARCHIVELOG mode
Segment with non-zero PCTINCREASE
Redo log file not mirrored
Missing redo log file
Tablespace full
Tablespace in backup mode
Tablespace offline
Segment with too many extents
DBA operations

Last successful archive log backup too old
Last successful complete database backup too old
Last archive log backup failed
Last complete database backup failed
Last operation failed
Last update statistics failed
Last successful operation too old
Last successful update statistics too old

17
Oracle Database Monitors and Tools

February 2012

Type

Description

Oracle messages

ORA-00060 Deadlock while waiting for resource
ORA-00255

Error archiving log file

ORA-00257 Archiver error
ORA-00270

Error creating archive log

ORA-00272 Error writing archive log
ORA-00376 File cannot be read
ORA-00447

Fatal error in background process

ORA-00470

LGWR process terminated with error

ORA-00471

DBWR process terminated with error

ORA-00472

PMON process terminated with error

ORA-00473

ARCH process terminated with error

ORA-00474

SMON process terminated with error

ORA-00600 Oracle internal error
ORA-00603

Oracle server session terminated by fatal error

ORA-01114 I/O error writing database file
ORA-01115 I/O error reading database file
ORA-01122 File verification check failed
$

ORA-01149 Cannot shut down

data file in backup mode

ORA-01555 Snapshot too old
ORA-01562 Failed to extend rollback segment
ORA-01578 Database block corrupted
ORA-01628 Max. extents reached for rollback segment
ORA-01629

Max. extents reached saving undo for tablespace

ORA-01630
tablespace

Max. extents reached in temp segment in

ORA-01631

Max. extents reached in table

18
Oracle Database Monitors and Tools

February 2012

ORA-01632 Max. extents reached in index
ORA-01650

Unable to extend rollback segment in tablespace

ORA-01651
tablespace

Unable to extend save undo segment for

ORA-01652

Unable to extend temp segment in tablespace

ORA-01157

Unable to extend table in tablespace

ORA-01654

Unable to extend index in tablespace

ORA-01655

Unable to extend cluster in tablespace

ORA-01656 Max. extents reached in cluster
ORA-01680

Unable to extend LOB segment in tablespace

ORA-01681
tablespace

Max. extents reached in LOB segment in

ORA-01683

Unable to extend index partition

ORA-01684

Max. extents reached in table partition

ORA-01685

Max. extents reached in index partition

ORA-01688

Unable to extend table partition

ORA-01691

Unable to extend lob segment in tablespace

ORA-01692
tablespace

Unable to extend lob segment partition in

ORA-01693

Max. extents reached in lob segment

ORA-01694

Max. extents reached in lob segment partition

ORA-07445

Exception encountered: core dump

ORA-16014

Destination not available for archiving log file

ORA-16038

Log file cannot be archived

ORA-19502

Write error on log file

ORA-19504

Failed to create log file

ORA-19510

Failed to set size of blocks for file

ORA-27044

Unable to write the header block of file

19
20
(

B

C

U

C

B

(

G

C

B

A

8

D

C

D

5

@

P

4

@

9

D

R

@

@

8

R

6

@

E

8

E

9

P

D

8

E

T

8

P

9

9

E

8

8

9

9

P

P

(

B

5

5

7

G

C

E

8

Q

P

(

S

7

4

4

D

C

G

D

C

D

7

C

C

G

Q

D

9

I

5

8

@

9

8

P

C

C

7

4

@

B

7

C

E

(

P

5

@

(

E

C

A

C

B

9

5

4

S

6

4

C

E

C

E

(

P

G

8

C

E

Q

9

B

(

C

@

(

5

P

(

4

P

P

F

9

(

C

H

T

(

9

D

(

I

(

C

C

B

B

8

E

8

7

(

6

D

5

@

9

I

4

C

V

C

B

C

B

B

8

E

8

7

(

C

G

5

6

E

C

R

@

6

@

9

7

5

(

P

E

5

(

C

R

@

(

9

E

C

B

8

P

P

F

C

B

9

E

I

4

D

(

7

6

I

G

9

8

D

9

@

5

P

7

V

H

P

E

9

C

D

9

I

5

4

D

(

G

8

C

5

7

8

6

(

7

4

C

Q

4

T

F

5

B

(

C

I

A

T

5

B

(

C

5

U

@

Q

4

E

8

T

5

B

F

5

@

6

C

9

H

P

S

P

C

(

E

4

5

B

A

@

9

B

I

6

B

F

C

B

C

C

@

9

I

R

@

E

5

4

C

Q

C

E

B

A

G

(

@

A

G

(

4

5

B

A

A

G

(

4

5

B

A

A

G

(

C

C

H

4

(

5

4

H

P

(

P

F

E

4

8

7

(

G

@

(

@

F

P

(

C

H

6

(

7

6

C

9

(

H

(

@

5

(

@

(

5

F

E

(

9

@

(

P

(

6

C

P

F

C

B

E

5

P

E

I

4

(

@

B

5

E

9

D

5

4

Profile parameters
Oracle 10g
$

C

B

A

@

9

8

7

6

5

4

Corrupt block

Database block is corrupted

$

Checkpoint not complete Cannot switch to the next redo log file
due to pending checkpoint
$

ORA-27072

File I/O error

ORA-30036

Unable to extend segment in undo tablespace

Oracle Database Monitors and Tools

February 2012
21
(

X

G

8

9

P

5

(

4

V

C

G

D

D

B

@

A

D

@

8

B

Q

D

7

6

4

C

8

4

P

C

E

E

C

R

@

6

@

9

7

5

(

V

C

G

D

@

F

P

8

(

@

(

T

(

C

I

9

8

E

C

R

@

6

@

9

7

5

(

C

E

(

T

C

R

@

6

@

9

7

5

(

4

@

6

8

D

S

G

E

C

R

@

6

@

9

7

5

(

P

E

5

P

E

I

4

D

(

P

4

@

9

D

8

6

C

E

C

B

8

R

@

P

Q

9

9

F

C

B

T

D

C

B

P

(

7

6

I

G

V

H

P

9

8

D

9

@

5

P

7

D

9

I

5

4

D

5

C

(

G

8

C

P

7

P

C

D

8

6

(

7

4

C

Q

4

T

F

5

B

(

C

I

A

T

5

B

(

C

5

U

@

Q

4

E

8

T

5

B

F

5

4

5

@

E

6

7

C

9

P

S

P

C

C

9

@

5

B

A

@

9

B

I

6

R

C

@

A

F

C

B

C

7

C

(

C

E

5

4

C

E

7

6

F

C

B

A

G

(

@

A

G

(

4

5

B

A

A

G

(

G

(

G

G

(

@

B

H

P

(

H

9

I

G

C

E

5

4

(

@

B

B

C

9

@

9

@

(

E

(

4

B

W

E

H

E

F

P

(

C

P

9

(

@

5

B

(

@

(

5

E

9

C

(

P

(

C

(

9

F

E

(

9

@

(

P

(

P

(

6

C

A

5

E

@

@

W

C

E

9

9

8

D

7

6

5

4

5

4

(

9

W

T

T

@

6

6

5

4

(

8

9

@

6

6

5

4

(

T

D

@

5

B

9

@

6

6

5

4

Profile parameters
Oracle 11g
$

(

9

P

C

(

G

7

6

I

G

H

G

D

I

5

E

T

4

8

A

(

C

4

8

7

P

C

B

A

8

9

5

G

D

I

(

9

D

C

6

C

T

8

D

8

6

5

G

D

I

(

P

9

C

G

B

A

8

D

C

C

4

8

E

9

(

P

4

@

@

9

8

9

P

G

C

6

@

9

Oracle Database Monitors and Tools

February 2012
22
(

8

4

P

9

C

G

7

6

I

(

G

E

C

P

I

(

C

7

P

C

B

A

8

9

5

G

D

I

(

9

D

C

6

C

T

8

D

8

6

5

G

D

I

(

P

9

C

G

B

A

8

D

C

C

4

8

E

9

(

C

B

4

P

@

@

9

8

9

P

G

C

6

@

9

(

U

C

B

P

(

G

C

B

A

8

D

C

D

5

@

4

@

9

D

@

8

R

6

@

E

@

P

8

E

9

P

D

8

E

T

8

P

9

9

E

8

9

8

P

9

P

(

B

5

5

7

G

C

E

8

Q

P

(

S

4



D

C

G

C

D

B

C

D

A

(

8

7

C

C

G

Q

C

D

9

I

5

@

8

9

8

P

C

7

4

9

@

@

B

7

C

E

(

P

5

@

C

A

C

E

9

B

W

C

5

4

S

6

4

C

E

C

E

(

C

(

C

E

S

E

C

I

`

(

P

G

8

C

E

Q

9

B

(

C

@

(

5

P

(

4

2

E

R

P

F

9

(

C

H

T

(

9

D

(

G

Y

(

C

C

B

B

8

E

8

7

(

6

D

5

@

9

I

4

C

V

C

B

C

B

B

8

E

8

7

(

C

G

5

6

E

C

R

@

6

@

9

7

5

Oracle Database Monitors and Tools

February 2012
Oracle Database Monitors and Tools

February 2012

CASE STUDY:
ADDING A NEW CONDITION TO THE DATABASE SYSTEM
CHECK
This section shows how you can add a new condition to the database system check and then display the
new check. The new condition is a database message type ORA but the principle is the same if you want
to add a new condition of type PROF.
$

$

1. You enter the new condition in transaction DBACOCKPIT or DB17:

The Condition Name is 01157, which generates an error with the Cannot identify / lock data file. The
recommendation for this error is to Check the Oracle alert log / trace file.
2. Using transaction RZ20 to call up the alert monitor [page 9], you delete and then rebuild the monitoring
tree on the host running the SAP central instance:
a) Activate maintenance functions in View: Current system status.
b) Reset all alerts in the Oracle monitoring tree.
c) Delete the Oracle monitoring tree.
d) Run ABAP program RSDBMON0 on the main application server to rebuild the monitoring tree.
3. You call up the alert monitor and see the new check condition, ORA-01157:

23
Oracle Database Monitors and Tools

February 2012

4. You run a database system check in the DBA Planning Calendar [page 4], either immediately or at the
next scheduled time.
In this example, we assume that the new database check causes an alert.
5. You view the results of the database system check [page 7] using transaction DBACOCKPIT or DB16 to
see the alert raised by the new condition:

24
Oracle Database Monitors and Tools

February 2012

The error 01157 appears in the Name column
6. You look at the detail log.
a) You can see the new condition ORA-01157:

b) You can also see the alert ORA-1157 that was raised in this example:

25
Oracle Database Monitors and Tools

February 2012

7. You can also see the alert ORA-01157 displayed in the alert monitor, transaction RZ20 [page 9]:

26
Oracle Database Monitors and Tools

February 2012

BRCONNECT
BRCONNECT checks the following types of condition:
configuration, space management, database state, consistency

backup and archive results, failed operations

$

x Critical database messages in the Oracle alert file

for example, ORA-00600

$

x Database operations

$

x Database administration

x Database profile parameters in the Oracle initialization file
When it finds a critical situation, BRCONNECT writes an alert message to the detail log and to the table
. You can view the results with transaction DBACOCKPIT or DB16 [page 7]. Many alerts are also
passed to the alert monitor [page 9].
#



!

a

1







You can tailor the conditions to suit your own requirements [page 5]. For critical database messages or
database profile parameters, you can also add new conditions.

Default Conditions for Database Administration
Severity

Description

Error

Checks whether the database is in
mode, which is not allowed for production databases.

Warning

Checks the highest fill level of the archiving directory
(by default,
).

Warning

Checks the fill level of file systems on the database
host.

Error

Checks whether there are tablespaces that are
offline.

Warning

Checks whether there are tablespaces that have the
BACKUP status although BRBACKUP is not active

Warning

Checks the fill level of tablespaces in the database.

Warning

Checks whether there are data files that no longer
exist in the file system.

Error

Checks whether there are online redo log files that
no longer exist in the file system.

Error

Checks whether there are control files that no longer
exist in the file system.

Error

Checks whether there are data files that are flagged
as
in Oracle control file.

Error

Checks whether there are database files that have
an illegal operating system type, for example, block
raw files on Unix or compressed files on Windows.

a

!

c



b

3







#

!

0

Q

4

E

8

8

E

Condition




!



(

a



!
Y

)

c



1

b

(

3






b





3



#

!



0



#

5

a

27

0

3

1

1

3

d
c

c
d


2

Y

0

3



d

Y

(
!





)

1

e

1

(



c

3

d

c
#



(

0

(

3



(





#



#

2
2

1



1



c



c



#
#

)
)

d
c

c

Y

(





#

2

1



c



#

)

d
a

0

3

1

1

3



(



c

3

(

#

)

#



d
a

0

3

1

1

3



(



c

3

(

a

!

c

!







d
a

0

3

1

1

3



(



c

3

(

c

!



)

0

!



d




)

#



1

3



(



c

3

(

#

)

#





d


2

e

)

(



c

3

(



3

c

#

b

0

3
Oracle Database Monitors and Tools

Severity

Description

Error

Checks whether there are online redo log files that
are not mirrored on the Oracle side.

Error

Checks whether there are control files that are not
mirrored on the Oracle side.

Error

Checks whether there are data files or online redo
log files that are OFFLINE.

Warning

Examines the data files with an activated auto extend
feature to see whether the file system can be brought
to overflow, due to the existing parameter setting
(
and
), during the automatic file
extension.

Warning

Checks whether there are tables or indices, for which
the number of allocated extents exceeds the
specified threshold value.

Warning

Checks whether there are tables or indexes that can
bring the tablespace to overflow when up to 5 next
extents are allocated.

Warning

Examines the data of a tablespace to see whether
the file system can be brought to overflow, due to the
existing parameter setting (
and
),
during the automatic file extension.

Error

Checks whether there are tables that not in a table
tablespace or indices, which are not in an index
tablespace.

Error

Checks whether there are tables that do not have
any indices and are not specified in the
table
exception.

Error

Checks whether there are tables or indices that do
not have any statistics, although they should have
these.

Error

Checks whether there are tables or indices that have
statistics, although they should not have these (for
example, pool and cluster tables).

Error

Checks whether there are tables or indexes for which
the
storage parameter is not equal
to zero. This can lead to storage fragmentation and is
not suitable for the SAP System.





d

f

3

1

'

#



)

'



f

3

1

'

#



)

'



Condition

February 2012

d


!





3



(



c

3

(

a

!

c

!







d


!





3



(



c

3

(
d



0

3

c

!



)

0

!

d


d

c

!

(



c

3

d


c

3

(

c

#



3

)

3





0

%

1

%


)

)



#

0
0

2





1





)

'

a

c




#



(

1

(

)

(

e

0

c

#

c

#

#



3



(
)

3

!

!

3

)



3



)



0





#

2

1



c


'



#

)



(
0

3

a

0
(

!

a

0


3

g
1

(
1

0

3

3



d

3









1

#







0

3

)



1



3

)

1

3

)

#

)

1

(

a

0

3

1

1

3



d
1
!






f

3

)
(

)

1

3
!

)
0

#
(



)
1

1

(
#



c

Y





0

3


)

#



2
%

2

* These conditions are only relevant for locally managed tablespaces.

28
Oracle Database Monitors and Tools

February 2012

.

#



!











The above check conditions are specified in the control table



You cannot add new check conditions but you can change some of the above checks as follows:
You can exclude objects that is, individual tables and indexes or even complete
tablespaces from certain checks that run at table or index level. You do this by creating a
new check condition with the relevant object in transaction DBCOCKPIT or DB17 [page 5],
setting its ACTIVE FLAG to NO or by specifying the object in the
BRCONNECT profile parameter.

x

$

$

C

G

I

B

4

V

C

4

(

C

Q

4

H

x You can change the threshold values for individual tables and indexes
You can change the following check conditions in this way:
h

'





0

3

(

a

0

3

1

1

3



h





#

2

1



c



#

)

(

a

0

!



g

(

0

3

h

)

0





a



1

(

c

#



3

)

3





h

1

)

0



)

'



(

e

0

#



(

!

!

)

d
!





f

(

)

!

0

(



1

#







0

3

)



2

h

1



3

)

1

3

)

#

)

1

(

c

Y





#



h

1



3

)

1

3

)

#

)

1

(

a

0

3

1

1

3



Default Conditions for Database Operations
Condition

Severity

Description

Warning

Checks whether the last backup of the offline redo
log files with BRARCHIVE failed.

Warning

Checks whether the last complete backup of the
database with BRBACKUP failed.

Warning

Checks whether the last update of the optimizer
statistics with BRCONNECT failed.

Warning

Checks whether the last DBA operation failed.

Warning

Checks whether the last successful backup of the
offline redo log files with BRARCHIVE is too old.

Warning

Checks whether the last successful complete backup
of the database with BRBACKUP is too old.

Warning

Checks whether the last successful update of the
optimizer statistics with BRCONNECT is too old.

Warning

Checks whether the last successful DBA operation is
too old.

d




c

3

#

(



b

3







#

(

)

1

#

c

d




c

3

#

(

2

Y



#



(

)

1

#

c

d




c

3

#

(

1

)

#

)

1

(

)

1

#

c

d




c

3

#

(

0



!

c

3

!


c

!

#

(

c

!

!




)
(

c

(

!

!

2

(
!

(

)



)

!

!
!



(



)

!

b

(
!

0

!
)

1


Y
(

3

)

3

2

)

!

(

#







1

#

#

)
#

c

#




)


1

2

!

Since the test conditions for database operations are programmed in a specific way in
BRCONNECT (known as built-in test conditions), no new check conditions can be added to the
table. However, this is generally not necessary because other operations can be
monitored by the
and
check conditions, or
by specifying function IDs in the
field.
#



!













d



c

!

(

!

!

)

(

0

!

3

)

#





2

!





c

3

#

(



0

#

!



3

#

)

#





2

!

(

)

1

#

c

2

Critical Database Messages in the Oracle Alert File
p

y

t

‡

†

€

Health

16].

29

q

p

v

…

t

ƒ

p

„

ƒ

‚



€

x

p

y

t

x

x

p

w

p

v

u

t

s

r

q

p

p

i
Oracle Database Monitors and Tools

February 2012

You can enter any Oracle error code or error text as a condition name for this condition type.
BRCONNECT searches the Oracle Alert log for corresponding Oracle error messages and might
then generate alert messages.

BRCONNECT Default Conditions for Database Profile Parameters
These test conditions check the values of Oracle parameters. The standard test conditions for the database
profile correspond to the current SAP recommendations described in SAP Note 830576 for Oracle 10g and
in SAP Note 1431798.

You can easily adjust the test conditions for the database profile parameters, depending on the
changed recommendations and for new Oracle releases.

30
Oracle Database Monitors and Tools

February 2012

ADDITIONAL DOCUMENTATION
SAP Library
You can find more information on Oracle database administration and the contents of this document in the
SAP Library as follows:

All paths refer to SAP NetWeaver 7.3.
1. Call up the SAP Help Portal at help.sap.com/nw73 o Application Help o SAP Library: English.
2. Choose SAP NetWeaver Library: Function-Oriented View o Database Administration o Database
Administration for Oracle.
3. Choose one of the following:
SAP Database Guide: Oracle
CCMS: Oracle
5
5

You can also find these plus selected extracts from the SAP Library at:
www.sdn.sap.com/irj/sdn/ora o SAP on Oracle Knowledge Center o SAP Documentation in
Help Portal

SAP Notes
You can find more information on the contents of this document in the following SAP Notes:
x 483856 Description of the Alerts for Oracle Database Monitoring
x 426781 Corrections in the Oracle Database Monitoring
x 483659 BRCONNECT Support for Oracle Monitoring in RZ20
You can find SAP Notes at:
service.sap.com/notes

31
www.sap.com

© Copyright 2012 SAP AG. All rights reserved

No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP AG. The information contained herein may be changed
without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software
components of other software vendors.
Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studio are registered
trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x,
System z, System z10, z10, z/VM, z/OS, OS/390, zEnterprise, PowerVM, Power Architecture,
Power Systems, POWER7, POWER6+, POWER6, POWER, PowerHA, pureScale, PowerPC,
BladeCenter, System Storage, Storwize, XIV, GPFS, HACMP, RETAIN, DB2 Connect, RACF,
Redbooks, OS/2, AIX, Intelligent Miner, WebSphere, Tivoli, Informix, and Smarter Planet are
trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the United States and other countries.

Adobe, the Adobe logo, Acrobat, PostScript, and Reader are trademarks or registered
trademarks of Adobe Systems Incorporated in the United States and other countries.
Oracle and Java are registered trademarks of Oracle and its affiliates.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are
trademarks or registered trademarks of Citrix Systems Inc.
HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C®, World Wide
Web Consortium, Massachusetts Institute of Technology.
Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-Touch, Objective-C, Retina,
Safari, Siri, and Xcode are trademarks or registered trademarks of Apple Inc.

IOS is a registered trademark of Cisco Systems Inc.
RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl, BlackBerry Torch,
BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook, and BlackBerry App World are
trademarks or registered trademarks of Research in Motion Limited.
Google App Engine, Google Apps, Google Checkout, Google Data API, Google Maps, Google
Mobile Ads, Google Mobile Updater, Google Mobile, Google Store, Google Sync, Google
Updater, Google Voice, Google Mail, Gmail, YouTube, Dalvik and Android are trademarks or
registered trademarks of Google Inc.
INTERMEC is a registered trademark of Intermec Technologies Corporation.
Wi-Fi is a registered trademark of Wi-Fi Alliance.
Bluetooth is a registered trademark of Bluetooth SIG Inc.
Motorola is a registered trademark of Motorola Trademark Holdings LLC.
Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH.

More Related Content

What's hot

Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup ExamInprise Group
 
Sql server lesson13
Sql server lesson13Sql server lesson13
Sql server lesson13Ala Qunaibi
 
Data Extract Views_Katalyst HLS
Data Extract Views_Katalyst HLSData Extract Views_Katalyst HLS
Data Extract Views_Katalyst HLSKatalyst HLS
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12Ala Qunaibi
 
Log shippingbestpractices
Log shippingbestpracticesLog shippingbestpractices
Log shippingbestpracticesAntilamps
 
Steps for upgrading the database to 10g release 2
Steps for upgrading the database to 10g release 2Steps for upgrading the database to 10g release 2
Steps for upgrading the database to 10g release 2nesmaddy
 
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowOTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
 
OC Backend_Katalyst HLS
OC Backend_Katalyst HLSOC Backend_Katalyst HLS
OC Backend_Katalyst HLSKatalyst HLS
 
OC Procedure Progarmming Module_Katalyst HLS
OC Procedure Progarmming Module_Katalyst HLSOC Procedure Progarmming Module_Katalyst HLS
OC Procedure Progarmming Module_Katalyst HLSKatalyst HLS
 
Systems and methods for improving database performance
Systems and methods for improving database performanceSystems and methods for improving database performance
Systems and methods for improving database performanceEyjólfur Gislason
 
OER-Unit 1 authentication -Lecturer Notes
OER-Unit 1 authentication -Lecturer NotesOER-Unit 1 authentication -Lecturer Notes
OER-Unit 1 authentication -Lecturer NotesGirija Muscut
 
DDL logging Parameter in Oracle 11g & 12c
DDL logging Parameter in Oracle 11g & 12c DDL logging Parameter in Oracle 11g & 12c
DDL logging Parameter in Oracle 11g & 12c Syed SadathUllah
 

What's hot (14)

Oracle OCP Backup Exam
Oracle OCP Backup ExamOracle OCP Backup Exam
Oracle OCP Backup Exam
 
Sql server lesson13
Sql server lesson13Sql server lesson13
Sql server lesson13
 
Data Extract Views_Katalyst HLS
Data Extract Views_Katalyst HLSData Extract Views_Katalyst HLS
Data Extract Views_Katalyst HLS
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
 
Less15 Backups
Less15 BackupsLess15 Backups
Less15 Backups
 
Log shippingbestpractices
Log shippingbestpracticesLog shippingbestpractices
Log shippingbestpractices
 
OER UNIT 5 Audit
OER UNIT  5 AuditOER UNIT  5 Audit
OER UNIT 5 Audit
 
Steps for upgrading the database to 10g release 2
Steps for upgrading the database to 10g release 2Steps for upgrading the database to 10g release 2
Steps for upgrading the database to 10g release 2
 
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowOTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should Know
 
OC Backend_Katalyst HLS
OC Backend_Katalyst HLSOC Backend_Katalyst HLS
OC Backend_Katalyst HLS
 
OC Procedure Progarmming Module_Katalyst HLS
OC Procedure Progarmming Module_Katalyst HLSOC Procedure Progarmming Module_Katalyst HLS
OC Procedure Progarmming Module_Katalyst HLS
 
Systems and methods for improving database performance
Systems and methods for improving database performanceSystems and methods for improving database performance
Systems and methods for improving database performance
 
OER-Unit 1 authentication -Lecturer Notes
OER-Unit 1 authentication -Lecturer NotesOER-Unit 1 authentication -Lecturer Notes
OER-Unit 1 authentication -Lecturer Notes
 
DDL logging Parameter in Oracle 11g & 12c
DDL logging Parameter in Oracle 11g & 12c DDL logging Parameter in Oracle 11g & 12c
DDL logging Parameter in Oracle 11g & 12c
 

Viewers also liked

Presentation Profesi
Presentation ProfesiPresentation Profesi
Presentation ProfesiNasython
 
Muntatge bingo
Muntatge bingoMuntatge bingo
Muntatge bingomcaso
 
Payday No Credit Check- Get Loans To Fulfill Your Monetary Crisis Without Any...
Payday No Credit Check- Get Loans To Fulfill Your Monetary Crisis Without Any...Payday No Credit Check- Get Loans To Fulfill Your Monetary Crisis Without Any...
Payday No Credit Check- Get Loans To Fulfill Your Monetary Crisis Without Any...Sethe Harrison
 
Common Online Terminologies
Common Online TerminologiesCommon Online Terminologies
Common Online Terminologiesnaughtynaughppy
 
Зачем вам копирайтер с проектным мышлением
Зачем вам копирайтер с проектным мышлениемЗачем вам копирайтер с проектным мышлением
Зачем вам копирайтер с проектным мышлениемЮлия Третья
 
Attributes of a doctor (1)
Attributes of a doctor (1)Attributes of a doctor (1)
Attributes of a doctor (1)Harivansh Chopra
 
Activity 13 common online terminologies
Activity 13 common online terminologiesActivity 13 common online terminologies
Activity 13 common online terminologiesAndee Blas
 
Ergonomie & Expérience Utilisateur (UX) | Cours Introduction
Ergonomie & Expérience Utilisateur (UX) | Cours IntroductionErgonomie & Expérience Utilisateur (UX) | Cours Introduction
Ergonomie & Expérience Utilisateur (UX) | Cours IntroductionJulien Roland
 
Final prevention of childhood malnutrition dr harivansh chopra
Final prevention of childhood malnutrition dr harivansh chopraFinal prevention of childhood malnutrition dr harivansh chopra
Final prevention of childhood malnutrition dr harivansh chopraHarivansh Chopra
 
Timeline History of Internet
Timeline History of InternetTimeline History of Internet
Timeline History of Internetnaughtynaughppy
 
Els bons amics
Els bons amicsEls bons amics
Els bons amicsmcaso
 
Pertussis (whooping cough) dr harivansh chopra
Pertussis (whooping cough) dr harivansh chopraPertussis (whooping cough) dr harivansh chopra
Pertussis (whooping cough) dr harivansh chopraHarivansh Chopra
 
Presentació escola nova
Presentació escola nova Presentació escola nova
Presentació escola nova mcaso
 
Ergonomie & Expérience Utilisateur (UX) | Cours Introduction (Mobile)
Ergonomie & Expérience Utilisateur (UX) | Cours Introduction (Mobile)Ergonomie & Expérience Utilisateur (UX) | Cours Introduction (Mobile)
Ergonomie & Expérience Utilisateur (UX) | Cours Introduction (Mobile)Julien Roland
 
Descobrim Antoni Tàpies
Descobrim Antoni TàpiesDescobrim Antoni Tàpies
Descobrim Antoni Tàpiesmcaso
 
Measles dr harivansh chopra
Measles   dr harivansh chopraMeasles   dr harivansh chopra
Measles dr harivansh chopraHarivansh Chopra
 

Viewers also liked (18)

Presentation Profesi
Presentation ProfesiPresentation Profesi
Presentation Profesi
 
Muntatge bingo
Muntatge bingoMuntatge bingo
Muntatge bingo
 
Ingresos. tabla
Ingresos. tablaIngresos. tabla
Ingresos. tabla
 
Копирайтер Оксана Николенко
Копирайтер Оксана НиколенкоКопирайтер Оксана Николенко
Копирайтер Оксана Николенко
 
Payday No Credit Check- Get Loans To Fulfill Your Monetary Crisis Without Any...
Payday No Credit Check- Get Loans To Fulfill Your Monetary Crisis Without Any...Payday No Credit Check- Get Loans To Fulfill Your Monetary Crisis Without Any...
Payday No Credit Check- Get Loans To Fulfill Your Monetary Crisis Without Any...
 
Common Online Terminologies
Common Online TerminologiesCommon Online Terminologies
Common Online Terminologies
 
Зачем вам копирайтер с проектным мышлением
Зачем вам копирайтер с проектным мышлениемЗачем вам копирайтер с проектным мышлением
Зачем вам копирайтер с проектным мышлением
 
Attributes of a doctor (1)
Attributes of a doctor (1)Attributes of a doctor (1)
Attributes of a doctor (1)
 
Activity 13 common online terminologies
Activity 13 common online terminologiesActivity 13 common online terminologies
Activity 13 common online terminologies
 
Ergonomie & Expérience Utilisateur (UX) | Cours Introduction
Ergonomie & Expérience Utilisateur (UX) | Cours IntroductionErgonomie & Expérience Utilisateur (UX) | Cours Introduction
Ergonomie & Expérience Utilisateur (UX) | Cours Introduction
 
Final prevention of childhood malnutrition dr harivansh chopra
Final prevention of childhood malnutrition dr harivansh chopraFinal prevention of childhood malnutrition dr harivansh chopra
Final prevention of childhood malnutrition dr harivansh chopra
 
Timeline History of Internet
Timeline History of InternetTimeline History of Internet
Timeline History of Internet
 
Els bons amics
Els bons amicsEls bons amics
Els bons amics
 
Pertussis (whooping cough) dr harivansh chopra
Pertussis (whooping cough) dr harivansh chopraPertussis (whooping cough) dr harivansh chopra
Pertussis (whooping cough) dr harivansh chopra
 
Presentació escola nova
Presentació escola nova Presentació escola nova
Presentació escola nova
 
Ergonomie & Expérience Utilisateur (UX) | Cours Introduction (Mobile)
Ergonomie & Expérience Utilisateur (UX) | Cours Introduction (Mobile)Ergonomie & Expérience Utilisateur (UX) | Cours Introduction (Mobile)
Ergonomie & Expérience Utilisateur (UX) | Cours Introduction (Mobile)
 
Descobrim Antoni Tàpies
Descobrim Antoni TàpiesDescobrim Antoni Tàpies
Descobrim Antoni Tàpies
 
Measles dr harivansh chopra
Measles   dr harivansh chopraMeasles   dr harivansh chopra
Measles dr harivansh chopra
 

Similar to Oracle database monitors and tools

Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3Suresh Mishra
 
Managing Oracle Streams Using Enterprise Manager Grid Control
Managing Oracle Streams Using Enterprise Manager Grid ControlManaging Oracle Streams Using Enterprise Manager Grid Control
Managing Oracle Streams Using Enterprise Manager Grid Controlscottb411
 
White Paper - What is new at 11g for Backup and Recovery
White Paper - What is new at 11g for Backup and RecoveryWhite Paper - What is new at 11g for Backup and Recovery
White Paper - What is new at 11g for Backup and RecoveryFrancisco Alvarez
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuningYogiji Creations
 
Sap grc process control 10.0
Sap grc process control 10.0Sap grc process control 10.0
Sap grc process control 10.0Latha Kamal
 
The Ultimate Guide to Oracle web logic server 12c administration i 1z0 133
 The Ultimate Guide to Oracle web logic server 12c  administration i  1z0 133 The Ultimate Guide to Oracle web logic server 12c  administration i  1z0 133
The Ultimate Guide to Oracle web logic server 12c administration i 1z0 133SoniaSrivastva
 
Sql query analyzer & maintenance
Sql query analyzer & maintenanceSql query analyzer & maintenance
Sql query analyzer & maintenancenspyrenet
 
Database audit policies copy
Database audit policies   copyDatabase audit policies   copy
Database audit policies copyOracle Apps DBA
 
Oracle-Whitepaper-Optimizer-with-Oracle-Database-12c.pdf
Oracle-Whitepaper-Optimizer-with-Oracle-Database-12c.pdfOracle-Whitepaper-Optimizer-with-Oracle-Database-12c.pdf
Oracle-Whitepaper-Optimizer-with-Oracle-Database-12c.pdfDetchDuvanGaelaCamar
 
12 1-man-operation center-ug(2)
12 1-man-operation center-ug(2)12 1-man-operation center-ug(2)
12 1-man-operation center-ug(2)Ron DeLong
 
DBPLUS Performance Monitor for SQL Server
DBPLUS Performance Monitor for SQL Server DBPLUS Performance Monitor for SQL Server
DBPLUS Performance Monitor for SQL Server DBPLUS
 
Data Redaction - OTN TOUR LA 2015
Data Redaction - OTN TOUR LA 2015 Data Redaction - OTN TOUR LA 2015
Data Redaction - OTN TOUR LA 2015 Alex Zaballa
 
La6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsLa6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsAzmiah Mahmud
 
DBPLUS Performance Monitor for Oracle
DBPLUS Performance Monitor for OracleDBPLUS Performance Monitor for Oracle
DBPLUS Performance Monitor for OracleDBPLUS
 
Oracle advanced supply chain planning implementation and user
Oracle advanced supply chain planning implementation and userOracle advanced supply chain planning implementation and user
Oracle advanced supply chain planning implementation and userSairam Laga
 
Getting Started with MySQL II
Getting Started with MySQL IIGetting Started with MySQL II
Getting Started with MySQL IISankhya_Analytics
 
Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimizationUsman Tariq
 

Similar to Oracle database monitors and tools (20)

Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3Less13 3 e_loadmodule_3
Less13 3 e_loadmodule_3
 
Managing Oracle Streams Using Enterprise Manager Grid Control
Managing Oracle Streams Using Enterprise Manager Grid ControlManaging Oracle Streams Using Enterprise Manager Grid Control
Managing Oracle Streams Using Enterprise Manager Grid Control
 
White Paper - What is new at 11g for Backup and Recovery
White Paper - What is new at 11g for Backup and RecoveryWhite Paper - What is new at 11g for Backup and Recovery
White Paper - What is new at 11g for Backup and Recovery
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Sap grc process control 10.0
Sap grc process control 10.0Sap grc process control 10.0
Sap grc process control 10.0
 
The Ultimate Guide to Oracle web logic server 12c administration i 1z0 133
 The Ultimate Guide to Oracle web logic server 12c  administration i  1z0 133 The Ultimate Guide to Oracle web logic server 12c  administration i  1z0 133
The Ultimate Guide to Oracle web logic server 12c administration i 1z0 133
 
CH08.ppt
CH08.pptCH08.ppt
CH08.ppt
 
CH08.ppt
CH08.pptCH08.ppt
CH08.ppt
 
Sql query analyzer & maintenance
Sql query analyzer & maintenanceSql query analyzer & maintenance
Sql query analyzer & maintenance
 
Database audit policies copy
Database audit policies   copyDatabase audit policies   copy
Database audit policies copy
 
Oracle-Whitepaper-Optimizer-with-Oracle-Database-12c.pdf
Oracle-Whitepaper-Optimizer-with-Oracle-Database-12c.pdfOracle-Whitepaper-Optimizer-with-Oracle-Database-12c.pdf
Oracle-Whitepaper-Optimizer-with-Oracle-Database-12c.pdf
 
12 1-man-operation center-ug(2)
12 1-man-operation center-ug(2)12 1-man-operation center-ug(2)
12 1-man-operation center-ug(2)
 
DBPLUS Performance Monitor for SQL Server
DBPLUS Performance Monitor for SQL Server DBPLUS Performance Monitor for SQL Server
DBPLUS Performance Monitor for SQL Server
 
Data Redaction - OTN TOUR LA 2015
Data Redaction - OTN TOUR LA 2015 Data Redaction - OTN TOUR LA 2015
Data Redaction - OTN TOUR LA 2015
 
La6 ict-topic-6-information-systems
La6 ict-topic-6-information-systemsLa6 ict-topic-6-information-systems
La6 ict-topic-6-information-systems
 
SAP Basis CCMS
SAP Basis CCMSSAP Basis CCMS
SAP Basis CCMS
 
DBPLUS Performance Monitor for Oracle
DBPLUS Performance Monitor for OracleDBPLUS Performance Monitor for Oracle
DBPLUS Performance Monitor for Oracle
 
Oracle advanced supply chain planning implementation and user
Oracle advanced supply chain planning implementation and userOracle advanced supply chain planning implementation and user
Oracle advanced supply chain planning implementation and user
 
Getting Started with MySQL II
Getting Started with MySQL IIGetting Started with MySQL II
Getting Started with MySQL II
 
Database performance tuning and query optimization
Database performance tuning and query optimizationDatabase performance tuning and query optimization
Database performance tuning and query optimization
 

Recently uploaded

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Recently uploaded (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

Oracle database monitors and tools

  • 1. White Paper: Oracle Database Administration February 2012
  • 2. Oracle Database Monitors and Tools February 2012 TABLE OF CONTENTS OVERVIEW ......................................................................................................................... 3 SCHEDULING THE DATABASE SYSTEM CHECK ........................................................... 4 CONFIGURING THE DATABASE SYSTEM CHECK ......................................................... 5 VIEWING THE DATABASE SYSTEM CHECK ................................................................... 7 USING THE ALERT MONITOR .......................................................................................... 9 Database Alerts ........................................................................................................................... 14 Space Management......................................................................................................................................... 14 Performance .................................................................................................................................................... 14 Backup and Restore ........................................................................................................................................ 15 SAP Consistency ............................................................................................................................................. 15 Health............................................................................................................................................................... 16 CASE STUDY: ADDING A NEW CONDITION TO THE DATABASE SYSTEM CHECK 23 BRCONNECT .................................................................................................................... 27 Default Conditions for Database Administration ...................................................................... 27 Default Conditions for Database Operations ............................................................................ 29 Critical Database Messages in the Oracle Alert File ................................................................ 29 BRCONNECT Default Conditions for Database Profile Parameters ........................................ 30 ADDITIONAL DOCUMENTATION .................................................................................... 31 SAP Library ................................................................................................................................. 31 SAP Notes ................................................................................................................................... 31 2
  • 3. Oracle Database Monitors and Tools February 2012 OVERVIEW To help you quickly recognize and analyze Oracle database problems, SAP provides comprehensive and fully integrated database system checking. By running regular checks and looking at the results, you can rapidly identify potential problems and take the required action before the database crashes. The following graphic shows how the SAP system supports you in monitoring your Oracle database system: 1 Schedule DBA Planning Calendar DB13 2 Configure Database System Check DB17 Run daily Alerts 5 BRCONNECT -f check 3 Display alert messages DB16 Alerts mainly health   Other alerts Non-BRCONNECT Methods 4 Alert Monitor RZ20 In this paper we discuss the main functions in the figure above: 1. You schedule the database system check to run daily using the Database Planning Calendar [page 4], transactions DBCOCKPIT and DB13, in the Computing Center Management System (CCMS). 2. If required, you can configure the database system check [page 5] using transactions DBCOCKPIT and DB17. 3. When BRCONNECT has run, you can view the results [page 7] using transactions DBACOCKPIT and DB16. 4. You can also view the results of the BRCONNECT and other checks using the database alert monitor [page 9] in transaction RZ20. Transactions DBACOCKPIT and DB13 deliver the results immediately to the alert monitor. 5. BRCONNECT [page 27] is the program that performs a series of database system checks, including those for database administration, database operations, critical database messages in the Oracle alert file, and incorrectly set database parameters. It is fully integrated with the alert monitor. Using a case study [page 23], we show you how to add a new condition to the database system check and view this in the alert monitor. If you want to find more detailed information, look at the additional documentation [page 31] provided by SAP. 3
  • 4. Oracle Database Monitors and Tools February 2012 SCHEDULING THE DATABASE SYSTEM CHECK You can schedule the Oracle database system check in the Database planning Calendar in transaction DBACOCKPITof the Computing Center Management System (CCMS). We strongly recommend you to schedule the check daily. Otherwise, you might miss important warnings and errors, possibly resulting in expensive system downtime. The best way to do this is by selecting an action pattern, as shown in the following graphic: Every action pattern includes a daily database system check. If required, you can run a database system check immediately using the DBA Planning Calendar. You can also run the database system check from the command line of your operating system using . £ ¦ £ ¨ £ © ¨ For more information on scheduling the database system check, see DBA Planning Calendar (Oracle) in the documentation CCMS Oracle [page 31]. 4 § £ ¦ ¥ ¥ ¤ £ ¢ ¡
  • 5. Oracle Database Monitors and Tools February 2012 CONFIGURING THE DATABASE SYSTEM CHECK You can configure the Oracle database system check in the Computing Center Management System (CCMS) to: x Add new conditions of type ORA or PROF x Exclude individual conditions from the check x Specify threshold values for the conditions x Create object-specific conditions to exclude them from the check x Create object-specific conditions to set individual threshold values x Specify corresponding corrective actions x Maintain the condition description For an example of how to add a new condition of type ORA, see the case study [page 23]. The configuration data is stored in the table. Changed or new conditions take effect the next time that BRCONNECT runs. You can view the results in transaction DBACOCKPIT or DB16 [page 7] or the alert monitor [page 9]. # ! To change the configuration, you use transaction DBACOCKPIT or DB17, as shown in the following graphic: For example, if you want to change the TABLESPACE FULL parameter above, you can do so as follows: 5
  • 6. Oracle Database Monitors and Tools February 2012 In the above example, we have changed the threshold at which an alert is raised for a tablespace to 95%. You might also decide to change the Condition Level from Error to Warning, deactivate the check by setting the Active Flag to No, or change the text of the Description. In the following example, we have changed the threshold for a single tablespace, the SYSTEM tablespace, from 95% to 80%, by specifying SYSTEM in the Check Object field. To do this, you first need to copy the condition and then specify Check Object for the new condition. For more information on configuring the database system check, including changing or creating check conditions, see the following path in the documentation CCMS: Oracle [page 31]: Database System Check o Configuring Database System Check (Oracle) 6
  • 7. Oracle Database Monitors and Tools February 2012 VIEWING THE DATABASE SYSTEM CHECK To check the results of a database check you use transaction DBACOCKPIT or DB16: At the top of the screen, the system displays: x Check Results: the number of checks that have finished with an alert. An alert is an error, a warning, or an exception (that is, a deviation from the SAP standard value). x Settings: the period of results displayed, the refresh interval, and the deletion period You can configure the display to set the: x Number of days for which alerts are displayed x Refresh interval after which the display is updated x Deletion period after which old alerts are deleted You can also drill down to look at the details of an individual check or Message. For example, to look in detail at the line TABLESPACE_FULL above: 7
  • 8. Oracle Database Monitors and Tools February 2012 You can choose Check log to view the log produced by this check. An example of the log is shown in the case study [page 23]. For more information on viewing the database system check, see the following path in the documentation CCMS: Oracle [page 31]: Database System Check o Displaying Alert Messages from Database System Check 8
  • 9. Oracle Database Monitors and Tools February 2012 USING THE ALERT MONITOR You use the alert monitor in the Computing Center Management System (CCMS) to check the following Oracle database functions: x Backup or restore $ x Health $ x Consistency tablespaces and segments optimizer statistics, buffers, logs, and checkpoints $ $ x Performance $ x Space management database and redo log backup between database objects in the ABAP and Oracle dictionaries database system checks from BRCONNECT By configuring data collection tools, or methods, to run periodically, alerts are automatically updated and fed to the monitoring architecture. The main tool feeding alerts is BRCONNECT [page 27], especially for Health alerts. Analysis tools provide additional information about the alert conditions, and you can configure autoreact tools to automatically respond when an alert occurs. The alerts are hierarchically arranged and grouped. This is what you see when you open the alert database monitor tree in transaction RZ20: 9
  • 10. Oracle Database Monitors and Tools February 2012 If you choose Space Management o Tablespaces and open some of the nodes, you see the following: 10
  • 11. Oracle Database Monitors and Tools February 2012 This level displays individual database checks, some derived from BRCONNECT, some not. Color-coding and the message text indicate whether there is an alert. If an alert has occurred, the message text gives more information. You can look at the details of an alert, such as Space management o Segments o Most allocated extents in any segment: 11
  • 12. Oracle Database Monitors and Tools February 2012 You can also look at the properties and methods of a node, which determine how the alert is displayed, as follows: 12
  • 13. Oracle Database Monitors and Tools February 2012 You can alter data collection methods and other attributes such as the threshold values in the monitor. 13
  • 14. Oracle Database Monitors and Tools February 2012 Database Alerts This section lists the individual database alerts in the alert monitor by branch of the monitoring tree. The tables below include all possible alerts. You can tailor the tree to suit your own requirements by adding, changing, or deleting alerts. Space Management Type Description Tablespace Freespace for each tablespace Used space for each tablespace Status (online or offline) for each tablespace Segments with too few allocatable extents Fewest allocatable extents for a segment % ) 0 % % 0 ) ) ' ' ( ( ' ' # # 1 # 0 3 ) 2 Segments with non-zero 1 ) Most allocated extents in any segment % 1 Fewest extents left before % Segments approaching % Segments Segments in wrong tablespace Rollback segment extension failed * These alerts are only relevant for locally managed tablespaces. Performance Type Description Optimizer Last successful update statistics Last brconnect -f stats run Harmful statistics Missing Statistics Buffers Buffer cache Library buffer Redo log buffer 14
  • 15. Oracle Database Monitors and Tools Locks February 2012 Age of oldest exclusive transaction lock Deadlocked resource Checkpoints Checkpoint not complete Backup and Restore Type Description Archiving Last successful archive log backup Last brarchive run Archiver destination full Archiving off Backup Status Last successful complete database backup Last brbackup run Tablespace in backup mode SAP Consistency Type Description SAP consistency check Last SAP consistency check run Objects missing in the database Primary indexes Secondary indexes Tables Views Unknown objects in ABAP Dictionary Database tables Database indexes Database views Database tables without unique index Inconsistent objects Primary indexes Secondary indexes 15
  • 16. Oracle Database Monitors and Tools February 2012 Tables Views Other checks Primary indexes Secondary indexes Tables Views Primary index not unique Optional indexes Too many indexes created Indexes not created Health Type Description Database health check Last successful database check Last brconnect -f check run Last evaluation of check results Start of database check Database administration Archiver destination full Control file not mirrored Missing control file Critical tablespace Critical autoextendable file Critical segment Data file mismatch Missing data file Database file offline File system full Harmful statistics 16
  • 17. Oracle Database Monitors and Tools February 2012 Invalid file type Segment in wrong tablespace Missing index Missing statistics Database in NOARCHIVELOG mode Segment with non-zero PCTINCREASE Redo log file not mirrored Missing redo log file Tablespace full Tablespace in backup mode Tablespace offline Segment with too many extents DBA operations Last successful archive log backup too old Last successful complete database backup too old Last archive log backup failed Last complete database backup failed Last operation failed Last update statistics failed Last successful operation too old Last successful update statistics too old 17
  • 18. Oracle Database Monitors and Tools February 2012 Type Description Oracle messages ORA-00060 Deadlock while waiting for resource ORA-00255 Error archiving log file ORA-00257 Archiver error ORA-00270 Error creating archive log ORA-00272 Error writing archive log ORA-00376 File cannot be read ORA-00447 Fatal error in background process ORA-00470 LGWR process terminated with error ORA-00471 DBWR process terminated with error ORA-00472 PMON process terminated with error ORA-00473 ARCH process terminated with error ORA-00474 SMON process terminated with error ORA-00600 Oracle internal error ORA-00603 Oracle server session terminated by fatal error ORA-01114 I/O error writing database file ORA-01115 I/O error reading database file ORA-01122 File verification check failed $ ORA-01149 Cannot shut down data file in backup mode ORA-01555 Snapshot too old ORA-01562 Failed to extend rollback segment ORA-01578 Database block corrupted ORA-01628 Max. extents reached for rollback segment ORA-01629 Max. extents reached saving undo for tablespace ORA-01630 tablespace Max. extents reached in temp segment in ORA-01631 Max. extents reached in table 18
  • 19. Oracle Database Monitors and Tools February 2012 ORA-01632 Max. extents reached in index ORA-01650 Unable to extend rollback segment in tablespace ORA-01651 tablespace Unable to extend save undo segment for ORA-01652 Unable to extend temp segment in tablespace ORA-01157 Unable to extend table in tablespace ORA-01654 Unable to extend index in tablespace ORA-01655 Unable to extend cluster in tablespace ORA-01656 Max. extents reached in cluster ORA-01680 Unable to extend LOB segment in tablespace ORA-01681 tablespace Max. extents reached in LOB segment in ORA-01683 Unable to extend index partition ORA-01684 Max. extents reached in table partition ORA-01685 Max. extents reached in index partition ORA-01688 Unable to extend table partition ORA-01691 Unable to extend lob segment in tablespace ORA-01692 tablespace Unable to extend lob segment partition in ORA-01693 Max. extents reached in lob segment ORA-01694 Max. extents reached in lob segment partition ORA-07445 Exception encountered: core dump ORA-16014 Destination not available for archiving log file ORA-16038 Log file cannot be archived ORA-19502 Write error on log file ORA-19504 Failed to create log file ORA-19510 Failed to set size of blocks for file ORA-27044 Unable to write the header block of file 19
  • 20. 20 ( B C U C B ( G C B A 8 D C D 5 @ P 4 @ 9 D R @ @ 8 R 6 @ E 8 E 9 P D 8 E T 8 P 9 9 E 8 8 9 9 P P ( B 5 5 7 G C E 8 Q P ( S 7 4 4 D C G D C D 7 C C G Q D 9 I 5 8 @ 9 8 P C C 7 4 @ B 7 C E ( P 5 @ ( E C A C B 9 5 4 S 6 4 C E C E ( P G 8 C E Q 9 B ( C @ ( 5 P ( 4 P P F 9 ( C H T ( 9 D ( I ( C C B B 8 E 8 7 ( 6 D 5 @ 9 I 4 C V C B C B B 8 E 8 7 ( C G 5 6 E C R @ 6 @ 9 7 5 ( P E 5 ( C R @ ( 9 E C B 8 P P F C B 9 E I 4 D ( 7 6 I G 9 8 D 9 @ 5 P 7 V H P E 9 C D 9 I 5 4 D ( G 8 C 5 7 8 6 ( 7 4 C Q 4 T F 5 B ( C I A T 5 B ( C 5 U @ Q 4 E 8 T 5 B F 5 @ 6 C 9 H P S P C ( E 4 5 B A @ 9 B I 6 B F C B C C @ 9 I R @ E 5 4 C Q C E B A G ( @ A G ( 4 5 B A A G ( 4 5 B A A G ( C C H 4 ( 5 4 H P ( P F E 4 8 7 ( G @ ( @ F P ( C H 6 ( 7 6 C 9 ( H ( @ 5 ( @ ( 5 F E ( 9 @ ( P ( 6 C P F C B E 5 P E I 4 ( @ B 5 E 9 D 5 4 Profile parameters Oracle 10g $ C B A @ 9 8 7 6 5 4 Corrupt block Database block is corrupted $ Checkpoint not complete Cannot switch to the next redo log file due to pending checkpoint $ ORA-27072 File I/O error ORA-30036 Unable to extend segment in undo tablespace Oracle Database Monitors and Tools February 2012
  • 21. 21 ( X G 8 9 P 5 ( 4 V C G D D B @ A D @ 8 B Q D 7 6 4 C 8 4 P C E E C R @ 6 @ 9 7 5 ( V C G D @ F P 8 ( @ ( T ( C I 9 8 E C R @ 6 @ 9 7 5 ( C E ( T C R @ 6 @ 9 7 5 ( 4 @ 6 8 D S G E C R @ 6 @ 9 7 5 ( P E 5 P E I 4 D ( P 4 @ 9 D 8 6 C E C B 8 R @ P Q 9 9 F C B T D C B P ( 7 6 I G V H P 9 8 D 9 @ 5 P 7 D 9 I 5 4 D 5 C ( G 8 C P 7 P C D 8 6 ( 7 4 C Q 4 T F 5 B ( C I A T 5 B ( C 5 U @ Q 4 E 8 T 5 B F 5 4 5 @ E 6 7 C 9 P S P C C 9 @ 5 B A @ 9 B I 6 R C @ A F C B C 7 C ( C E 5 4 C E 7 6 F C B A G ( @ A G ( 4 5 B A A G ( G ( G G ( @ B H P ( H 9 I G C E 5 4 ( @ B B C 9 @ 9 @ ( E ( 4 B W E H E F P ( C P 9 ( @ 5 B ( @ ( 5 E 9 C ( P ( C ( 9 F E ( 9 @ ( P ( P ( 6 C A 5 E @ @ W C E 9 9 8 D 7 6 5 4 5 4 ( 9 W T T @ 6 6 5 4 ( 8 9 @ 6 6 5 4 ( T D @ 5 B 9 @ 6 6 5 4 Profile parameters Oracle 11g $ ( 9 P C ( G 7 6 I G H G D I 5 E T 4 8 A ( C 4 8 7 P C B A 8 9 5 G D I ( 9 D C 6 C T 8 D 8 6 5 G D I ( P 9 C G B A 8 D C C 4 8 E 9 ( P 4 @ @ 9 8 9 P G C 6 @ 9 Oracle Database Monitors and Tools February 2012
  • 23. Oracle Database Monitors and Tools February 2012 CASE STUDY: ADDING A NEW CONDITION TO THE DATABASE SYSTEM CHECK This section shows how you can add a new condition to the database system check and then display the new check. The new condition is a database message type ORA but the principle is the same if you want to add a new condition of type PROF. $ $ 1. You enter the new condition in transaction DBACOCKPIT or DB17: The Condition Name is 01157, which generates an error with the Cannot identify / lock data file. The recommendation for this error is to Check the Oracle alert log / trace file. 2. Using transaction RZ20 to call up the alert monitor [page 9], you delete and then rebuild the monitoring tree on the host running the SAP central instance: a) Activate maintenance functions in View: Current system status. b) Reset all alerts in the Oracle monitoring tree. c) Delete the Oracle monitoring tree. d) Run ABAP program RSDBMON0 on the main application server to rebuild the monitoring tree. 3. You call up the alert monitor and see the new check condition, ORA-01157: 23
  • 24. Oracle Database Monitors and Tools February 2012 4. You run a database system check in the DBA Planning Calendar [page 4], either immediately or at the next scheduled time. In this example, we assume that the new database check causes an alert. 5. You view the results of the database system check [page 7] using transaction DBACOCKPIT or DB16 to see the alert raised by the new condition: 24
  • 25. Oracle Database Monitors and Tools February 2012 The error 01157 appears in the Name column 6. You look at the detail log. a) You can see the new condition ORA-01157: b) You can also see the alert ORA-1157 that was raised in this example: 25
  • 26. Oracle Database Monitors and Tools February 2012 7. You can also see the alert ORA-01157 displayed in the alert monitor, transaction RZ20 [page 9]: 26
  • 27. Oracle Database Monitors and Tools February 2012 BRCONNECT BRCONNECT checks the following types of condition: configuration, space management, database state, consistency backup and archive results, failed operations $ x Critical database messages in the Oracle alert file for example, ORA-00600 $ x Database operations $ x Database administration x Database profile parameters in the Oracle initialization file When it finds a critical situation, BRCONNECT writes an alert message to the detail log and to the table . You can view the results with transaction DBACOCKPIT or DB16 [page 7]. Many alerts are also passed to the alert monitor [page 9]. # ! a 1 You can tailor the conditions to suit your own requirements [page 5]. For critical database messages or database profile parameters, you can also add new conditions. Default Conditions for Database Administration Severity Description Error Checks whether the database is in mode, which is not allowed for production databases. Warning Checks the highest fill level of the archiving directory (by default, ). Warning Checks the fill level of file systems on the database host. Error Checks whether there are tablespaces that are offline. Warning Checks whether there are tablespaces that have the BACKUP status although BRBACKUP is not active Warning Checks the fill level of tablespaces in the database. Warning Checks whether there are data files that no longer exist in the file system. Error Checks whether there are online redo log files that no longer exist in the file system. Error Checks whether there are control files that no longer exist in the file system. Error Checks whether there are data files that are flagged as in Oracle control file. Error Checks whether there are database files that have an illegal operating system type, for example, block raw files on Unix or compressed files on Windows. a ! c b 3 # ! 0 Q 4 E 8 8 E Condition ! ( a ! Y ) c 1 b ( 3 b 3 # ! 0 # 5 a 27 0 3 1 1 3 d c c d 2 Y 0 3 d Y ( ! ) 1 e 1 ( c 3 d c # ( 0 ( 3 ( # # 2 2 1 1 c c # # ) ) d c c Y ( # 2 1 c # ) d a 0 3 1 1 3 ( c 3 ( # ) # d a 0 3 1 1 3 ( c 3 ( a ! c ! d a 0 3 1 1 3 ( c 3 ( c ! ) 0 ! d ) # 1 3 ( c 3 ( # ) # d 2 e ) ( c 3 ( 3 c # b 0 3
  • 28. Oracle Database Monitors and Tools Severity Description Error Checks whether there are online redo log files that are not mirrored on the Oracle side. Error Checks whether there are control files that are not mirrored on the Oracle side. Error Checks whether there are data files or online redo log files that are OFFLINE. Warning Examines the data files with an activated auto extend feature to see whether the file system can be brought to overflow, due to the existing parameter setting ( and ), during the automatic file extension. Warning Checks whether there are tables or indices, for which the number of allocated extents exceeds the specified threshold value. Warning Checks whether there are tables or indexes that can bring the tablespace to overflow when up to 5 next extents are allocated. Warning Examines the data of a tablespace to see whether the file system can be brought to overflow, due to the existing parameter setting ( and ), during the automatic file extension. Error Checks whether there are tables that not in a table tablespace or indices, which are not in an index tablespace. Error Checks whether there are tables that do not have any indices and are not specified in the table exception. Error Checks whether there are tables or indices that do not have any statistics, although they should have these. Error Checks whether there are tables or indices that have statistics, although they should not have these (for example, pool and cluster tables). Error Checks whether there are tables or indexes for which the storage parameter is not equal to zero. This can lead to storage fragmentation and is not suitable for the SAP System. d f 3 1 ' # ) ' f 3 1 ' # ) ' Condition February 2012 d ! 3 ( c 3 ( a ! c ! d ! 3 ( c 3 ( d 0 3 c ! ) 0 ! d d c ! ( c 3 d c 3 ( c # 3 ) 3 0 % 1 % ) ) # 0 0 2 1 ) ' a c # ( 1 ( ) ( e 0 c # c # # 3 ( ) 3 ! ! 3 ) 3 ) 0 # 2 1 c ' # ) ( 0 3 a 0 ( ! a 0 3 g 1 ( 1 0 3 3 d 3 1 # 0 3 ) 1 3 ) 1 3 ) # ) 1 ( a 0 3 1 1 3 d 1 ! f 3 ) ( ) 1 3 ! ) 0 # ( ) 1 1 ( # c Y 0 3 ) # 2 % 2 * These conditions are only relevant for locally managed tablespaces. 28
  • 29. Oracle Database Monitors and Tools February 2012 . # ! The above check conditions are specified in the control table You cannot add new check conditions but you can change some of the above checks as follows: You can exclude objects that is, individual tables and indexes or even complete tablespaces from certain checks that run at table or index level. You do this by creating a new check condition with the relevant object in transaction DBCOCKPIT or DB17 [page 5], setting its ACTIVE FLAG to NO or by specifying the object in the BRCONNECT profile parameter. x $ $ C G I B 4 V C 4 ( C Q 4 H x You can change the threshold values for individual tables and indexes You can change the following check conditions in this way: h ' 0 3 ( a 0 3 1 1 3 h # 2 1 c # ) ( a 0 ! g ( 0 3 h ) 0 a 1 ( c # 3 ) 3 h 1 ) 0 ) ' ( e 0 # ( ! ! ) d ! f ( ) ! 0 ( 1 # 0 3 ) 2 h 1 3 ) 1 3 ) # ) 1 ( c Y # h 1 3 ) 1 3 ) # ) 1 ( a 0 3 1 1 3 Default Conditions for Database Operations Condition Severity Description Warning Checks whether the last backup of the offline redo log files with BRARCHIVE failed. Warning Checks whether the last complete backup of the database with BRBACKUP failed. Warning Checks whether the last update of the optimizer statistics with BRCONNECT failed. Warning Checks whether the last DBA operation failed. Warning Checks whether the last successful backup of the offline redo log files with BRARCHIVE is too old. Warning Checks whether the last successful complete backup of the database with BRBACKUP is too old. Warning Checks whether the last successful update of the optimizer statistics with BRCONNECT is too old. Warning Checks whether the last successful DBA operation is too old. d c 3 # ( b 3 # ( ) 1 # c d c 3 # ( 2 Y # ( ) 1 # c d c 3 # ( 1 ) # ) 1 ( ) 1 # c d c 3 # ( 0 ! c 3 ! c ! # ( c ! ! ) ( c ( ! ! 2 ( ! ( ) ) ! ! ! ( ) ! b ( ! 0 ! ) 1 Y ( 3 ) 3 2 ) ! ( # 1 # # ) # c # ) 1 2 ! Since the test conditions for database operations are programmed in a specific way in BRCONNECT (known as built-in test conditions), no new check conditions can be added to the table. However, this is generally not necessary because other operations can be monitored by the and check conditions, or by specifying function IDs in the field. # ! d c ! ( ! ! ) ( 0 ! 3 ) # 2 ! c 3 # ( 0 # ! 3 # ) # 2 ! ( ) 1 # c 2 Critical Database Messages in the Oracle Alert File p y t ‡ † € Health 16]. 29 q p v … t ƒ p „ ƒ ‚  € x p y t x x p w p v u t s r q p p i
  • 30. Oracle Database Monitors and Tools February 2012 You can enter any Oracle error code or error text as a condition name for this condition type. BRCONNECT searches the Oracle Alert log for corresponding Oracle error messages and might then generate alert messages. BRCONNECT Default Conditions for Database Profile Parameters These test conditions check the values of Oracle parameters. The standard test conditions for the database profile correspond to the current SAP recommendations described in SAP Note 830576 for Oracle 10g and in SAP Note 1431798. You can easily adjust the test conditions for the database profile parameters, depending on the changed recommendations and for new Oracle releases. 30
  • 31. Oracle Database Monitors and Tools February 2012 ADDITIONAL DOCUMENTATION SAP Library You can find more information on Oracle database administration and the contents of this document in the SAP Library as follows: All paths refer to SAP NetWeaver 7.3. 1. Call up the SAP Help Portal at help.sap.com/nw73 o Application Help o SAP Library: English. 2. Choose SAP NetWeaver Library: Function-Oriented View o Database Administration o Database Administration for Oracle. 3. Choose one of the following: SAP Database Guide: Oracle CCMS: Oracle 5 5 You can also find these plus selected extracts from the SAP Library at: www.sdn.sap.com/irj/sdn/ora o SAP on Oracle Knowledge Center o SAP Documentation in Help Portal SAP Notes You can find more information on the contents of this document in the following SAP Notes: x 483856 Description of the Alerts for Oracle Database Monitoring x 426781 Corrections in the Oracle Database Monitoring x 483659 BRCONNECT Support for Oracle Monitoring in RZ20 You can find SAP Notes at: service.sap.com/notes 31
  • 32. www.sap.com © Copyright 2012 SAP AG. All rights reserved No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studio are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, z10, z/VM, z/OS, OS/390, zEnterprise, PowerVM, Power Architecture, Power Systems, POWER7, POWER6+, POWER6, POWER, PowerHA, pureScale, PowerPC, BladeCenter, System Storage, Storwize, XIV, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, AIX, Intelligent Miner, WebSphere, Tivoli, Informix, and Smarter Planet are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the United States and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are trademarks or registered trademarks of Adobe Systems Incorporated in the United States and other countries. Oracle and Java are registered trademarks of Oracle and its affiliates. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems Inc. HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-Touch, Objective-C, Retina, Safari, Siri, and Xcode are trademarks or registered trademarks of Apple Inc. IOS is a registered trademark of Cisco Systems Inc. RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl, BlackBerry Torch, BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook, and BlackBerry App World are trademarks or registered trademarks of Research in Motion Limited. Google App Engine, Google Apps, Google Checkout, Google Data API, Google Maps, Google Mobile Ads, Google Mobile Updater, Google Mobile, Google Store, Google Sync, Google Updater, Google Voice, Google Mail, Gmail, YouTube, Dalvik and Android are trademarks or registered trademarks of Google Inc. INTERMEC is a registered trademark of Intermec Technologies Corporation. Wi-Fi is a registered trademark of Wi-Fi Alliance. Bluetooth is a registered trademark of Bluetooth SIG Inc. Motorola is a registered trademark of Motorola Trademark Holdings LLC. Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH.