Prevent database migration from consuming all the RAM on the server
Prevent large production databases from consuming all the RAM on the server and causing the migration to take forever. With this patch, objects are read in batches from the database. This removes the need to hold ruby objects for all rows for a type in memory at once.
Please register or sign in to comment