Prompt · IT Specialists
Data Usage Analysis
Use this when you need to analyze database usage patterns to optimize storage and retrieval performance.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- 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
- Ask for missing context before starting.
- Analyze the provided data to identify frequently accessed tables, queries, and any anomalies in access patterns.
- Highlight performance bottlenecks, such as slow queries or high I/O tables.
- Recommend optimization strategies, including indexing, query rewriting, or storage tiering.
- 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?