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
- Gemini 2.0 Flash: An outstanding multi-modal LLM with a sci-fi streaming mode - 11th December 2024
- ChatGPT Canvas can make API requests now, but it's complicated - 10th December 2024
- I can now run a GPT-4 class model on my laptop - 9th December 2024