On Thu, 6 Dec 2007 01:18:24 +0300
Oleg Broytmann <[EMAIL PROTECTED]> wrote:

> On Wed, Dec 05, 2007 at 10:23:10PM +0100, Petr Jake?? wrote:
> > Does some example, hint or snippet of the code exists which shows how to use
> > 
> >     export_csv  and/or   export_csv_zip functions?
> 
>    Look at tests/test_csvexport.py.
> 
> > BTW, does some function/method exist for the import to the database?
> 
>    No. Mass-import using SQLObject would be too slow. Direct import is much
> faster.
> 
Yes, but only suitable for plain tables not for complex objects with
many relations. Any hint how to improve the import performance for complex
objects ?

We have to import hundreds of thousands articles from xml catalogs each
week. A 20-30% performance improvement we get with the usage of transactions
and lazyUpdate.

Kindly regards
Lutz

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