Skip to main content

Trend Comparison

On the Trend Comparison screen, you can place two different points in time side by side and compare key metrics and session flows. This helps when comparing the load on an unusual day against a normal one, or comparing before and after a change to see what differed.

Setting Comparison Conditions

At the top of the screen, specify the two points in time and the targets to compare.

ItemDescription
Base DateThe date that serves as the basis for comparison
Comparison DateThe date to compare against the base
InstanceSelect the target node (oname) for the base and the comparison respectively
DatabaseDisplays the databases handled by the selected instance
PresetSave and load frequently viewed chart configurations (Default provided)

If you specify different instances for the base and the comparison, you can also compare different nodes on the same date.

KPI Comparison Charts

Overlays the key metrics of the base time and the comparison time on the same axis, displayed in 5-minute intervals.

MetricDescription
Threads RunningNumber of running threads
ConnectionsNumber of connections
QueriesNumber of queries processed
Successful QueriesNumber of successful queries
Failed QueriesNumber of failed queries
CPUCPU usage
Engine MemoryMemory used by the engine
Disk UsageDisk usage
Network BandwidthNetwork bandwidth

Since each chart overlays the curves of the base and comparison times, you can see at a glance how much the load differed during the same time period.

Note

Engine Memory is the same memory metric as the Memory widget on the instance monitoring screen, labeled for the Trend Comparison screen.

Base and Comparison Session Tables

Below the charts, the session lists of the base time and the comparison time are displayed side by side. When you select a specific time on the time bar above, you can view the sessions collected at that point in time on both sides together.

Both tables use the same columns.

ColumnDescription
instanceThe node where the session was executed. Click to move to the corresponding Instance Monitoring screen
idSession identifier
userThe user who executed the session
hostConnecting host
dbTarget database
commandThe type of command the session is executing (Query, etc.)
runtimeExecution time
stateSession status (executing, etc.)
querySQL being executed
query_paramBound parameter values
typeSession type
connection_typeConnection type

Data Interpretation Guide

CheckpointDescription
Metric spike in the same time periodA period with increased load compared to the comparison time; suspect the impact of a change or event
Failed Queries concentrated on one sideErrors concentrated on a specific date; check correlation with deployments or data changes
Increase in session count and execution timeSuspect a change in query patterns or increased contention; trace the causal query through the session table