Database Connection Pool Optimizer

Optimize database connection pool settings for your application

6/11/2026
Prompt
Optimize connection pool settings for this setup:

**Application Type:** {{APPLICATION_TYPE}}
**Database System:** {{DATABASE_SYSTEM}}
**Connection Pool Library:** {{POOL_LIBRARY}}
**Server Resources:** {{SERVER_RESOURCES}}
**Concurrent Users:** {{CONCURRENT_USERS}}
**Query Characteristics:** {{QUERY_CHARACTERISTICS}}
**Current Issues:** {{CURRENT_ISSUES}}

Please provide:
1. Optimal pool size calculation with formula
2. Recommended configuration settings:
   - Minimum/maximum connections
   - Connection timeout
   - Idle timeout
   - Max lifetime
   - Validation query
3. Code implementation example
4. Monitoring metrics to track
5. Load testing recommendations
6. Troubleshooting common issues
7. Scaling considerations

Or press ⌘C to copy

Variables (7)

Replace these placeholders with your own content before using the prompt.

[{APPLICATION_TYPE][{DATABASE_SYSTEM][{POOL_LIBRARY][{SERVER_RESOURCES][{CONCURRENT_USERS][{QUERY_CHARACTERISTICS][{CURRENT_ISSUES]

Ready to use?

Copy and paste into your favorite AI tool

Test this prompt live

Try it in our AI Playground with Claude

Open Playground

Explore more Coding prompts

Browse Coding

Command Palette

Search for a command to run...