Entering content frame

Function documentation Overview of Database Events Locate the document in the library structure

Use

The following types of events exist:

·        Events that are always active and cannot be changed

·        Events that you can activate/deactivate and change

Every event belongs to an event category.

Some events have one or more variable values (VALUE1, VALUE2) that the Event Dispatcher can evaluate. If VALUE1 and/or VALUE2 for an event are undefined (constant or random value without meaning for the user), then they are marked with a "-". If the database system does not issue a TEXT for an event, then this is also marked with a “-“.

Events that Are Always Active (Cannot Be Changed or Deactivated)

Event category

PRIORITY

VALUE1

VALUE2

TEXT

Description

ADMIN

LOW

-

-

-

The system sends this event when the database instance has been transferred to the ADMIN operational state.

AUTOSAVE

LOW

0 (The task that executes the automatic log backup has been started.)

1 (The task that executes the automatic log backup has been stopped.)

2 (Automatic log backup has been activated.)

3 (Automatic log backup has been deactivated.)

-

Only for VALUE1=1: File name of the backup medium

The system sends this message when the status of the automatic log backup changes.

BACKUPRESULT

LOW

-

-

-

Not yet implemented

CHECKDATA

LOW

-

-

Error number (if the system finds an error during the check)

0 (if the system finds no error)

The system sends this event when it has completed the database structure check (CHECK DATA or CHECK DATA WITH UPDATE).

DATABASEFULL

HIGH

-

-

-

The systems sends this event at regular intervals if the data area of the database instance is 100% full.

Note that the system only sends this event in the ONLINE operational state and during a restart of the database instance.

To continue operation, add a data volume.

ERROR

HIGH

Return value

-

Error text

The system sends this event when it has entered an error in the kernel log knldiag.

EVENT

LOW

-

-

-

The system sends this event when the event configuration has been changed.

LOGFULL

HIGH

-

-

-

The system sends this event when the log area of the database instance is 100% full.

To continue operation, execute a log backup.

LOGSEGMENTFULL

LOW

-

-

-

The system sends this event when a log segment of the log area is full.

ONLINE

LOW

-

-

-

The system sends this event when the database instance has been transferred to the ONLINE operational state.

OUTOFSESSIONS

MEDIUM

-

-

Out of Sessions

The system sends this event when all available user tasks are in use (no further users can log on to the database instance).

SYSTEMERROR

HIGH

-

-

Return value

The system sends this event when a serious system error has occurred (error messages -9000 through -9999).

UPDSTATWANTED

LOW

-

-

UPDATE STATISTICS WANTED

The system sends this event when the SQL Optimizer statistics for at least one table need to be updated.

Events that you can activate/deactivate and change

Event Category

PRIORITY

Value Range

VALUE1

VALUE2

TEXT

Description

DBFILLINGABOVELIMIT

HIGH (at fill level 95%, 96%, 97%, 98%, 99%) | MEDIUM | (at fill level 80%, 85%, 90%) LOW (at fill level 70%)

0 ≤ n ≤ 99

Number of used pages in the data area

Percentage of used pages in the data area

-

The system sends this event when the fill level of the data area exceeds the predefined value.

In addition, for each time the fill level is exceeded by between 0% and 99%, you can define an event with its own priority.

You can also override the priorities of the predefined events.

DBFILLINGBELOWLIMIT

LOW (default value; at fill level 70%, 80%, 85%, 90%, 95%) | MEDIUM | HIGH

 

1 ≤ n ≤ 100

Number of used pages in the data area

Percentage of used pages in the data area

-

The system sends this event when the fill level of the data area falls below the predefined value.

In addition, for each time the fill level falls below the threshold by between 1% and 100%, you can define an event with its own priority.

You can also override the priorities of the predefined events.

LOGABOVELIMIT

HIGH (at fill level 96%,97%,98%,99%) | MEDIUM (at fill level 90%, 95%) | LOW (at fill level 50%, 75%)

0 < n < 100

Number of used pages in the log area

Percentage of used pages in the log area

-

The system sends this event when the fill level of the log area exceeds the predefined value.

In addition, for each time the fill level is exceeded, you can define an event with its own priority.

You can also override the priorities of the predefined events.

Activities

Database Manager CLI,

·        Displaying a List of Events and Statuses

·        Displaying the List of Event Categories

See also:

Automating Administration Tasks

Database Manager CLI, Using Events of the Database Instance

Event Dispatcher documentation

 

Leaving content frame