Persist large datasets efficiently using Doctrine mapping configuration