For a tool for analyzing database query performance, the first results are xiaomi/soar, meituan-dianping/sqladvisor and ankane/pghero (PgHero is a PostgreSQL performance dashboard that analyzes query performance, detects slow queries, tracks historical trends, and identifies missing indexes — it squarely fits the query-profiler category, though it lacks multi-database support PostgreSQL only). hhyo/archery and percona/percona-toolkit round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
We curate open-source GitHub repositories matching “query performance analyzers”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.
Soar is a suite of specialized tools designed for analyzing MySQL performance, advising on indexing, and optimizing SQL syntax. It functions as a performance analyzer, index advisor, and query optimizer to identify bottlenecks and suggest structural improvements for faster execution. The project distinguishes itself through a system for rewriting SQL statements into optimized equivalent versions using custom heuristic rules and patterns. It also features a dedicated index advisor that evaluates query patterns and database metadata to recommend the creation of new indexes. Its broader capabil
Soar is a dedicated MySQL performance analyzer, index advisor, and SQL optimizer that covers execution plan analysis, slow query detection, and optimization suggestions, but it does not support databases other than MySQL, so it fits your need for a query profiler if you work primarily with MySQL.
SQLAdvisor is a database performance tuner and index recommendation tool designed to reduce query latency. It functions as a query optimizer that analyzes SQL execution patterns to identify missing indexes and provide actionable performance optimization advice. The system focuses on automated index management and database query tuning. It identifies the root causes of slow database responses and recommends the most effective indexes to improve data retrieval speeds. Its capabilities include analyzing SQL parse trees and join patterns, using cost-model and heuristic-based selections to priori
SQLAdvisor is a query performance tuner that analyzes SQL execution patterns to recommend missing indexes, making it a focused tool for database query optimization — it fits the category but is narrower in scope, centered on index advice rather than full execution-plan analysis or multi-database profiling.
PgHero is a performance dashboard and diagnostic tool for PostgreSQL. It provides a web interface for monitoring database metrics, analyzing query performance, and managing active connections across multiple database instances. The project distinguishes itself by recording query and storage statistics over time, enabling historical trend analysis through a time-range slider. It also identifies missing indexes by analyzing query patterns and integrates with cloud provider APIs to retrieve system-level hardware statistics such as CPU and IOPS. The tool's broader capabilities cover process admi
PgHero is a PostgreSQL performance dashboard that analyzes query performance, detects slow queries, tracks historical trends, and identifies missing indexes — it squarely fits the query-profiler category, though it lacks multi-database support (PostgreSQL only).
Archery is a suite of specialized utilities for database schema migration, SQL audit and review, mapping parsing, and performance analysis. It functions as a centralized platform for reviewing, executing, and auditing SQL queries across multiple database environments through controlled workflows. The platform includes a mapping parser that converts XML files into readable SQL statements to simplify the review of application-generated queries. It also provides tools for parsing slow query logs and analyzing execution patterns to optimize database indexes and speeds. The system covers broad da
Archery is a centralized SQL audit and performance analysis platform that parses slow query logs and offers index optimization suggestions across multiple databases, which directly addresses your need for query profiling and optimization, though it is broader than a dedicated profiler.
Percona Toolkit: a collection of advanced open source command-line tools.
Percona Toolkit is a collection of command-line tools for MySQL/MariaDB that includes query profiling (pt-query-digest), index recommendations (pt-index-usage), and slow query detection, fitting the query performance analyzer category, though it is focused on MySQL and lacks built-in real-time dashboards or multi-database support.
Bullet is an Active Record performance monitor and query profiler for Ruby on Rails applications. It serves as a diagnostic utility to identify inefficient database access patterns, flag redundant requests, and suggest eager loading strategies to improve response times. The tool specifically detects N+1 queries, missing counter caches, and unused eager loading. It monitors these patterns across both standard web requests and background jobs, identifying records that are fetched but never accessed to reduce memory usage and query overhead. Analysis is supported by a system that intercepts dat
Bullet is a Rails-specific Active Record query profiler that detects N+1 queries, missing counter caches, and unused eager loading—it fits the intent of analyzing and optimizing database queries, but its scope is limited to Ruby on Rails applications and does not cover execution plan analysis, index recommendations, or multi-database support.
Jailer is a suite of specialized tools for AI-assisted SQL management, referential integrity preservation, and relational data browsing. It provides a system for generating referentially intact database subsets, allowing users to extract consistent slices of relational data while preserving foreign key constraints and dependencies. The project features an AI-driven SQL assistant that uses natural language to generate, optimize, and refactor queries based on database schemas. It also includes a data migration tool that analyzes SQL patterns to reverse engineer models and map associations betwe
Jailer focuses on data subsetting, referential integrity, and AI-assisted SQL generation rather than profiling query execution, so it does not provide the core query performance analysis features like execution plans or slow query detection that this search requires.
Knex is a programmatic SQL query builder for Node.js applications. It provides a unified interface for generating database statements and managing structural versioning through a schema migration tool. The project features a multi-dialect database layer that translates programmatic queries into specific syntax for relational databases including PostgreSQL, MySQL, SQLite3, and MSSQL. This allows for writing database logic that remains compatible across different systems. The system includes infrastructure for managing reusable database connection pools and handling relational transactions to
Knex is a SQL query builder and schema migration tool, not a query performance analyzer — it helps construct queries but does not profile, detect slow queries, or offer optimization suggestions.
ClickHouse is a high-performance, columnar analytical database designed for real-time query execution and large-scale data aggregation. It functions as a distributed data warehouse capable of processing petabytes of information, while also providing an embedded engine that integrates directly into applications for native query capabilities without external dependencies. The system is built to handle high-throughput ingestion and complex analytical workloads, delivering millisecond-level latency for interactive dashboards and operational monitoring. The platform distinguishes itself through ad
ClickHouse is a high-performance analytical SQL database, not a dedicated tool for profiling and optimizing queries across multiple database systems; while it includes some internal query analysis features, its primary identity is a database engine rather than the query profiler you are looking for.
This project is a SQL database abstraction layer that provides a consistent object-oriented interface for interacting with multiple relational database systems. It includes a driver wrapper to standardize connections and result sets, a fluent query builder for constructing portable SQL statements, and a type mapper for converting database-specific data types into native application types and vice versa. The library enables programmatic schema management through a schema manager that can introspect database metadata, model structures as objects, and generate the SQL required to migrate between
Doctrine DBAL is a general-purpose database abstraction layer and query builder, not a query performance profiler — it provides no query execution plan analysis, slow query detection, or optimization suggestions.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| xiaomi/soar | 8.8K | Go | Apache-2.0 | |
| meituan-dianping/sqladvisor | 5.6K | C | GPL-2.0 | |
| ankane/pghero |
| 8.9K |
| Ruby |
| MIT |
| hhyo/archery | 6.9K | Python | Apache-2.0 |
| percona/percona-toolkit | 1.5K | Perl | GPL-2.0 |
| flyerhzm/bullet | 7.3K | Ruby | MIT |
| wisser/jailer | 3.1K | Java | apache-2.0 |
| tgriesser/knex | 20.3K | JavaScript | MIT |
| clickhouse/clickhouse | 48.2K | C++ | Apache-2.0 |
| doctrine/dbal | 9.7K | PHP | MIT |