Database optimization plan

GoalCoding · Audit policies, indexes and realtime settings.

Help me plan an infrastructure optimization for [project or database]. Current state: [schema, access patterns and configuration]; for [developers or ops team]. Check row-level security alignment, unused indexes, query plans and realtime subscriptions in order, then output a change list with a way to verify each item. Avoid changes that cannot be rolled back, and do not assume data distributions you were not given.

Open this template in the optimizer →

Placeholders to fill in

  • project or database
  • schema, access patterns and configuration
  • developers or ops team

Placeholders stand for your own facts. Never invent figures, sources or credentials the model was not given.

How to use it

  1. Copy the template, or open the optimizer and it is filled in for you.
  2. Replace every placeholder in brackets with your own material.
  3. Add constraints such as length, audience, tone, and what must not change.
  4. Generate, then refine in three directions and copy the result.

Adapted from the prompts.chat act “Supabase Principal Architect Infrastructure Optimization” (CC0)

More coding goals

Browse other tasks

Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/purpose-supabase-principal-architect-infrastru