ibmdb / python-ibmdb-django

IBM DB2 Driver for the Django application Framework
Apache License 2.0
29 stars 42 forks source link

django loaddata is too slow #235 #17

Closed hemlatabhatt closed 3 years ago

hemlatabhatt commented 6 years ago

Hello, I am trying to migrate the data from sqllite to db2. I have used the dumpdata to take the backup from sqlite and using loadata to populate existing db2. The commands i habe been following are: manage.py dumpdata --exclude auth.permission --exclude contenttypes --exclude sessions --output db.json

For loading to existing db2: manage.py loaddata db.json

The data we've to migrate is pretty big, and the parsing utility of loaddata is taking time to formulate the sql statements against the db2. Can you check if the timing can be improved?

Regards, Milind