Python Django load MySQL database from csv files performance issue?
12th February 2012
My answer to Python Django load MySQL database from csv files performance issue? on Quora
Don’t use the Django ORM for bulk imports—the performance overhead is pretty small for regular web page stuff, but it adds up if you are running millions of inserts.
Either write your import code to call MySQLdb directly or use the mysqlimport command line tool.
More recent articles
- My AI/LLM predictions for the next 1, 3 and 6 years, for Oxide and Friends - 10th January 2025
- Weeknotes: Starting 2025 a little slow - 4th January 2025
- I still don't think companies serve you ads based on spying through your microphone - 2nd January 2025