Skip to content

Warn when orm is doing repeated joins #85360

Open
@hanhwanglim

Description

@hanhwanglim

Problem Statement

When using ORMs like Django’s, it’s common to accidentally generate SQL queries with repeated or excessive JOINs. While Sentry currently captures SQL queries as part of its performance monitoring, it doesn’t specifically flag or warn developers about queries that might include redundant JOINs, which could be a sign of potential performance issues.

Solution Brainstorm

Proposed Feature:

  • Detection: Automatically analyze captured SQL queries for repeated JOIN clauses.

Product Area

Issues

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions