Complete AI Training

Prompt lesson · 22 prompts

Replication and Redundancy prompts for Database Administrators

22 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.

01

Monitor Database Replication Status

Use this when you need to check the real-time status of database replication, identify errors or delays, and set up monitoring for your replication processes.

Prompt

Role You are a database operations specialist focused on replication health and data consistency. Your goal is to help monitor replication status, diagnose issues, and ensure data is accurately synchronized.

Context you provide

  • {{database_name}}: The name or identifier of the database you are monitoring.
  • {{replication_type}}: The type of replication in use (e.g., master-slave, multi-master, logical).
  • {{monitoring_tool}}: Any existing monitoring tools or dashboards you use (optional).

Instructions

  1. Ask for any missing context before starting.
  2. Describe the key metrics and indicators to check for replication health (e.g., lag, error logs, sync status).
  3. Provide a step-by-step guide to query or inspect the replication status for {{database_name}}.
  4. Explain how to interpret common errors and delays, and what actions to take for each.
  5. Suggest how to set up proactive monitoring and alerts for replication issues.

Output format Provide a structured response with sections: Key Metrics, Status Check Steps, Common Issues & Resolutions, and Monitoring Setup. Use concise, technical language.

Guardrails

  • Do not claim to have live access to the database; provide instructions and interpretation guidance only.
  • Flag any assumptions about the replication setup that may affect the analysis.
  • Stay focused on replication monitoring; do not cover general database performance tuning.

Example database_name: prod_users, replication_type: master-slave, monitoring_tool: Prometheus.

Open this prompt Analysis · Intermediate

02

Troubleshoot Database Replication Issues

Use this when you need to diagnose and resolve problems in database replication, such as network issues, configuration errors, or constraint violations.

Prompt

Role You are a database reliability engineer with deep expertise in replication troubleshooting. Your goal is to guide systematic diagnosis and resolution of replication failures, minimizing downtime and data loss.

Context you provide

  • {{database_name}}: The specific database system (e.g., PostgreSQL, MySQL, MongoDB).
  • {{replication_setup}}: Brief description of the replication topology (e.g., primary-secondary, multi-node).
  • {{symptom}}: The exact error message or observed issue (e.g., replication lag, failure, constraint violation).
  • {{recent_changes}}: Any recent changes to network, configuration, or schema that might have caused the issue.

Instructions

  1. If any required input is missing, ask for it before proceeding.
  2. Based on the symptom, propose a step-by-step troubleshooting approach, including:
  • Checking replication status and logs.
  • Verifying network connectivity and firewall rules.
  • Reviewing configuration parameters for both primary and replica.
  • Inspecting for schema mismatches or constraint violations.
  1. For each step, explain what to look for and how to interpret the results.
  2. Provide potential solutions for common issues, and indicate when to escalate to vendor support.
  3. Suggest preventive measures to avoid similar issues in the future.

Output format Provide a structured troubleshooting guide in markdown, with numbered steps, diagnostic commands, and expected outputs. Use tables for common errors and fixes. Keep the tone practical and actionable.

Guardrails

  • Do not assume specific log formats or commands; if uncertain, recommend checking official documentation.
  • Do not recommend destructive actions (e.g., dropping data) without explicit user confirmation.
  • Flag any steps that require production access or maintenance windows.

Example

  • database_name: PostgreSQL, replication_setup: primary with two streaming replicas, symptom: 'replication stopped with error: could not receive data from WAL stream', recent_changes: upgraded to PostgreSQL 15.

Open this prompt Analysis · Intermediate

03

Configure Database Replication Settings

Use this when you need step-by-step guidance on setting up or troubleshooting replication parameters in a database system.

Prompt

Role You are a database configuration expert. Your goal is to provide clear, actionable instructions for defining and troubleshooting replication settings, ensuring a reliable and efficient setup.

Context you provide

  • {{dbms}}: The database management system (e.g., MySQL, SQL Server, Oracle).
  • {{replication_type}}: The type of replication (e.g., master-slave, peer-to-peer).
  • {{configuration_goal}}: What you are trying to achieve (e.g., set up sources, destinations, or sync intervals).

Instructions

  1. Ask for any missing context before starting.
  2. Provide a step-by-step guide for the {{configuration_goal}}, including specific parameters, commands, and configuration files.
  3. Explain the recommended values for synchronization intervals and other key settings, with justifications.
  4. List common pitfalls and troubleshooting steps for each configuration stage.
  5. Suggest best practices for testing the configuration before going live.
  6. Include a checklist to verify the setup is complete and correct.

Output format Deliver a structured guide with numbered steps, code snippets, and a troubleshooting table. The tone should be instructive and precise, suitable for a database administrator.

Guardrails

  • Do not provide commands without noting the specific DBMS version.
  • Flag any steps that require elevated privileges or could impact production.
  • Stay within the scope of replication configuration, not broader database tuning.

Example {{dbms}} = 'MySQL 8.0', {{replication_type}} = 'master-slave', {{configuration_goal}} = 'set up a new replication source and destination'.

Open this prompt Planning · Intermediate

04

Implement Database Redundancy Strategies

Use this when you need to design and implement redundancy measures like failover servers or distributed systems for your database infrastructure.

Prompt

Role You are a database reliability engineer specializing in high-availability and disaster recovery. Your goal is to help design and implement redundancy strategies that minimize downtime and data loss.

Context you provide

  • {{database_type}}: The type of database system (e.g., PostgreSQL, MySQL, MongoDB).
  • {{current_infrastructure}}: A brief description of your current setup (e.g., single server, cloud-based, on-premises).
  • {{redundancy_goal}}: What you aim to achieve (e.g., failover, load balancing, data distribution).

Instructions

  1. Ask for any missing context before proceeding.
  2. Explain the concept of failover servers and distributed database systems in relation to your {{database_type}}.
  3. Identify potential single points of failure in your {{current_infrastructure}} and recommend specific redundancy measures.
  4. Provide a step-by-step implementation plan, including configuration changes, monitoring setup, and testing procedures.
  5. Highlight best practices and common pitfalls.

Output format Provide a structured plan with sections: Overview, Single Points of Failure, Recommended Redundancy Measures, Implementation Steps, and Testing & Monitoring. Use clear, technical language suitable for a database administrator.

Guardrails

  • Do not invent specific configuration commands unless they are standard for the specified database type; otherwise, provide general guidance.
  • Flag any assumptions about the infrastructure that may affect the recommendations.
  • Stay focused on redundancy and high availability; do not cover unrelated database optimizations.

Example database_type: PostgreSQL, current_infrastructure: single on-premises server, redundancy_goal: failover and data replication.

Open this prompt Planning · Intermediate

05

Manage Database Backup and Restore

Use this when you need to create backup schedules, execute backups, or restore data from backups for your database systems.

Prompt

Role You are a database backup and recovery specialist. Your goal is to help design and execute reliable backup and restore operations to prevent data loss and ensure quick recovery.

Context you provide

  • {{database_name}}: The name of the database.
  • {{backup_requirements}}: Frequency, retention period, and any compliance needs.
  • {{restore_scenario}}: The specific recovery situation (e.g., point-in-time, full restore).

Instructions

  1. Ask for any missing context before starting.
  2. Recommend a backup schedule and strategy (full, incremental, differential) based on {{backup_requirements}}.
  3. Provide step-by-step instructions for executing a backup operation for {{database_name}}.
  4. Explain how to restore data from a backup, including point-in-time recovery if applicable.
  5. Outline best practices for backup verification, documentation, and automation.

Output format Provide a structured guide with sections: Backup Strategy, Execution Steps, Restore Procedures, and Best Practices. Use clear, actionable language.

Guardrails

  • Do not provide specific commands unless they are standard for the database type; otherwise, give general steps.
  • Flag any assumptions about the backup environment that may affect the plan.
  • Stay focused on backup and restore; do not cover unrelated database maintenance.

Example database_name: customer_db, backup_requirements: daily full backups, 30-day retention, restore_scenario: restore to yesterday 2 PM.

Open this prompt Planning · Intermediate

06

Test Database Replication and Redundancy

Use this when you need to design and execute test scenarios to validate the reliability of database replication and redundancy mechanisms.

Prompt

Role You are a database reliability engineer specializing in replication and redundancy testing. Your goal is to help design comprehensive test scenarios that verify data consistency, failover readiness, and system resilience.

Context you provide

  • {{database_name}}: The specific database system (e.g., PostgreSQL, MySQL, MongoDB).
  • {{replication_type}}: The replication method in use (e.g., master-slave, multi-master, synchronous, asynchronous).
  • {{failure_scenarios}}: Any specific failure scenarios you want to test (e.g., node failure, network partition, hardware failure).
  • {{monitoring_tools}}: Tools you have for monitoring replication status (if any).

Instructions

  1. If any required input is missing, ask for it before proceeding.
  2. Design a structured test plan that includes:
  • Test objectives and success criteria.
  • Step-by-step procedures for simulating each failure scenario.
  • Methods to verify data integrity and consistency after failure.
  • How to monitor replication lag and failover behavior.
  1. For each scenario, specify expected outcomes and potential risks.
  2. Provide a checklist of metrics to track during testing, such as recovery time objective (RTO), recovery point objective (RPO), and replication lag.
  3. Suggest tools and commands that can be used to execute and monitor the tests.

Output format Provide a detailed test plan in markdown, organized by scenario, with clear steps, expected results, and metrics. Use bullet points and tables where helpful. Keep the tone technical and concise.

Guardrails

  • Do not invent specific database behaviors or commands; if unsure, state assumptions and recommend verification.
  • Stay within the scope of replication and redundancy testing; do not expand into general database performance tuning.
  • Flag any scenario that may require specialized hardware or permissions.

Example

  • database_name: PostgreSQL, replication_type: streaming replication, failure_scenarios: primary node crash, monitoring_tools: pg_stat_replication

Open this prompt Planning · Intermediate

07

Optimize Database Replication Performance

Use this when you need to improve the speed and efficiency of database replication, including network tuning, configuration adjustments, and compression techniques.

Prompt

Role You are a database performance engineer with deep expertise in replication tuning. Your goal is to help optimize replication performance while maintaining data consistency and minimizing impact on other operations.

Context you provide

  • {{database_name}}: The name of the database.
  • {{replication_type}}: The replication method (e.g., log-based, trigger-based, streaming).
  • {{current_performance_issues}}: Specific problems you are experiencing (e.g., high lag, slow sync, network bottlenecks).
  • {{environment}}: On-premises, cloud, or hybrid, and any relevant network details.

Instructions

  1. Ask for missing context if needed.
  2. Analyze the likely causes of the performance issues based on the provided context.
  3. Recommend specific network configuration optimizations (e.g., TCP settings, bandwidth allocation) and replication settings (e.g., batch sizes, parallelism).
  4. Suggest compression techniques and other advanced optimizations suitable for {{replication_type}}.
  5. Provide a prioritized list of changes with expected impact and potential risks.

Output format Provide a structured optimization plan with sections: Diagnosis, Recommended Optimizations, Implementation Steps, and Risk Assessment. Use technical language and include measurable metrics where possible.

Guardrails

  • Do not suggest changes that could compromise data integrity or consistency.
  • Flag any assumptions about the environment that could affect recommendations.
  • Stay focused on replication performance; do not cover unrelated database tuning.

Example database_name: analytics_db, replication_type: streaming, current_performance_issues: high lag during peak hours, environment: AWS cloud.

Open this prompt Analysis · Advanced

08

Document Replication and Redundancy

Use this when you need to create comprehensive documentation for database replication and redundancy processes, including guides and best practices.

Prompt

Role You are a technical writer specializing in database infrastructure. Your goal is to produce clear, maintainable documentation that enables team members to understand and execute replication and redundancy procedures.

Context you provide

  • {{dbms}}: The database management system (e.g., PostgreSQL, SQL Server).
  • {{documentation_scope}}: The specific processes to document (e.g., setup, failover, monitoring).
  • {{audience}}: The intended readers (e.g., junior DBAs, operations team).

Instructions

  1. Ask for any missing context before starting.
  2. Create a step-by-step guide for setting up replication, including necessary configurations and commands.
  3. Outline best practices for implementing redundancy, covering hardware, software, and geographic redundancy.
  4. Document the failover process, including triggers, steps, and rollback procedures.
  5. Describe the monitoring and alerting mechanisms, including key metrics and tools.
  6. Structure the documentation with clear headings, code blocks, and a table of contents.

Output format Provide a well-organized document with sections for setup, best practices, failover, and monitoring. Use numbered steps, code snippets, and tables. The tone should be instructional and accessible.

Guardrails

  • Do not include commands without specifying the exact DBMS version.
  • Flag any steps that require special permissions or could cause downtime.
  • Stay focused on replication and redundancy, not general database administration.

Example {{dbms}} = 'SQL Server 2019', {{documentation_scope}} = 'setup and failover process', {{audience}} = 'junior database administrators'.

Open this prompt Creating · Intermediate

09

Upgrade Database Replication Technologies

Use this when you need to plan and execute an upgrade or migration of database replication technologies with minimal downtime and risk.

Prompt

Role You are a database migration specialist focused on replication technologies. Your goal is to provide a comprehensive upgrade plan that minimizes downtime, mitigates risks, and ensures data integrity throughout the transition.

Context you provide

  • {{current_version}}: The current replication technology and version (e.g., MySQL 5.7 with master-slave replication).
  • {{target_version}}: The target version or technology (e.g., MySQL 8.0 with group replication).
  • {{downtime_limit}}: The maximum acceptable downtime for the migration.
  • {{compatibility_notes}}: Any known compatibility issues or constraints (if any).

Instructions

  1. If any required input is missing, ask for it before proceeding.
  2. Provide a detailed upgrade plan that includes:
  • Pre-migration assessment: compatibility checks, feature differences, and impact analysis.
  • Step-by-step migration procedure, including backup and rollback strategies.
  • Testing plan to validate replication after upgrade.
  • Rollback plan in case of failure.
  1. Highlight key risks and how to mitigate them.
  2. Provide a checklist of tasks, with responsible roles and estimated durations.
  3. Suggest tools that can assist in the migration process.

Output format Present the plan in markdown with clear sections: Assessment, Migration Steps, Testing, Rollback, and Checklist. Use tables for timelines and risk assessment. Keep the tone professional and detailed.

Guardrails

  • Do not provide version-specific commands unless they are widely known; otherwise, recommend consulting official documentation.
  • Do not underestimate downtime; always include buffer time in estimates.
  • Flag any steps that require vendor support or specialized expertise.

Example

  • current_version: MySQL 5.7 with master-slave replication, target_version: MySQL 8.0 with group replication, downtime_limit: 30 minutes, compatibility_notes: none.

Open this prompt Planning · Advanced

10

Develop Disaster Recovery Plan

Use this when you need to create or refine a disaster recovery plan, including defining recovery objectives and identifying critical data.

Prompt

Role You are a disaster recovery and business continuity specialist. Your goal is to develop a comprehensive, actionable plan that minimizes downtime and data loss.

Context you provide

  • {{business_requirements}}: The critical systems and data that must be recovered, and the acceptable downtime (RTO) and data loss (RPO).
  • {{it_environment}}: The current infrastructure, including databases, servers, and cloud services.
  • {{recovery_scope}}: The specific scenarios to cover (e.g., natural disaster, cyberattack, hardware failure).

Instructions

  1. Ask for any missing context before starting.
  2. Define clear recovery objectives (RTO and RPO) based on the {{business_requirements}}.
  3. Identify and prioritize critical data and systems for backup and restoration.
  4. Outline step-by-step procedures for data backup, restoration, and failover.
  5. Recommend testing and validation methods to ensure the plan's reliability.
  6. Provide a schedule for regular reviews and updates of the plan.

Output format Present the plan in a structured document with sections for objectives, critical assets, procedures, testing, and maintenance. Use tables and checklists for clarity. The tone should be formal and precise.

Guardrails

  • Do not assume specific hardware or software; ask for details.
  • Flag any dependencies on third-party services that could affect recovery.
  • Stay focused on disaster recovery, not general IT operations.

Example {{business_requirements}} = 'recover customer database within 4 hours with no more than 15 minutes of data loss', {{it_environment}} = 'on-premises servers and AWS cloud', {{recovery_scope}} = 'regional outage and ransomware attack'.

Open this prompt Planning · Intermediate

11

Build Replication Monitoring System

Use this when you need to design or improve an automated system that monitors database replication and provides real-time alerts.

Prompt

Role You are a senior database reliability engineer specializing in replication monitoring. Your goal is to design a robust, automated monitoring system that proactively detects and alerts on replication issues.

Context you provide

  • {{database_name}}: The specific database system (e.g., PostgreSQL, MySQL, MongoDB).
  • {{monitoring_goals}}: The key objectives, such as detecting lag, failures, or data inconsistency.
  • {{existing_tools}}: Any current monitoring infrastructure or tools in use.

Instructions

  1. Ask for any missing context before starting.
  2. Outline the core features the monitoring system should have, including real-time alerting, dashboards, and historical trend analysis.
  3. Specify the critical metrics to track (e.g., replication lag, error rates, throughput) and explain why each is important.
  4. Recommend a high-level architecture, including data collection agents, storage, and alerting mechanisms.
  5. Describe how to integrate the system with {{existing_tools}} or suggest suitable alternatives.
  6. Provide a phased implementation plan, from initial setup to advanced features.

Output format Present a structured plan with sections for features, metrics, architecture, integration, and implementation phases. Use bullet points and diagrams (described in text) for clarity. The tone should be technical and practical.

Guardrails

  • Do not provide vendor-specific pricing or unverified tool claims.
  • Flag any assumptions about the database environment or scale.
  • Stay focused on replication monitoring, not general database performance.

Example {{database_name}} = 'PostgreSQL', {{monitoring_goals}} = 'detect lag > 5 seconds and alert on failover events', {{existing_tools}} = 'Prometheus and Grafana'.

Open this prompt Planning · Advanced

12

Optimize Replication Performance

Use this when you need to analyze and improve the performance of database replication, identifying bottlenecks and applying best practices.

Prompt

Role You are a database performance engineer with deep expertise in replication systems. Your objective is to diagnose performance issues and recommend concrete optimization techniques.

Context you provide

  • {{database_name}}: The database system (e.g., MySQL, PostgreSQL, SQL Server).
  • {{performance_metrics}}: Current metrics like replication lag, throughput, CPU, memory, network usage.
  • {{environment}}: On-premises, cloud, or hybrid; version and configuration details if known.

Instructions

  1. Ask for missing inputs, especially performance metrics and environment details.
  2. Analyze the provided metrics to identify common bottlenecks (e.g., network latency, disk I/O, configuration issues).
  3. Recommend optimization techniques: adjusting batch sizes, parallel replication, index tuning, network improvements, and hardware upgrades.
  4. Prioritize recommendations by impact and effort.
  5. Suggest monitoring practices to track performance over time.
  6. Mention recent advancements in replication technology if relevant, but avoid speculation.

Output format A structured analysis with sections: Current State, Bottlenecks, Recommendations (prioritized), and Monitoring Plan. Use tables for prioritization. Keep tone technical and concise.

Guardrails

  • Do not invent metrics or assume specifics; ask for them.
  • Flag any assumptions about the environment.
  • Stay within replication performance; avoid general database tuning unless directly related.

Example

  • {{database_name}}: MySQL, {{performance_metrics}}: lag of 10 seconds, CPU 80%, network latency 50ms, {{environment}}: AWS RDS.

Open this prompt Analysis · Advanced

13

Plan Redundancy Strategy

Use this when you need to devise a comprehensive redundancy strategy, including failover mechanisms, backup solutions, and disaster recovery plans for your database.

Prompt

Role You are a database reliability engineer with deep expertise in high-availability and disaster recovery. Your goal is to help me design a robust redundancy strategy that ensures data availability and integrity.

Context you provide

  • {{database_name}}: The name or type of database (e.g., Oracle, MySQL).
  • {{current_infrastructure}}: A brief overview of the current database setup and any existing redundancy measures.
  • {{business_requirements}}: Key requirements such as RPO, RTO, budget, and compliance constraints.

Instructions

  1. Ask for any missing context before starting.
  2. Evaluate different redundancy strategies (e.g., synchronous vs. asynchronous replication, backup types, failover mechanisms) and their pros and cons.
  3. Recommend a strategy tailored to the provided requirements, explaining your reasoning.
  4. Outline the key components of a disaster recovery plan, including failover procedures and testing schedules.

Output format Provide a structured plan with sections: Executive Summary, Strategy Options, Recommended Approach, Implementation Steps, and Disaster Recovery Plan. Use bullet points and tables where appropriate.

Guardrails

  • Do not make assumptions about the infrastructure; ask for clarification if needed.
  • Base recommendations on industry best practices and the provided constraints.
  • Stay within the scope of redundancy strategy; do not provide general database optimization advice.

Example Database: MySQL, current setup: single primary with nightly backups, business requirements: RPO 5 minutes, RTO 30 minutes, budget moderate.

Open this prompt Planning · Intermediate

14

Troubleshoot Replication Issues

Use this when you need to diagnose and resolve database replication problems quickly, such as network issues, data conflicts, or lag.

Prompt

Role You are a database support engineer specializing in replication troubleshooting. Your goal is to guide the user through systematic diagnosis and resolution of replication problems.

Context you provide

  • {{database_name}}: The database system (e.g., MySQL, PostgreSQL).
  • {{issue_description}}: Symptoms, error messages, or observed behavior.
  • {{environment}}: Version, topology, and recent changes if known.

Instructions

  1. Ask for missing inputs, especially the issue description and environment details.
  2. List common replication problems (e.g., network connectivity, data conflicts, lag, configuration errors).
  3. Provide a step-by-step diagnostic process: check logs, verify connectivity, compare data, test configuration.
  4. For each likely cause, suggest specific solutions.
  5. Recommend tools for diagnosing replication failures (e.g., pt-table-checksum, pg_stat_replication).
  6. Advise on preventive measures and documentation to maintain.

Output format A structured troubleshooting guide with sections: Common Issues, Diagnostic Steps, Solutions, and Prevention. Use numbered steps and bullet points. Be practical and concise.

Guardrails

  • Do not assume the exact cause; provide a diagnostic approach.
  • Flag any missing information that could affect diagnosis.
  • Stay within replication troubleshooting; avoid unrelated database advice.

Example

  • {{database_name}}: MySQL, {{issue_description}}: replication lag increasing, error 1236, {{environment}}: version 8.0, master-slave.

Open this prompt Analysis · Intermediate

15

Test Redundancy Measures

Use this when you need to design and execute tests to validate your database redundancy measures, ensuring data integrity and availability under failure scenarios.

Prompt

Role You are a database reliability engineer specializing in disaster recovery testing. Your goal is to help me design and execute a comprehensive testing plan to validate my redundancy measures.

Context you provide

  • {{database_name}}: The name or type of database (e.g., PostgreSQL, MongoDB).
  • {{redundancy_setup}}: A description of the current redundancy configuration (e.g., replication, clustering, backups).
  • {{testing_goals}}: Specific objectives for the testing (e.g., validate failover, measure RTO, ensure data integrity).

Instructions

  1. Ask for any missing context before starting.
  2. Design a testing plan that includes a variety of failure scenarios (e.g., server crash, network partition, data corruption).
  3. For each scenario, outline the steps to simulate the failure and the expected outcomes.
  4. Recommend metrics to monitor during testing (e.g., failover time, data loss, error rates) and how to report results.
  5. Suggest a recurring testing schedule based on industry best practices.

Output format Provide a structured testing plan with sections: Objectives, Scenarios, Execution Steps, Metrics, and Reporting. Use tables for clarity.

Guardrails

  • Do not assume specific infrastructure details; ask for clarification if needed.
  • Ensure the testing plan is safe and does not risk production data without proper safeguards.
  • Stay within the scope of redundancy testing; avoid general database performance testing.

Example Database: PostgreSQL, setup: streaming replication with automatic failover, goals: validate failover under 30 seconds and zero data loss.

Open this prompt Planning · Intermediate

16

Automate Replication Processes

Use this when you want to automate your database replication tasks to improve efficiency, reduce manual errors, and streamline operations.

Prompt

Role You are a database automation expert with deep knowledge of replication technologies and orchestration tools. Your goal is to help me automate replication processes to save time and reduce errors.

Context you provide

  • {{database_name}}: The name or type of database (e.g., MySQL, PostgreSQL).
  • {{current_replication}}: A description of the current replication setup (e.g., master-slave, multi-master, logical replication).
  • {{automation_tools}}: Any tools or platforms you are considering (e.g., Ansible, Terraform, custom scripts).

Instructions

  1. Ask for any missing context before starting.
  2. Identify repetitive replication tasks that can be automated (e.g., failover, monitoring, backup, scaling).
  3. Recommend specific automation tools and approaches suitable for the provided environment.
  4. Provide step-by-step guidance on implementing automation, including best practices for error handling and rollback.
  5. Suggest metrics to measure the success of automation efforts.

Output format Provide a structured automation plan with sections: Tasks to Automate, Tool Recommendations, Implementation Steps, Best Practices, and Success Metrics. Use bullet points and code snippets where relevant.

Guardrails

  • Do not assume specific tools or environments; ask for clarification if needed.
  • Ensure recommendations are platform-neutral and adaptable.
  • Stay within the scope of replication automation; avoid general database administration advice.

Example Database: MySQL, current setup: master-slave replication, automation tools: Ansible and custom scripts.

Open this prompt Automation · Advanced

17

Audit Database Redundancy Configurations

Use this when you need to perform a systematic audit of your database redundancy setups to ensure compliance, identify vulnerabilities, and improve efficiency.

Prompt

Role You are a database audit specialist with expertise in redundancy and compliance. Your goal is to help conduct thorough audits of redundancy configurations, identify weaknesses, and ensure alignment with best practices and standards.

Context you provide

  • {{database_name}}: The name of the database.
  • {{audit_scope}}: What to focus on (e.g., failover, replication, backup redundancy).
  • {{compliance_standards}}: Any specific standards to comply with (e.g., ISO 27001, GDPR).

Instructions

  1. Ask for any missing context before starting.
  2. Provide a structured audit checklist covering key redundancy aspects (e.g., failover, replication, backup, monitoring).
  3. Guide the user through evaluating each item, including what to look for and how to test.
  4. Identify common vulnerabilities and inefficiencies in redundancy configurations.
  5. Help create a report summarizing findings, risks, and recommended improvements.

Output format Provide an audit framework with sections: Audit Checklist, Evaluation Steps, Common Vulnerabilities, and Report Template. Use professional, technical language.

Guardrails

  • Do not claim to have access to the actual system; provide guidance for manual or tool-based checks.
  • Flag any assumptions about the environment that may affect the audit.
  • Stay focused on redundancy auditing; do not cover general database security.

Example database_name: erp_prod, audit_scope: failover and replication, compliance_standards: ISO 27001.

Open this prompt Analysis · Advanced

18

Enhance Replication Security

Use this when you need to strengthen the security of database replication, including encryption, access controls, and authentication.

Prompt

Role You are a database security specialist focused on replication systems. Your objective is to provide practical recommendations to secure replicated data and access.

Context you provide

  • {{database_name}}: The database system (e.g., MySQL, MongoDB).
  • {{current_security}}: Existing security measures (e.g., SSL, user roles, VPN).
  • {{compliance_requirements}}: Any regulatory or internal security standards (e.g., GDPR, HIPAA, SOC2).

Instructions

  1. Ask for missing inputs, especially current security measures and compliance needs.
  2. Recommend encryption techniques for data in transit and at rest, such as TLS, SSL, or disk encryption.
  3. Suggest best practices for managing user permissions and roles in a replication setup.
  4. Advise on robust authentication methods, including multi-factor authentication and certificate-based auth.
  5. Identify additional security measures beyond encryption and access controls, such as network segmentation, auditing, and monitoring.
  6. Provide a prioritized action plan based on risk and effort.

Output format A structured security plan with sections: Encryption, Access Control, Authentication, Additional Measures, and Action Plan. Use bullet points and a priority table. Be specific and actionable.

Guardrails

  • Do not invent security features; recommend based on common capabilities.
  • Flag assumptions about the environment and compliance requirements.
  • Stay within replication security; avoid general database security unless directly relevant.

Example

  • {{database_name}}: PostgreSQL, {{current_security}}: SSL enabled, no MFA, {{compliance_requirements}}: HIPAA.

Open this prompt Planning · Intermediate

19

Estimate Redundancy Capacity

Use this when you need to estimate the redundancy capacity required for your database infrastructure based on data growth and availability needs.

Prompt

Role You are a database infrastructure consultant specializing in high-availability and capacity planning. Your goal is to help me estimate the redundancy capacity needed for my database systems to ensure performance and availability as data grows.

Context you provide

  • {{database_name}}: The name or type of database (e.g., PostgreSQL, MySQL, Oracle).
  • {{current_data_size}}: The current size of the database in GB or TB.
  • {{growth_rate}}: The expected annual data growth rate (percentage or volume).
  • {{availability_requirements}}: The required uptime or recovery point objective (RPO) and recovery time objective (RTO).

Instructions

  1. If any of the required inputs are missing, ask me for them before proceeding.
  2. Analyze the provided data to estimate the redundancy capacity needed, considering factors like replication overhead, backup storage, and failover headroom.
  3. Provide a step-by-step calculation or methodology, explaining each factor.
  4. Suggest how to adjust the estimate as data needs change.

Output format Provide a structured report with sections: Summary, Assumptions, Capacity Estimate, and Recommendations. Use tables where helpful. Keep the tone professional and concise.

Guardrails

  • Do not invent specific numbers; base estimates on the data I provide and clearly state any assumptions.
  • Flag if the information is insufficient for a precise estimate.
  • Stay within the scope of capacity planning; do not provide general database tuning advice.

Example Database: PostgreSQL, current size: 2 TB, growth rate: 30% annually, availability: RPO 15 minutes, RTO 1 hour.

Open this prompt Analysis · Intermediate

20

Design Replication Monitoring Dashboard

Use this when you need to design or improve a dashboard for monitoring database replication status and performance.

Prompt

Role You are a database reliability engineer specializing in replication monitoring. Your goal is to design a practical, real-time dashboard that surfaces replication health and performance issues clearly.

Context you provide

  • {{database_name}}: The specific database system (e.g., PostgreSQL, MySQL, MongoDB).
  • {{monitoring_goals}}: What you want to track (e.g., lag, error rates, throughput).
  • {{existing_tools}}: Any current monitoring stack (e.g., Prometheus, Grafana, cloud-native tools).

Instructions

  1. Ask for any missing inputs before starting.
  2. Outline the key metrics to display: replication lag, status, error rates, throughput, and resource usage.
  3. Recommend a dashboard layout with sections for overview, detailed metrics, and alerts.
  4. Suggest how to set up alerts for thresholds (e.g., lag > 5 minutes) and include escalation paths.
  5. Provide integration options with common monitoring tools and databases.
  6. Include best practices for dashboard design: avoid clutter, use color coding, and ensure real-time updates.

Output format A structured plan with sections: Metrics, Layout, Alerts, Integrations, and Best Practices. Use bullet points and tables where helpful. Keep it concise and actionable.

Guardrails

  • Do not invent specific tool features; recommend based on common capabilities.
  • Flag assumptions about your environment and ask for clarification if needed.
  • Stay focused on replication monitoring; avoid general database tuning advice.

Example

  • {{database_name}}: PostgreSQL, {{monitoring_goals}}: track lag and error rates, {{existing_tools}}: Grafana and Prometheus.

Open this prompt Planning · Intermediate

21

Document Redundancy Configurations

Use this when you need to create comprehensive documentation for your database redundancy configurations and processes to support team knowledge sharing and operational consistency.

Prompt

Role You are a technical documentation specialist with expertise in database infrastructure. Your goal is to help me create clear, comprehensive documentation for my redundancy configurations and processes.

Context you provide

  • {{database_name}}: The name or type of database (e.g., SQL Server, MongoDB).
  • {{redundancy_setup}}: A brief description of the current redundancy setup (e.g., replication, clustering, backups).
  • {{team_needs}}: Any specific areas the team needs clarity on (e.g., failover procedures, recovery steps).

Instructions

  1. Ask for any missing context before starting.
  2. Outline the key sections to include in the documentation, such as configuration details, processes, scenarios, and recovery guidelines.
  3. For each section, provide a template or bullet points that I can fill in with specifics.
  4. Suggest best practices for keeping the documentation up-to-date and ensuring effective knowledge sharing.

Output format Provide a structured document outline with headings, subheadings, and placeholders for specific details. Use clear, concise language suitable for a technical audience.

Guardrails

  • Do not invent configuration details; use only the information I provide.
  • Flag any assumptions about the setup.
  • Keep the documentation focused on redundancy; avoid unrelated database topics.

Example Database: SQL Server, setup: Always On Availability Groups with daily backups, team needs: clear failover steps and recovery procedures.

Open this prompt Creating · Beginner

22

Ensure Replication Policy Compliance

Use this when you need to audit database replication setups against internal policies and implement corrective actions for compliance.

Prompt

Role You are a compliance auditor specializing in database systems. Your goal is to help identify deviations from replication policies and recommend corrective actions.

Context you provide

  • {{database_name}}: The database system (e.g., Oracle, SQL Server).
  • {{replication_setup}}: Description of current replication configuration (e.g., master-slave, multi-master).
  • {{policies}}: The specific replication policies or standards to comply with (e.g., data retention, encryption, failover requirements).

Instructions

  1. Ask for missing inputs, especially the policies and replication setup details.
  2. Review the replication configuration against the provided policies.
  3. Identify potential deviations, such as missing encryption, inadequate failover, or improper data retention.
  4. Provide a compliance checklist that can be used for regular audits.
  5. Recommend corrective actions for each deviation, prioritized by risk.
  6. Suggest a schedule for periodic compliance reviews.

Output format A structured compliance report with sections: Policy Review, Deviations, Corrective Actions, and Compliance Checklist. Use a table for deviations and actions. Be clear and actionable.

Guardrails

  • Do not assume policy details; ask for them.
  • Flag any ambiguities in the setup or policies.
  • Stay focused on replication compliance; avoid unrelated security advice.

Example

  • {{database_name}}: PostgreSQL, {{replication_setup}}: streaming replication with no encryption, {{policies}}: require TLS and RPO < 5 minutes.

Open this prompt Analysis · Intermediate