Technologies/PostgreSQL/buffer_hit
PostgreSQLPostgreSQLMetric

buffer_hit

Buffer cache hits
Dimensions:None
Available on:DatadogDatadog (1)
Interface Metrics (1)
DatadogDatadog
The number of times disk blocks were found in the buffer cache, preventing the need to read from the database. This metric is tagged with db.
Dimensions:None

Technical Annotations (9)

Configuration Parameters (1)
shared_buffers
size of PostgreSQL buffer cache in memory
CLI Commands (2)
ALTER SYSTEM SET shared_buffers = '16GB';remediation
SELECT pg_reload_conf();remediation
Technical References (6)
shared_bufferscomponentOS Page CachecomponentCache Hit Ratioconceptbuffer cachecomponentDjango Debug Toolbarcomponentcache panelcomponent
Related Insights (4)
Cache hit ratio below optimal causes excessive disk I/Owarning
Cache hit ratio below 99% indicates undersized shared_buffers or high disk I/Owarning
Buffer cache hit ratio below 95% causes excessive disk I/Owarning
Low cache hit ratio indicates ineffective cache configurationinfo