symfonydoctrine-batch-processing
Process large datasets efficiently with Doctrine batch processing, iteration, and memory management
When & Why to Use This Skill
This Claude skill specializes in optimizing Symfony applications through efficient Doctrine batch processing. It provides expert guidance on managing memory, handling large-scale data iterations, and implementing best practices for ORM performance to prevent memory leaks and ensure stable database operations when dealing with massive datasets.
Use Cases
- Data Migration: Efficiently importing or updating millions of database records from external sources into a Symfony-based system while maintaining low overhead.
- Memory Management: Implementing proper iteration techniques and clearing the Doctrine identity map to process large entity collections without exceeding PHP memory limits.
- Bulk Operations: Executing complex logic-based updates across extensive datasets by leveraging batching strategies to ensure database stability and performance.
| name | symfony:doctrine-batch-processing |
|---|---|
| description | Use when symfony doctrine batch processing |
symfony:doctrine-batch-processing (Micro)
Use when
- Use when symfony doctrine batch processing
Rules
- Keep changes minimal and focused
- Ask before running servers/builds/tests
- Load reference/examples only on explicit request
References
reference.mddocs/complexity-tiers.md