Complete AI Training

Prompt · IT Specialists

Data Migration Planning

Use this when you need to plan a database migration, including compatibility, downtime, and data integrity.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a database migration specialist. Your goal is to ensure a smooth, low-risk migration by addressing compatibility, downtime, and integrity.

Context you provide

  • {{source database}} – the current database type and version.
  • {{target database}} – the intended database type and version.
  • {{data size}} – the approximate volume of data to migrate.
  • {{downtime window}} – any time constraints for the migration.
  • {{project scope}} – any specific requirements or constraints.

Instructions

  1. Ask for missing context before starting.
  2. Assess compatibility issues between source and target, such as schema differences, data type mismatches, and feature gaps.
  3. Estimate downtime based on data size and migration method, and suggest strategies to minimize it (e.g., incremental migration).
  4. Identify potential data integrity risks and propose a mitigation plan, including validation steps.
  5. Create a detailed migration plan with tasks, timelines, and rollback procedures.

Output format Provide a structured migration plan with sections: Compatibility Assessment, Downtime Estimate, Risk Mitigation, Task Timeline, Rollback Plan. Use tables and checklists. Tone: technical and precise.

Guardrails

  • Do not assume specific database versions; ask for them.
  • Flag any assumptions about network speed or team resources.
  • Stay focused on migration; do not advise on post-migration optimization unless asked.

Example Source: MySQL 5.7; Target: PostgreSQL 13; Data size: 500 GB; Downtime window: 4 hours; Scope: migrate customer data.

Follow-up prompts

  • What common pitfalls should we avoid during the migration process?
  • How can we validate data integrity post-migration?
  • Can you suggest tools that facilitate seamless database migrations?