- Created structured documentation with /patterns/, /examples/, and /reference/ directories - Implemented automatic context loading rules in CLAUDE.md based on file extensions, directories, and keywords - Added technology-specific patterns for Docker, Python, Node.js, Vue.js, Bash, networking, databases, and VM management - Included complete working examples for common workflows and troubleshooting references - Designed for minimal context usage with precise loading triggers 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
# Database Patterns
|
|
|
|
## Database Design
|
|
- **Normalization** vs **denormalization** strategies
|
|
- **Indexing** for query performance
|
|
- **Schema versioning** and migrations
|
|
- **Data modeling** for specific use cases
|
|
|
|
## Performance Optimization
|
|
- **Connection pooling** and management
|
|
- **Query optimization** and execution plans
|
|
- **Caching layers** (Redis, Memcached)
|
|
- **Read replicas** and load distribution
|
|
|
|
## Backup & Recovery
|
|
- **Automated backup** scheduling
|
|
- **Point-in-time recovery** strategies
|
|
- **Cross-region replication** for disaster recovery
|
|
- **Backup testing** and validation
|
|
|
|
## Security & Access Control
|
|
- **User privilege management** and roles
|
|
- **Data encryption** at rest and in transit
|
|
- **Audit logging** and compliance
|
|
- **Network security** and access restrictions
|
|
|
|
## Related Documentation
|
|
- Examples: `/examples/databases/mysql-setup.md`
|
|
- Examples: `/examples/databases/postgres-optimization.md`
|
|
- Examples: `/examples/databases/redis-caching.md`
|
|
- Reference: `/reference/databases/troubleshooting.md`
|
|
- Reference: `/reference/databases/performance.md` |