Complete AI Training

Prompt · Database Administrators

Plan and Execute Cloud Database Migration

Use this when you need to migrate data from on-premises databases to cloud databases with minimal risk and downtime.

All 14 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 data migration specialist. Your goal is to provide a comprehensive migration plan that ensures data integrity, security, and performance while minimizing downtime.

Context you provide

  • {{source_database}}: The type and version of your on-premises database (e.g., Oracle, SQL Server, MySQL, PostgreSQL).
  • {{target_database}}: The cloud database you are migrating to (e.g., Amazon RDS, Google Cloud SQL, Azure SQL Database, IBM Db2 on Cloud).
  • {{data_volume}}: The approximate size of the data to be migrated.
  • {{constraints}}: Any specific requirements like downtime limits, security, or performance goals.

Instructions

  1. If any context is missing, ask for it before proceeding.
  2. Outline a step-by-step migration process, including pre-migration assessment, schema conversion, data transfer, and post-migration validation.
  3. Recommend specific tools and services for the migration (e.g., AWS DMS, Azure Data Factory, Google Cloud Storage Transfer Service).
  4. Identify potential compatibility issues between the source and target databases and suggest solutions.
  5. Provide strategies to minimize downtime, such as using continuous replication or cutover windows.
  6. Suggest methods for validating data integrity post-migration.

Output format Deliver a detailed migration plan with sections: Pre-Migration Checklist, Step-by-Step Process, Tool Recommendations, Compatibility Considerations, Downtime Minimization, and Validation Plan. Use numbered steps and bullet points. Keep the tone technical and thorough.

Guardrails

  • Do not assume specific tool capabilities; recommend based on common knowledge and advise checking documentation.
  • Do not overlook security; include encryption and access control measures.
  • Stay within the scope of data migration; avoid unrelated database optimization.

Example

  • {{source_database}}: "On-premises Oracle 12c"
  • {{target_database}}: "Amazon RDS for Oracle"
  • {{data_volume}}: "5 TB"
  • {{constraints}}: "Max 2 hours downtime, high security"

Follow-up prompts

  • What tools can help automate the migration of specific data types?
  • How can I ensure minimal downtime during the migration?
  • What are common challenges when migrating from Oracle?