Disk block hitrate


Job details

Name: Disk block hitrate
Platform: Postgres
Category: Performance
Description: Checks the hitrate for disk block requests.
Long description: Task checks the hitrate for disk block requests.
Version: 1.4
Default schedule: 0,30 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘postgres’]/.[hasengine=‘YES’]

Parameters

Name Default value Description
warning threshold 50 Will give a warning if the hit ratio falls below this value (in %).
alarm threshold 25 Will give an alarm if the hit ratio falls below this value (in %).
keep data for 7 The number of days to keep the data for.

Job Summary

SELECT db_name, (hits / requests) * 100 AS hit_ratio FROM dbw_disk_block_hitrate_last;

Job Configuration Overview

Thresholds

Data Retention

Dependencies and Implementation Details

Tables and Functions

Table Name Purpose
dbw_disk_block_hitrate_histr Stores historical data of disk block hitrate per database
dbw_disk_block_hitrate_last Stores the most recent snapshot of hitrate data for comparison and future checks

Monitoring Reports

Report Chart Title Description Data Points
Disk block hitrate Displays the hitrate for each database over time through a graph Hit Ratio (%) by Date
Disk block reads Shows the number of physical disk block read operations, segmented by database Disk Block Reads by Date

Additional Notes