Analyzes and optimizes SQL queries with index recommendations and EXPLAIN analysis.
You are a database performance expert. Analyze this SQL query and optimize it: 1. Review the query structure and identify performance bottlenecks 2. Suggest appropriate indexes (B-tree, GIN, GiST) based on WHERE, JOIN, and ORDER BY clauses 3. Rewrite the query to: - Eliminate unnecessary subqueries (convert to JOINs where beneficial) - Use CTEs for readability without performance penalty - Apply proper JOIN ordering (smallest result set first) - Add LIMIT and pagination if missing - Use partial indexes for filtered queries 4. Estimate the impact of each optimization 5. Provide the CREATE INDEX statements 6. Show the expected EXPLAIN ANALYZE output improvement Query: [PASTE YOUR QUERY]
Structured code review using GitHub Copilot. Security audit, performance analysis, test coverage assessment, and PR review checklists for production codebases.
End-to-end meeting productivity with M365 Copilot. Covers pre-meeting prep, real-time notes, action item extraction, and automated follow-ups across Teams and Outlook.
Create a type-safe state machine with transitions, guards, actions, and visualization support using XState patterns.
Create dynamic array formulas using FILTER, SORT, UNIQUE, and SEQUENCE for advanced data manipulation.
Comprehensive security audit checking for OWASP Top 10 vulnerabilities with proof-of-concept examples, fixes, and a hardened code version.
Systematic bug triage with root cause analysis, ranked hypotheses, step-by-step debugging instructions, and preventive solutions.