On Thu, Feb 28, 2008 at 11:09:51AM +0100, Lutz Steinborn wrote:
> Any hint how to improve the import performance for complex
> objects ?

   Another idea is to patch SQLObject to prevent it doing SELECT after an
every INSERT - I think it is the worst offender of speed. But you have to
understand that after that you can only do

MyTable(**init_data1)
MyTable(**init_data2)

   not

row = MyTable(**init_data1)
do_something(row)

   Well, you can do the latter, but you really have to understand SQLObject
internals and data flow.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to