Hi I am new to Django.

I worked through the tutorial.

I created a small test app on:
 - Win7 64bit
 - python 2.7.3 (32bit)
 - Django 1.4.1
 - using the development server
 

Now I wanted to populate the (sqlite backend) database
with a python script.

My Problem:

I Insert 3 Object (like MyModel.objects.create(name="..", comment="..") ).

They consts only of 2 strings.

Inserting these 3 items take roughly 1 sec.

In settings.py I set DEBUG = False, but this doesnt help much
(I readed something about this on the net).

I retried with the mysql backend:
 -  mysql 5.5.27 (64bit)
 - using sockets (named pipe on windows)

Now the time varies between 0.2 sec and 0.8 sec every time
I insert suche a 3 object tripplet.


My Problem: I will populate it with 50000 items.

Has Django really such a bad performance for data insertion?

I can't believe it, so ... can somebody give me a hint?
Is there a doc page dedicated to speed/performance issues??

Otherwise I have to look for an other system.

Thanks 

Anton





-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to