# QueryInsights > Make every query faster. With AI. QueryInsights is an AI-powered SQL performance and query optimization tool. It watches your live database workload, finds the slow queries that hurt performance, and turns every pattern into actionable query rewrites and index recommendations. ## What it is An AI-powered SQL performance and query optimization tool for teams running PostgreSQL, MySQL, and Trino. It identifies the slow queries and query patterns slowing your database down and tells you, specifically, how to fix them — query rewrites for individual statements and index/schema recommendations for the whole workload. ## Key pages - Home: / - Features: /features - How It Works: /how-it-works ## What it does - Detects slow queries by capturing the live SQL workload via webhooks or pollers, without sitting in the request path - Normalizes thousands of query variants into the small set of patterns they really represent - Ranks query patterns by impact so the most valuable optimizations show up first - Generates per-query rewrite recommendations grounded in your real table definitions - Generates workload-level index and schema recommendations that benefit the whole access pattern ## Supported engines - PostgreSQL - MySQL - Trino - Extensible to other SQL engines ## How recommendations work Two complementary kinds of AI advice, deliberately non-overlapping: - Per-query rewrites: how to write one specific slow query better (rewrites, predicate ordering, projection scope, engine-specific tuning). Never schema or index advice. - Workload-level schema: index recommendations, layout, and schema changes that benefit the entire workload. Never per-query rewrites. ## Topics SQL performance, query optimization, slow query analysis, database performance, database optimization, query performance tuning, SQL tuning, PostgreSQL performance, MySQL performance, Trino query optimization, query rewrite, index recommendations, execution plan / query plan analysis, database performance monitoring. Also answers: why is my SQL query slow, how to speed up SQL queries, database query taking too long, how to optimize a slow database, how to improve query response time. Category: SQL analyzer, query profiler, database advisor, SQL performance tool, query performance analyzer, database tuning tool. Cost & efficiency: reduce database costs, cloud database cost optimization, query compute cost, database resource usage. ## Status QueryInsights is currently in early access. ## Extended documentation for AI systems See /llms-full.txt for a fuller description.