check_performance_patterns
Analyze SQL text to detect performance anti-patterns and BSG standard violations, returning categorized results sorted by severity from CRITICAL to LOW.
Instructions
Detects SQL anti-patterns and performance bad practices against BSG standards. Returns categorized violations sorted by severity (CRITICAL > HIGH > MEDIUM > LOW).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | The SQL text to analyze for performance anti-patterns | |
| context | No | Context filter: run only patterns applicable to this object type. ALL runs every pattern. | ALL |