Home / Companies / PlanetScale / Blog / Post Details
Content Deep Dive

Introducing schema recommendations

Blog post from PlanetScale

Post Details
Company
Date Published
Author
Taylor Barnett, Rafer Hazen
Word Count
1,252
Language
English
Hacker News Points
11
Summary

PlanetScale has introduced Schema Recommendations, an upgrade to its built-in MySQL database monitoring tool. This feature provides tailored recommendations for improving database performance, reducing memory and storage usage, and optimizing schema based on production database traffic. The Schema Advisor system analyzes query-level telemetry data to generate DDL statements that can be directly applied to a database branch and then deployed to production. Currently, four types of schema recommendations are supported: adding indexes for inefficient queries, removing redundant indexes, preventing primary key ID exhaustion, and dropping unused tables. These recommendations aim to enhance the overall efficiency and performance of databases on PlanetScale.