Session load Rac


Job details

Name: Session load Rac
Platform: Oracle
Category: Cluster and Replication
Description: Records the number of active sessions over time (RAC only).
Long description: Task records the number of active sessions over a period of time (RAC only). Can be configured to give alarms/warnings if the number of total sessions exceeds threshold values.
Version: 2.8
Default schedule: 5,10,15,20,25,30,35,40,45,50,55 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & iscluster=‘1′ & ten_and_above=‘1′ & _priv_read_gv_session = ‘1′]

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 instance_name as "Instance name", number_of_processes_total as "Total processes", histr_date as "History date" from schema.dbw_session_load_rac_histr hist, gv$instance inst where inst.inst_id=hist.inst_id order by 3;

Job Descriptions and Details

Tables and Stored Procedures

Description SQL Code
Create historic tables for session information bc. CREATE TABLE dbw_session_load_rac_histr (inst_id number, number_of_processes_total number, number_of_processes_active number, histr_date date);
Create aggregate historic tables for summarized session data bc. CREATE TABLE dbw_sess_load_aggr_rac_histr (inst_id number, avg_number_of_processes_total number, avg_number_of_processes_active number, max_number_of_processes_total number, max_number_of_processes_active number, min_number_of_processes_total number, min_number_of_processes_active number, histr_date date);
Main procedure to calculate and store session statistics bc. CREATE OR REPLACE PROCEDURE dbw_session_load_rac (taskId number) AS…

Reporting and Visualization

Compatibility and Installation

Upgrade Procedures

Parameter Checks and Historical Data Cleanup

This detailed setup makes dbWatch Control Center a robust tool for managing Oracle RAC sessions, ensuring system stability and performance by proactive monitoring and management of database sessions.