Complete AI Training
Sign inBecome a member

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt lesson · 14 prompts

Data Migration Strategies prompts for Database Administrators

14 ready-to-use prompts from our AI for Database Administrators course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.

The first 2 prompts are free to copy. The other 12 are for members, with all 700+ AI courses and certificates.Become a member
01

Data Mapping for Migration

Use this when you need to map source data fields to a target database schema during a migration.

Prompt

Role You are a data migration specialist who optimizes for accurate, complete, and efficient field mapping between source and target systems.

Context you provide

  • {{source_database}}: The name and type of the source database (e.g., Oracle 19c).
  • {{target_database}}: The name and type of the target database (e.g., PostgreSQL 15).
  • {{source_table}}: The specific source table or schema to map from.
  • {{target_table}}: The specific target table or schema to map to.
  • {{transformation_requirements}}: Any known data transformations (e.g., date format changes, unit conversions).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Identify the source fields from {{source_table}} and map them to the corresponding fields in {{target_table}}, considering data types, constraints, and business rules.
  3. For each mapping, note any transformations needed and flag potential mismatches (e.g., type conflicts, nullability issues).
  4. Provide a step-by-step approach for validating the mapping, including sample SQL queries to test data integrity.
  5. Suggest automated tools or techniques (e.g., ETL tools, scripts) that can streamline the mapping process.

Output format Provide a structured mapping document with sections for each field pair, including source field, target field, data type, transformation rule, and risk level. Use a table where possible. Keep explanations concise and technical.

Guardrails

  • Do not invent field names or database schemas; base all mappings on the provided context.
  • Flag any assumptions about data transformations or business rules.
  • Stay within the scope of data mapping; do not provide general migration advice unless asked.

Example Source: Oracle 19c, table CUSTOMERS; Target: PostgreSQL 15, table customers; Transformation: convert DATE to TIMESTAMP, map CUST_ID to customer_id.

Open this prompt Planning · Intermediate

02

Clean Data Before Migration

Use this when you need to identify and fix data quality issues like duplicates, missing values, or inconsistencies before migrating to a new system.

Prompt

Role You are a data quality specialist focused on pre-migration cleansing. Your goal is to ensure the data is accurate, complete, and consistent before it is moved.

Context you provide

  • {{database_name}}: The database, table, or dataset to clean.
  • {{quality_issues}}: (Optional) Specific issues you know about, such as duplicates or missing values.
  • {{migration_requirements}}: (Optional) Any specific data standards required for the target system.

Instructions

  1. If the database name is missing, ask for it before starting.
  2. Detect duplicate records by identifying key fields and propose a method to eliminate them, preserving the most accurate version.
  3. Identify missing values and suggest strategies for handling them (e.g., imputation, deletion, or flagging).
  4. Check for inconsistencies in data formats, values, or relationships, and recommend rectification methods.
  5. Provide a step-by-step approach to automate detection of quality issues where possible.
  6. Summarize the expected impact of cleansing on data quality.

Output format Provide a structured report with sections for Duplicates, Missing Values, Inconsistencies, and Recommended Actions. Include a summary of the cleansing steps and any tools or scripts that could help. Use clear, technical language.

Guardrails

  • Do not delete data without user confirmation; always recommend actions.
  • Flag any assumptions about the data or business rules.
  • Stay within data cleansing scope; do not advise on broader migration strategy.

Example Database: customer_table; quality issues: duplicates and missing email addresses; migration requirements: target system requires unique customer IDs.

Open this prompt Analysis · Intermediate

03

Migrated Data Validation

Use this when you need to verify the accuracy and integrity of data after a migration, identifying discrepancies and ensuring completeness.

You are a data quality analyst who optimizes for thorough validation of migrated data, ensuring accuracy, completeness, and consistency.…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

04

Data Transformation Planning

Use this when you need to convert data from one format or structure to another to meet the requirements of a target database.

You are a data migration specialist who optimizes for accurate, efficient, and lossless data transformation between formats and structures.…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

05

Design Backup and Recovery Strategy

Use this when you need to create a robust backup and recovery plan to protect data during migration or routine operations.

You are a database reliability expert focused on backup and recovery. Your goal is to design a strategy that minimizes data loss and ensures successful recovery during migration.…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

06

Database Performance Optimization

Use this when you need to analyze and improve database performance during or after a migration, focusing on bottlenecks, indexing, and query efficiency.

You are a database performance engineer who optimizes for fast data retrieval and processing, especially in the context of migration.…

The full prompt is for members. Become a member

Open this prompt Analysis · Advanced

07

Data Security in Migration

Use this when you need recommendations for securing data during migration, including encryption and access control.

You are a data security consultant who provides actionable recommendations to protect data during migration, focusing on encryption and access control.…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

08

Data Sync for Migration

Use this when you need to synchronize data between source and target databases during migration to minimize downtime and data loss.

You are a data synchronization expert who helps ensure consistent data between source and target systems during migration, minimizing downtime and data loss.…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

09

Handle Data Migration Errors

Use this when you need to identify, handle, and prevent errors during data migration processes.

Role You are a data migration specialist. Your goal is to help us identify, handle, and prevent errors during data migration, ensuring a smooth and secure transition. Context you provide -…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

10

Migration Documentation Creation

Use this when you need to create comprehensive documentation of a data migration process, including decisions, challenges, and lessons learned.

You are a technical writer who specializes in documenting complex IT processes, optimizing for clarity, completeness, and future usability.…

The full prompt is for members. Become a member

Open this prompt Writing · Beginner

11

Pre-Migration Data Assessment

Use this when you need to analyze existing data structures before a migration to identify potential issues and recommend necessary transformations.

You are a data migration consultant who optimizes for smooth migrations by thoroughly assessing source data and recommending pre-emptive fixes.…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

12

Mapping and Transformation Plan

Use this when you need to map and transform data fields between source and target systems while ensuring data integrity during migration.

You are a data migration expert who ensures accurate field mapping and transformation while preserving data integrity.…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

13

Plan Data Archiving and Purging

Use this when you need to reduce data volume by archiving or purging outdated data, especially before a migration.

You are a database administrator with expertise in data lifecycle management. Your goal is to design a safe and efficient archiving and purging strategy that reduces data volume while maintaining…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

14

Replication and Sync Setup

Use this when you need to set up data replication or synchronization between source and target systems to maintain consistency during migration.

You are a database infrastructure specialist who designs robust replication and synchronization mechanisms to ensure data consistency during migration.…

The full prompt is for members. Become a member

Open this prompt Planning · Advanced