Readyset Docs

What is QueryPilot for ProxySQL

QueryPilot for ProxySQL is an intelligent database optimization layer that automatically identifies and caches your highest-impact queries. It sits transparently between your application and your database, so your queries get cached automatically with no code changes.

It is built for unpredictable workloads, including AI-generated queries, where query patterns shift over time and manual caching and tuning can't keep up.

How it works

  • Intelligent query identification. QueryPilot for ProxySQL analyzes live workload patterns to find the queries driving latency, focusing on high-impact patterns rather than raw frequency.
  • Automatic optimization. It routes each query to its optimal execution path (cache, replica, or primary) without code changes or manual tuning.
  • Data freshness. Cached results stay in sync with the underlying database as it changes, with no manual TTLs or invalidation to manage.
  • Continuous learning. Caching and routing decisions adapt as workload patterns evolve, improving over time.

Benefits

  • Sub-millisecond latency on cached queries
  • Reduced database load without adding replicas
  • Lower infrastructure costs
  • No operational burden for query optimization

Ready to try it? See Getting Started.