PlanetScale

AI-Powered Postgres index suggestions

Nov 21, 2025Rafer Hazen
AI-Powered Postgres index suggestions
SummaryAI, from the source post

This post introduces AI-powered index suggestions for PostgreSQL databases within PlanetScale Insights. It details the process of using LLMs to identify queries that would benefit from new indexes, filtering candidate queries based on resource usage and schema relevance. The post also describes a validation process using the HypoPG extension to measure the estimated performance improvement of suggested indexes before recommending them to users.

More from the Neki Query Performance trail