PostgreSQL
Too many views, functions and triggers
Start with the first prompt. Each one says what proof the agent should bring back and when to skip it.
- Which database objects no longer earn their keep?PromptThe list of views, functions and triggers has grown hard to reason about.
- Are we storing the same truth multiple times?PromptCaches, aggregates, materialized views or derived columns drift from the raw facts.
- Can the schema be easier to understand without losing depth?PromptNew developers or agents keep misunderstanding names, concepts or relationships.
Not quite your problem? See every symptom.