Session load


Job details

Name: Session load
Platform: Oracle
Category: Performance
Description: Records the number of active sessions over time.
Long description: Task records the number of active sessions over a period of time.
Version: 1.7
Default schedule: 10,30,50 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & (version like ‘8%’ version like ‘9%’)]

Parameters

Name Default value Description
keep data for 14 Number of days to provide statistics for.
exclude dbwatch login YES Exclude the dbwatch login from being collected in history tables.

Job Summary

SELECT COUNT(*) FROM v$session WHERE status = 'ACTIVE';

Job Description

The “Session load” monitoring job within the dbWatch Control Center is designed to gather and maintain historical data about Oracle database sessions, particularly focusing on:

The job is set to execute every 20 minutes (at 10, 30, and 50 minutes past each hour). The recorded session metrics are maintained for a configurable number of days (default is 14 days) and are exclusive of sessions initiated by dbWatch itself, unless configured otherwise.

Job Components and their Functions

Data Tables and Aggregated History Tables

Dependency Management

Pre-implementation Steps

Job Implementation

Reporting Capabilities

The job includes comprehensive reporting features within dbWatch:

Example Reports

Report Title Description
Session statistics Details total and active session trends over the selected period.
Current connections from hosts Lists host machines with the current highest number of sessions.
Current connection per username (schema) Shows which database users are generating the most sessions.
Current application types Highlights the client applications contributing to session counts.
Aggregated Logon history Summarizes daily statistics like average and peak sessions.

This detailed monitoring and reporting setup provided by the “Session load” job are vital in proactive database health checks and performance optimization initiatives, making it a critical component in the arsenal of tools available in the dbWatch Control Center for Oracle databases.