Network statistics


Job details

Name: Network statistics
Platform: Mariadb
Category: Performance
Description: This job collects the number of bytes received and sent from all clients.
Long description: This job collects the number of bytes received and sent from all clients.
Version: 1.1
Default schedule: 1,6,11,16,21,26,31,36,41,46,51,56 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & is_mariadb_branch=‘1′]/.[hasengine=‘YES’ & global_status_performance_schema = ‘0′ & global_status_information_schema = ‘1′ ]

Parameters

Name Default value Description
history threshold 7 The maximum number of day to keep statistics for in the history tables.
threshold (time) 15 A period of time (in minutes) the network statistics are calculated for (default 15 minutes)

Job Summary

SELECT bytes_received, bytes_sent FROM dbw_network_statistics_last;

Job Details

Job Objective

The job’s core function is to track the volume of network traffic (bytes sent and received) to gauge the instance’s performance. It helps in understanding the bandwidth usage patterns and ensures that the database does not suffer from under-provisioning or overloading due to network traffic.

How It Functions

Tables and Procedures Created:

Table/Procedure Name Purpose
dbw_network_statistics_histr Stores historical data of bytes sent and received over time including differential calculation.
dbw_network_statistics_last Temporarily holds the last recorded bytes sent and received.
dbw_network_statistics Main procedure used to process and compile statistics for reporting and performance checks.

Key Metrics Tracked

Rationale for Using This Monitoring Job

This job is significant because it enables:

Cleaning Up

Reporting Features

Report Overview

Presentation In Report

Statistic Description
Average Network Traffic Per Minute Displays a graphical representation of MB per minute for both received and sent data over the last 24 hours.
Detailed Timestamped Data Lists out exact figures of data sent and received along with the respective timestamps.

This formatted and structured reporting helps in visualizing trends and understanding peak usage times, which is crucial for resource management and planning.