Monday, August 1, 2011

Re: manage.py dumpdata json storage problem

I found the ticket to this issue (with patchs)

https://code.djangoproject.com/ticket/5423

On Mon, Aug 1, 2011 at 9:32 AM, Ricardo L. Dani <ricardodani@gmail.com> wrote:
Hello django-users,

I'm having problems trying to serialize the data of a postgresql db of my business application (lots of lots of data)

Using the command:

./manage.py dumpdata > data.json

But, the execution of this command takes a long time and the ram and swap of the computer reachs the limit causing a exeption:

django.db.utils.DatabaseError: out of memory for query result

The question is, somewone knows a way to this command write in the data.json directly or in demand? I believe this is the problem and solution, am I correct?

graciously,

-- 
Ricardo Lapa Dani



--
Ricardo Lapa Dani

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment