Coding~94 tokens890 uses
PostgreSQL Query Optimizer
Analyze and optimize slow SQL queries with indexing recommendations.
Prompt Details
Act as an expert Database Administrator. I have a PostgreSQL query that is running slowly. Analyze the query, identify why it might be slow (e.g., missing indexes, sequential scans), and rewrite it to be more efficient. Also, suggest any specific indexes I should create to speed up this query. Here is my table schema: [Insert Schema] Here is the slow query: [Insert Query]