2011/6/30 Michael Bayer <mike...@zzzcomputing.com>

> 2011/6/30 Michael Bayer <mike...@zzzcomputing.com>
>>
>> This looks like you have 49000 calls to session.commit(), so, depending on
>> what you're doing, I'd reduce the number of commit calls down to one, after
>> the entire series of insert operations is complete.  Transactions should be
>> written to enclose a full series of operations.
>>
>
> Hmm i guess so but this is a particular concurrent context where i need
> those commits.
>
>
> that sounds curious.   Do you have multiple processes communicating via
> information passed in the database ?
>
> It's not exactly a communication as they are not really exchanging
informations, but it ensure that some operations are done only once even if
a machine crashes.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to