PlanetScale's managed MySQL offering now includes automatic optimization of B-tree index lookups through the Adaptive Hash Index (AHI). This feature dynamically builds in-memory hash indexes based on observed query patterns, accelerating frequently accessed data retrieval. The AHI operates on top of the InnoDB buffer pool, and its effectiveness is dependent on sufficient buffer pool size. Users can enable or disable this feature via the `innodb_adaptive_hash_index` configuration option.
All PlanetScale trails