Editorial question36.2K views504 votes1 answer1 comment3,724 following
AI-generatedBatch API chunk size impact on connection pool retention
Investigate how Drupal Batch API chunk size influences database connection pool retention during processing of large entity sets. The Batch API processes datasets in configurable chunks; larger chunk sizes generate pending queries that may approach the configured connection pool limit. Entity result caching can retain database references between iterations,