In my experience, you need to write a script that you can configure as-needed. Depending on the types of inserts, I've had different performances.
* I always set up "batches" to be configurable ; I start at 100, then try to go up & down * I set toggles/thresholds on when I `flush`. After every object? After 100 objects? After uids are generated? * I set toggles/thresholds on when I commit. Same thing works for batch updates. One script of mine had commits on every item -- took over 2hours to run. When I started moving to flushes , commits, and a delayed action... same script turned into 30 seconds of execution. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.