| published by | Anže Pečar |
|---|---|
| in blog | Anže’s Blog |
| original entry | Django bulk_update memory issue |
Recently, I had to write a Django migration to update hundreds of thousands of database objects. With some paper-napkin math I calculated that I can fit all the necessary data in memory, making the migration much simpler than it would have been otherwise.