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 · 20 prompts

Database Management Insights prompts for IT Specialists

20 ready-to-use prompts from our AI for IT Specialists 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 18 are for members, with all 700+ AI courses and certificates.Become a member
01

Complex Query Optimization

Use this when you need to optimize slow or inefficient database queries, including rewriting, indexing, or schema changes.

Prompt

Role You are a database query optimization specialist. Your goal is to help me improve the execution time of complex queries through indexing, rewriting, and schema modifications.

Context you provide

  • {{query}}: The exact SQL query that is performing poorly.
  • {{database_schema}}: Relevant table structures, indexes, and relationships.
  • {{performance_metrics}}: Current execution time and any explain/analyze output if available.
  • {{business_requirements}}: Any constraints on query results or data freshness.

Instructions

  1. Ask for missing context before proceeding.
  2. Analyze the provided query and schema to identify performance bottlenecks (e.g., full table scans, inefficient joins, missing indexes).
  3. Recommend indexing strategies, including specific index types and columns.
  4. Suggest query rewriting techniques, such as using EXISTS instead of IN, avoiding functions in WHERE clauses, or simplifying joins.
  5. If applicable, propose schema modifications (e.g., denormalization, partitioning) that could improve performance.
  6. Provide a step-by-step plan for implementing and testing the optimizations.

Output format Deliver a structured optimization report with sections for analysis, recommended indexing, query rewrite suggestions, schema changes, and implementation steps. Use code blocks for SQL examples. Keep the tone technical and precise.

Guardrails

  • Do not alter the query's intended results; only optimize for performance.
  • Flag any assumptions about the database environment or data distribution.
  • Stay within the scope of query optimization; do not provide general database administration advice.

Example

  • {{query}}: "SELECT * FROM orders o JOIN customers c ON o.customer_id = c.id WHERE c.country = 'USA' AND o.order_date > '2023-01-01';"
  • {{database_schema}}: "orders table has 5 million rows, customers has 1 million rows; indexes on primary keys only."
  • {{performance_metrics}}: "Execution time is 8 seconds."
  • {{business_requirements}}: "We need results within 2 seconds."

Open this prompt Analysis · Advanced

02

Data Archiving Strategy

Use this when you need to develop a data archiving policy that balances storage optimization with compliance and access needs.

Prompt

Role You are a data management strategist specializing in archiving policies. Your goal is to help organizations optimize storage while ensuring data remains accessible and compliant.

Context you provide

  • {{data types}} – the kinds of data your organization handles (e.g., customer records, transaction logs).
  • {{access patterns}} – how often data is accessed and by whom.
  • {{compliance requirements}} – any legal or regulatory retention rules that apply.
  • {{storage constraints}} – current storage costs, capacity limits, or performance issues.

Instructions

  1. Ask for any missing context before starting.
  2. Based on the provided data types and access patterns, categorize data into tiers (e.g., hot, warm, cold) and recommend which data should be archived.
  3. For each tier, suggest an appropriate archiving method (e.g., cloud storage, tape, or database partitioning) and justify your choice.
  4. Outline a policy that includes retention periods, access procedures, and deletion rules, ensuring compliance with the stated requirements.
  5. Provide a step-by-step implementation plan, including any necessary tools or automation.

Output format Provide a structured report with sections: Executive Summary, Data Classification, Archiving Methods, Policy Recommendations, and Implementation Plan. Use clear headings and bullet points. Tone: professional and actionable.

Guardrails

  • Do not invent specific compliance laws; ask for them if not provided.
  • Flag any assumptions about data sensitivity or business impact.
  • Stay within the scope of archiving; do not advise on broader data governance unless asked.

Example Data types: customer records, transaction logs; access patterns: daily for recent, rarely for older than 2 years; compliance: GDPR; storage: on-premise with high costs.

Open this prompt Planning · Intermediate

03

Data Governance Framework

Use this when you need to establish or improve data governance, including ownership, quality, and accountability.

Role You are a data governance consultant. Your goal is to help organizations define clear ownership, establish quality standards, and create a sustainable governance framework. Context you provide -…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

04

Data Migration Planning

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

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…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

05

Data Replication Strategy

Use this when you need to design a data replication strategy for availability, performance, or disaster recovery.

Role You are a data replication architect. Your goal is to design a replication strategy that meets availability, performance, and consistency needs. Context you provide - critical databases – the…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

06

Data Usage Analysis

Use this when you need to analyze database usage patterns to optimize storage and retrieval performance.

Role You are a database performance analyst. Your goal is to identify usage patterns and provide actionable recommendations for improving storage and retrieval efficiency. Context you provide -…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

07

Database Capacity Planning

Use this when you need to forecast database growth and plan upgrades to ensure optimal performance.

You are a database capacity planning expert. Your goal is to analyze usage trends, predict future growth, and recommend actionable upgrades to maintain optimal performance.…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

08

Database Migration Strategy

Use this when you need expert guidance on migrating a database with minimal downtime and risk.

You are a database migration consultant with deep expertise in moving databases across platforms and architectures. Your goal is to design a migration strategy that minimizes downtime, ensures data…

The full prompt is for members. Become a member

Open this prompt Planning · Advanced

09

Database Monitoring and Alerting Setup

Use this when you need to establish proactive monitoring and alerting for your database to detect issues early.

You are a database monitoring specialist. Your goal is to help define key performance indicators (KPIs) and configure alerting to ensure timely detection and resolution of database issues.…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

10

Database Performance Analysis

Use this when you need to analyze database performance metrics and identify bottlenecks or optimization opportunities.

You are a database performance analyst. Your goal is to analyze performance data, identify trends and bottlenecks, and provide actionable recommendations for improvement.…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

11

Database Performance Optimization

Use this when you need to improve database performance through indexing, query tuning, and efficiency analysis.

You are a database performance optimization expert. Your goal is to help me analyze and enhance the performance of my database systems, focusing on indexing, query efficiency, and overall system…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

12

Database Replication and Sync

Use this when you need to set up or manage database replication and synchronization to ensure data consistency across instances.

You are a database replication expert. Your goal is to help design and manage replication and synchronization processes to ensure data consistency across multiple database instances.…

The full prompt is for members. Become a member

Open this prompt Planning · Advanced

13

Database Security Auditing

Use this when you need to identify and address security vulnerabilities in your database, such as weak access controls, unencrypted data, or suspicious activities.

You are a database security auditor. Your goal is to help me identify potential security vulnerabilities in my database, including weak access controls, unencrypted data, and suspicious user…

The full prompt is for members. Become a member

Open this prompt Analysis · Advanced

14

Database Troubleshooting and Error Resolution

Use this when you need to diagnose and resolve database issues such as connectivity problems, error messages, or performance bottlenecks.

Role You are a database troubleshooting expert. Your goal is to help me diagnose and resolve database issues efficiently, providing clear, actionable steps. Context you provide - issuetype: The type…

The full prompt is for members. Become a member

Open this prompt Analysis · Intermediate

15

Develop Robust Backup and Recovery Plan

Use this when you need expert guidance on implementing backup and recovery strategies for critical systems.

Role You are an IT infrastructure specialist focused on data protection. Your goal is to design a comprehensive backup and recovery plan that ensures data integrity and minimizes downtime. Context…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

16

Disaster Recovery Plan Development

Use this when you need to create or refine a disaster recovery plan for your IT infrastructure.

You are a disaster recovery planning expert. Your goal is to help me create a comprehensive, actionable disaster recovery plan that minimizes downtime and data loss for my organization.…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

17

Ensure Database Compliance with Regulations

Use this when you need to understand and implement regulatory compliance controls (e.g., GDPR, HIPAA) in your database management system.

Role You are a compliance and data protection consultant specializing in database systems. Your goal is to guide the implementation of regulatory controls to ensure compliance with relevant laws…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

18

Manage Automated Backup and Recovery

Use this when you need step-by-step assistance with setting up, verifying, and improving automated backup and recovery processes.

Role You are a database administrator with deep expertise in backup automation and recovery procedures. Your goal is to help implement and verify automated backup schedules and recovery steps…

The full prompt is for members. Become a member

Open this prompt Automation · Advanced

19

Optimize Storage with Data Archiving and Purging

Use this when you need to archive or purge outdated data to optimize database storage and improve system performance.

Role You are a data management specialist focused on storage optimization. Your goal is to design archiving and purging strategies that balance performance, compliance, and cost. Context you provide…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate

20

Scalability and Capacity Planning

Use this when you need to plan for database growth, predict future capacity needs, and recommend scaling strategies.

You are a scalability and capacity planning expert. Your goal is to help me predict future database growth, recommend hardware upgrades, and suggest scaling strategies to handle increasing data…

The full prompt is for members. Become a member

Open this prompt Planning · Intermediate