Session load


Job details

Name: Session load
Platform: Sybase
Category: Performance
Description: Shows session statistics.
Long description:
Version: 1.1
Default schedule: 0,10,20,30,40,50 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sybase’]/instance[maj_version > ‘11′ & hasengine=‘YES’]

Parameters

Name Default value Description
keep data for 7 The number of days to keep the data for.

Job Summary

SELECT spid, status, hostname, program_name, cmd, cpu, loggedindatetime FROM master.dbo.sysprocesses WHERE suid != 0 ORDER BY status DESC

Tables and Stored Procedures Creation

Table Name Description
dbw_session_load_histr Holds records for the total and active number of processes captured periodically.
dbw_session_load_aggr_histr Aggregated session statistics used for reporting and historical analysis.

Dependency Tables

Object Object Type Description Clean-up on Fail
dbw_session_load 2 Main dependency to itself. Yes
dbw_session_load_histr 0 Dependency table for session data. Yes
dbw_session_load_aggr_histr 0 Dependency table for aggregated session data. Yes
master.dbo.sysprocesses 4 SQL Server system table for current sessions. No

Reporting and Visualization

Report Section Visualization Type Description
Session details List/Table Displays current sessions and their statuses.
Session load over time Line/Bar Chart Graphical representation of session counts over time.
Aggregated session statistics Line/Bar Chart Shows daily max, min, and avg session counts.

Execution Details