W dniu 25.02.2009 11:53, bruno desthuilliers pisze:
> On 25 fév, 11:00, Sean<liushu2...@gmail.com>  wrote:
>    
>> Hi,
>>
>> I am using django+MySql.
>> My job involves to write a huge number of products codes into the
>> MySql, code such as: ABCDEFGHI10, it is typically between 1 million up
>> to 50 million codes within 1 file, which need to be uploaded/
>> downloaded into MySql.
>>
>> The problem for this is it takestoo much time to insert data into the
>> database,
>>      
You can remove ORM from import and insert by plain sql and mysqldb this 
will reduce python CPU usage

--~--~---------~--~----~------------~-------~--~----~
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