Building safety tooling for risk-free AI tuning of Postgres | POSETTE: An Event for Postgres 2026

Mohsin Ejaz explains how to build safety tooling and guardrails for automated, AI-driven PostgreSQL tuning, focusing on monitoring, validation, and risk controls so performance improvements don’t come at the cost of outages or regressions.

Overview

This POSETTE 2026 talk covers how to approach AI-assisted PostgreSQL tuning safely, with an emphasis on building a strong “safety net” so automated tuning can explore performance improvements without putting production stability at risk.

Key themes include:

Topics highlighted in the session

Testing across environments and workloads

Five key challenges in AI tuning

Memory pitfalls and OOM risks

Exploration trade-offs and search strategy

Confidence and statistical validation

Parameter interactions and ripple effects

Evaluating AI tools without blind trust

Safety-first design principles