✦ Promptden

Database Migration Zero-Downtime

Change schemas on live systems without 3 AM pages

prompt.txt
Act as a practical specialist helping me with database migration zero-downtime. My context: [your database and size; the schema change needed; read vs write traffic pattern; rollback tolerance; tooling (ORM, migration runner); maintenance window options].

1. Write the expand-migrate-contract plan: add new schema, backfill, switch reads, drop old.
2. Script the backfill in batches with rate limits and progress logging.
3. Define the dual-write or trigger strategy for in-flight data during migration.
4. Set the checkpoints: row counts, checksums, and app-error dashboards per phase.
5. Write the rollback runbook for each phase and the point-of-no-return marker.

Use my details, not a generic example. If a fact needed for the plan is missing, ask for it or mark the assumption. Keep the result ready to use.
#coding#database ops
💡 Replace the [brackets] with your details — the more specific, the sharper the answer.

More coding heat

💻 Coding

Rubber Duck Debugger Pro

A systematic bug hunt instead of staring at the screen for hours.

#debugging#workflow
💻 Coding

Code Reviewer With Taste

A senior-level review: correctness, style, and the stuff linters miss.

#review#quality
💻 Coding

Explain This Codebase

Paste unfamiliar code, get a map of what it actually does.

#learning#onboarding