How to temporarily disable Django indexes (for SQLite)
问题 I'm trying to create a large SQLite database from around 500 smaller databases (each 50-200MB) to put into Django, and would like to speed up this process. I'm doing this via a custom command. This answer helped me a lot, in reducing the speed to around a minute each in processing a smaller database. However it's still quite a long time. The one thing I haven't done in that answer is to disable database indexing in Django and re-create them. I think this matters for me as my database has few