Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Moving large dataset across django databases

What's the best way to move large dataset from one django database to another?

I would like to do this at high level (in django) and not at the database level. All the existing tools that I know of (dumpdata/loaddata, serializer class, django-extensions) are in memory so it doesn't handle large datasets.

like image 438
kefeizhou Avatar asked Feb 13 '26 16:02

kefeizhou


1 Answers

I found this post very useful - Migrating Django from MySQL to PostgreSQL the Easy Way.

like image 92
adamk Avatar answered Feb 15 '26 06:02

adamk