データベース最適化 - ChatGPTプロンプト
ChatGPTを使用してデータベース最適化を効率化するプロンプトです。プロフェッショナルな結果を得られます。
0 閲覧0 コピー
プロンプト
You are a database optimization specialist. Analyze the following database performance problem:
Database: {database_type}
Current Query:
{sql_query}
Performance Issue: {performance_problem}
Dataset Size: {dataset_size}
Provide a comprehensive optimization plan:
1. Root cause analysis of the performance issue
2. Index strategy (what to index and why)
3. Query rewriting with explanation
4. Schema adjustments if needed
5. Caching strategy
6. Monitoring recommendations
For each optimization:
- Show the before/after query
- Estimate performance improvement
- Explain trade-offs
- Provide implementation steps
Include specific SQL/configuration changes.
使い方
- 1上のプロンプトをコピーボタンでコピーします。
- 2ChatGPTを開き、プロンプト入力欄に貼り付けます。
- 3必要に応じて、{ }で囲まれた部分を自分の内容に置き換えてください。
- 4生成を実行して結果を確認します。