Waiting for PostgreSQL 18 – Add function to get memory context stats for processes

Read Original

A new function in PostgreSQL 18 allows administrators to retrieve detailed memory context statistics from any backend or auxiliary process (like the WAL writer) for debugging under memory pressure. It works by signaling the target process to publish its stats to shared memory, with timeout handling and summary options, extending the existing pg_backend_memory_contexts view to all processes.

Waiting for PostgreSQL 18 – Add function to get memory context stats for processes

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week