I need to upload a lot of data to a MySQL db. For most models I use django\'s ORM, but one of my models will have billions (!) of instances and I would like to optimize its
are you serisouly suggesting loading billions of rows (sorry instances) of data via some ORM data access layer - how long do you have ?
bulk load if possible - http://dev.mysql.com/doc/refman/5.1/en/load-data.html