Editorial question36.2K views4,681 votes0 answers4,764 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,