Database network statistics (SQL*NET)


Job details

Name: Database network statistics (SQL*NET)
Platform: Oracle
Category: Performance
Description: Checks database network SQL*NET statistics.
Long description: Task checks database network SQL*NET statistics.
Version: 2.0
Default schedule: 7,17,27,37,47,57 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘oracle’]/.[hasengine=‘YES’ & maj_version > ‘8′]

Parameters

Name Default value Description
keep data for 14 The amount of days the statistics are kept in the history table.

Job Summary

select * from dbw_sqlnet;
select * from dbw_sqlnet_name;
select * from dbw_network_traffic_hist;
select * from dbw_sqlnet_histr;

Job Components

Dependencies

Dependency Object Type Description
sqlnet_stat 2 Self dependency required for the task’s operation
dbw_sqlnet 0 Dependency on main table holding statistics
dbw_sqlnet_name 0 Holds the names of the SQL*Net statistics tracked
dbv_sqlnet_roundtrips_histr 1 Base view for roundtrip statistics data visualization
dbw_network_traffic_hist 0 Historic table for network traffic data
dbv_sqlnet_bytes_histr 1 Base view for bytes statistics data visualization
dbw_sqlnet_histr 0 History table for maintaining detailed SQL*Net statistics over time

Tables and Views

create table dbw_sqlnet(STATISTIC# NUMBER,value number,h_date date)
create table dbw_sqlnet_name(STATISTIC# NUMBER, NAME VARCHAR2(64))
create table dbw_network_traffic_hist(HISTORY_DATE DATE, NAME VARCHAR2(64), VALUE NUMBER)
create table dbw_sqlnet_histr (HISTORY_DATE date, EXECUTION_COUNTER number, STATISTIC# number, value number, diff_value number, period number)
create or replace view dbv_sqlnet_bytes_histr(name, diff_value, h_date) as select t1.name, round(((t2.diff_value/1048576)/t2.period)*60, 2), t2.history_date from dbw_sqlnet_name t1, dbw_sqlnet_histr t2 where t1.statistic# = t2.statistic# and t2.period > 1 and t1.name like 'bytes%'
create or replace view dbv_sqlnet_roundtrips_histr(name, diff_value, h_date) as select t1.name, round((t2.diff_value/t2.period)*60), t2.history_date from dbw_sqlnet_name t1, dbw_sqlnet_histr t2 where t1.statistic# = t2.statistic# and t2.period > 1 and t1.name like 'SQL%'

Procedure Assumptions

Execution and Reporting

This job setup ensures continuous monitoring and historical data capturing, facilitating detailed analysis of network performance for Oracle databases managed by dbWatch Control Center.