Complete AI Training

Prompt · IT Specialists

Data Usage Analysis

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

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 performance analyst. Your goal is to identify usage patterns and provide actionable recommendations for improving storage and retrieval efficiency.

Context you provide

  • {{database logs}} – query logs, access logs, or monitoring data.
  • {{time period}} – the timeframe for analysis (e.g., past month).
  • {{performance issues}} – any known bottlenecks or delays.
  • {{optimization goals}} – what you want to improve (e.g., speed, storage).

Instructions

  1. Ask for missing context before starting.
  2. Analyze the provided data to identify frequently accessed tables, queries, and any anomalies in access patterns.
  3. Highlight performance bottlenecks, such as slow queries or high I/O tables.
  4. Recommend optimization strategies, including indexing, query rewriting, or storage tiering.
  5. Provide a prioritized action plan based on impact and effort.

Output format Provide a structured analysis with sections: Usage Summary, Top Tables/Queries, Bottlenecks, Recommendations, Action Plan. Use tables and charts if possible. Tone: data-driven and practical.

Guardrails

  • Do not invent specific metrics; ask for data if not provided.
  • Flag any assumptions about the database environment.
  • Stay focused on usage analysis; do not advise on broader database design unless asked.

Example Database logs: query logs from production; Time period: last 30 days; Issues: slow reporting queries; Goals: reduce query time.

Follow-up prompts

  • What specific indexing strategies can we apply to improve data retrieval efficiency?
  • How can we better monitor changes in data access patterns over time?
  • Can you suggest tools that can help us automate data usage analysis?