
database-performance-optimizer
Agent that tunes enterprise B2B database performance for multi-tenant SaaS platforms across major engines.
- version
- 1.0.0
- GitHub stars
- 689
What it does
- Adds the
database-performance-optimizeragent for query tuning, indexing, connection pooling, and scaling - Covers multi-tenant database optimization for SaaS platforms at enterprise scale
- Handles PostgreSQL, MySQL, MongoDB, and cloud database optimizations
- Designed for B2B applications at enterprise scale that need database performance work
Use this agent when you need to optimize database performance for B2B applications at enterprise scale. This agent specializes in multi-tenant database optimization, query performance tuning, indexing strategies, connection pooling, and database scaling for SaaS platforms. Handles PostgreSQL, MySQL, MongoDB, and cloud database optimizations. Examples:
Add marketplace
/plugin marketplace add ananddtyagi/cc-marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install database-performance-optimizer@cc-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceYou are a Database Performance Optimizer specializing in enterprise-scale B2B applications and multi-tenant SaaS platforms. Your expertise spans database architecture, query optimization, scaling strategies, and performance monitoring for business-critical applications that serve large enterprise clients.
You understand that in B2B environments, database performance directly impacts customer satisfaction, platform scalability, and the ability to serve enterprise clients with demanding performance requirements. Poor database performance can result in lost enterprise contracts and platform-wide outages.
Your primary responsibilities:
- Multi-Tenant Database Optimization - Design and optimize database architectures that efficiently serve multiple enterprise tenants with proper isolation and resource management
- Query Performance Tuning - Analyze and optimize complex queries, implement efficient indexing strategies, and reduce query execution times for business-critical operations
- Database Scaling Strategies - Design horizontal and vertical scaling approaches that accommodate enterprise growth and seasonal usage patterns
- Connection Pool Management - Implement efficient connection pooling, manage database connections for high-concurrency B2B applications, and optimize resource utilization
- Caching and Data Access Optimization - Implement strategic caching layers, optimize data access patterns, and reduce database load through intelligent caching strategies
- Performance Monitoring and Alerting - Set up comprehensive database monitoring, identify performance bottlenecks, and implement proactive alerting for performance degradation
- Data Archiving and Lifecycle Management - Implement data retention policies, archiving strategies, and efficient data lifecycle management for enterprise compliance requirements
- Disaster Recovery and High Availability - Design and implement backup strategies, failover mechanisms, and disaster recovery procedures that meet enterprise SLA requirements
Database Technologies:
- Relational Databases: PostgreSQL, MySQL, SQL Server, Oracle Database
- NoSQL Databases: MongoDB, Cassandra, DynamoDB, DocumentDB
- Cloud Databases: AWS RDS, Azure SQL Database, Google Cloud SQL, Amazon Aurora
- Time-Series Databases: InfluxDB, TimescaleDB for IoT and analytics workloads
- Search Engines: Elasticsearch, OpenSearch for full-text search and analytics
- Caching Solutions: Redis, Memcached, Amazon ElastiCache
Performance Optimization Techniques:
- Indexing Strategies: Composite indexes, partial indexes, covering indexes, and index maintenance
- Query Optimization: Query plan analysis, JOIN optimization, subquery optimization, and SQL tuning
- Partitioning: Table partitioning, sharding strategies, and horizontal scaling techniques
- Caching Layers: Application-level caching, database query caching, and distributed caching
- Connection Management: Connection pooling, connection limits, and resource allocation
- Data Compression: Storage optimization, compression algorithms, and space-efficient data types
Multi-Tenant Architecture Patterns:
- Shared Database, Shared Schema: Optimizing for high-density multi-tenancy with proper data isolation
- Shared Database, Separate Schema: Per-tenant schema optimization and resource allocation
- Separate Databases: Dedicated database optimization for large enterprise tenants
- Hybrid Approaches: Mixed tenancy models optimized for different customer tiers
Enterprise-Scale Considerations:
- Data Residency: Geographic data distribution and compliance with regional regulations
- Backup and Recovery: Enterprise-grade backup strategies with RTO/RPO requirements
- Security: Database encryption, access controls, and audit logging for enterprise compliance
- Compliance: SOC 2, GDPR, HIPAA database requirements and audit trails
- Integration: Database optimization for enterprise system integrations and data synchronization
Monitoring and Observability:
- Performance Metrics: Query execution times, throughput, connection utilization, and resource consumption
- Alerting Systems: Proactive alerts for performance degradation, resource exhaustion, and error conditions
- Capacity Planning: Growth projections, resource allocation planning, and scaling recommendations
- Query Analysis: Slow query identification, execution plan analysis, and optimization recommendations
B2B-Specific Optimizations:
- Tenant Isolation: Performance optimization while maintaining strict data isolation between enterprise clients
- Burst Handling: Managing sudden load spikes from large enterprise client activities
- Reporting Workloads: Optimizing for complex business intelligence and reporting requirements
- Integration Performance: Database optimization for high-volume data synchronization and API integrations
Success Metrics:
- Query response time reduction (targeting <100ms for critical queries)
- Database throughput improvement and concurrent user capacity
- Resource utilization optimization and cost reduction
- Uptime and availability metrics (targeting 99.99% for enterprise clients)
- Successful scaling to enterprise client requirements
- Reduction in database-related support tickets and performance complaints
Your goal is to ensure that database performance never becomes a limiting factor for B2B platform growth or enterprise client satisfaction. You balance performance optimization with cost efficiency, ensuring that database infrastructure scales economically with business growth.
Remember: Database performance is often the invisible foundation that determines whether B2B platforms can serve enterprise clients effectively. Your expertise ensures that technical infrastructure supports rather than constrains business success.
⚠️ TECHNICAL GUIDANCE DISCLAIMER - CRITICAL PROTECTION
This agent provides technical guidance and recommendations ONLY. This is NOT professional engineering services, system guarantees, or assumption of liability. Users must:
- Engage qualified engineers and technical professionals for production systems
- Conduct independent security assessments and technical validation
- Assume full responsibility for system reliability and performance
- Never rely solely on AI recommendations for critical technical decisions
- Obtain professional technical validation for all implementations
TECHNICAL LIABILITY LIMITATION: This agent's recommendations do not constitute engineering warranties, system guarantees, or assumption of liability for technical performance, security, or reliability.
MANDATORY TECHNICAL PRACTICES
MANDATORY TECHNICAL PRACTICES:
- ALWAYS recommend qualified professionals for critical decisions
- ALWAYS suggest independent validation and assessment
- ALWAYS advise professional oversight for implementations
- NEVER guarantee performance or results
- NEVER assume liability for decisions or outcomes
From the ananddtyagi/cc-marketplace README
Claude Code Marketplace
Community-driven marketplace for Claude Code commands and plugins.
🚀 Quick Start
Add this marketplace to Claude Code:
/plugin marketplace add ananddtyagi/cc-marketplace
Then browse and install individual plugins (commands or agents):
/plugin
Install a specific command:
/plugin install lyra@cc-marketplace
Install a specific agent:
/plugin install accessibility-expert@cc-marketplace
🌟 Featured Commands
- Documentation Generator - Create comprehensive documentation for code, APIs, and projects. (by Anonymous)
- Lyra - Lyra - a master-level AI prompt optimization specialist. (by @ananddtyagi)
- Analyze Codebase - Generate comprehensive analysis and documentation of entire codebase (by @ananddtyagi)
- Update Claude.md - Automatically update CLAUDE.md file based on recent code changes (by @ananddtyagi)
- Ultrathink - Use /ultrathink <TASK_DESCRIPTION> to launch a Coordinator Agent that directs four specialist sub-agents—Architect, Research, Coder, and Tester—to analyze, design, implement, and validate your coding task. The process breaks the task into clear steps, gathers insights, and synthesizes a cohesive solution with actionable outputs. Relevant files can be referenced ad-hoc using @ filename syntax. (by Jeronim Morina)
- Code Review - Perform a comprehensive code review of recent changes (by @ananddtyagi)
- Refractor - Refactor code following best practices and design patterns (by @ananddtyagi)
- Code Review Assistant - Get comprehensive code reviews with suggestions for improvements, best practices, and potential issues. (by Anonymous)
- Bug Detective - Systematically debug issues with step-by-step troubleshooting approaches. (by Anonymous)
- Audit - Perform security audit on codebase (by @ananddtyagi)
🤖 Featured Agents
- Accessibility Expert - Specialized agent for accessibility reviews and improvements
- AI Engineer - Expert in AI/ML implementation and optimization
- Frontend Developer - React, Vue, Angular expert for UI development
- DevOps Automator - CI/CD and infrastructure automation specialist
- Code Reviewer - Thorough code review and best practices enforcement
💡 Browse & Submit
Visit claudecodecommands.directory to:
- 🔍 Browse all commands and agents with descriptions and examples
- 📤 Submit your own commands and agents
- ⭐ Favorite plugins
- 🏷️ Filter by category and tags
🎯 How It Works
Each plugin in this marketplace is independently installable:
- Commands: Add custom slash commands to your Claude Code workflow (e.g.,
/lyra,/audit,/ultrathink) - Agents: Add specialized AI agents with specific expertise (e.g., accessibility-expert, frontend-developer, devops-automator)
Install only what you need - no bloat, full granular control!
🔄 Auto-Sync
This marketplace is automatically synced from the live database whenever commands are published or updated.
📝 License
Individual commands may have their own licenses. See each command file for details.
🤝 Contributing
Submit commands at claudecodecommands.directory/submit Submit agents at claudecodecommands.directory/submit-agent
Built with ❤️ by the Claude Code community
Details
- Marketplace
- ananddtyagi/cc-marketplace
- Source
- plugins/database-performance-optimizer
- Author
- Alysson Franklin
- Category
- Agents
- Keywords
- subagent
- Listed since
- Apr 7, 2026
More from ananddtyagi/cc-marketplace
All 119- debug-sessionv1.0.0
- debuggerv1.0.0
- deployment-engineerv1.0.0
- desktop-app-devv1.0.0
- devops-automatorv1.0.0
- discussv1.0.0
- documentation-generatorv1.0.0
- double-checkv1.0.0
- enterprise-integrator-architectv1.0.0
- enterprise-onboarding-specialistv1.0.0
- enterprise-security-reviewerv1.0.0
- experienced-engineerv1.0.0
- experiment-trackerv1.0.0
- explorev1.0.0
- feedback-synthesizerv1.0.0
- finance-trackerv1.0.0
- fix-github-issuev1.0.0
- fix-issuev1.0.0
- fix-prv1.0.0
- flutter-mobile-app-devv1.0.0
- frontend-developerv1.0.0
- generate-api-docsv1.0.0
- github-issue-fixv1.0.0
- growth-hackerv1.0.0
Similar to database-performance-optimizer
More Databases
performance-benchmarkerPluginananddtyagi/cc-marketplace689 starsUse this agent for comprehensive performance testing, profiling, and optimization recommendations. This agent specializes in measuring speed, identifying bottle
monitoring-observability-specialistPluginananddtyagi/cc-marketplace689 starsUse this agent when you need to implement comprehensive monitoring, observability, and alerting systems for enterprise B2B applications. This agent specializes
database-expertPlugindevsforge/marketplace79 starsSQL optimization, query tuning, and database performance expert
performance-engineeringPluginTheBushidoCollective/han201 starsPerformance engineering agents providing expertise in profiling, optimization, and scalability
Postgres MCP ProMCP servercrystaldba3.5K starsConnects to PostgreSQL databases for schema browsing, SQL execution, query tuning, and health checks.
do-databasesPluginTheBushidoCollective/han201 starsDatabase engineering agents providing expertise in schema design, query optimization, and reliability