While attempting to improve performance of bulk inserting data into MySQL database my coworker came across the LOAD DATA SQL statement. It allows you to read data from a text file (in a comma separated variable-like format) and quickly insert it into a table. There’s two variations of it …
https://patrick.cloke.us/posts/2020/01/23/using-mysqls-load-data-with-django/