QuerySentinel

SQL QueryOptimiser

Visit
QuerySentinel banner

About

## The problem it solves

QuerySentinel solves the problem of slow and inefficient SQL queries in database-driven applications. In real-world systems, developers and database administrators often struggle to identify why a query is slow, whether the problem is caused by inefficient SQL, missing indexes, expensive joins, sequential scans, or poor query plans, and what optimization would actually improve performance. QuerySentinel acts as an AI-powered database performance assistant that analyzes workloads, identifies problematic queries, examines their execution plans and schema, detects performance bottlenecks, and recommends optimized SQL queries or indexing strategies. It also estimates the potential performance improvement and associated storage/write costs, while keeping the final optimization under human approval. Thus, instead of merely telling developers that a query is slow, QuerySentinel explains why it is slow and what can be done to make it faster safely and efficiently.

## Challenges we ran into

### Challenges We Ran Into

During the development of QuerySentinel, we faced several challenges, particularly in **accurately detecting inefficient SQL queries and generating reliable optimization recommendations**. Handling different database schemas and SQL query structures was challenging because queries can behave differently depending on the data and execution plan. We also faced difficulties in **analyzing query plans, identifying the actual root cause of performance bottlenecks, and balancing optimization with the cost of indexes and database writes**. Integrating AI agents for SQL rewriting and optimization while ensuring that the generated queries remain syntactically correct and safe was another major challenge. Additionally, designing a system that provides useful recommendations without automatically making potentially risky changes to the production database required a strong **human-in-the-loop safety mechanism**.

Team

From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.