开发者

Django: Loading large JSON dataset with loaddata

开发者 https://www.devze.com 2023-01-09 12:22 出处:网络
I\'m trying to load a large dataset of about 76K entries from a JSON file generated by the dumpdata command and after a while the pr开发者_运维知识库ocess exits with only \"Killed\" as error message .

I'm trying to load a large dataset of about 76K entries from a JSON file generated by the dumpdata command and after a while the pr开发者_运维知识库ocess exits with only "Killed" as error message ..

What do ?

No I can split the dataset by app .. all the heavy data is contained within a single table.


The problem is that resource limits are killing the load before it's complete. If you can access the database remotely then you can set up the Django project on a local machine pointed at the remote database, and perform the loaddata there.

0

精彩评论

暂无评论...
验证码 换一张
取 消