On Jun 21, 2013, at 7:03 PM, graf <[email protected]> wrote: > sweep - sort of a garbage collector which removes unused versions of > transaction. There is Database header page information, where you can see the > the current transaction state, there are two parameters: Oldest transaction > and Next transaction. The range from Oldest to Next - is the versions of > transactions. The amount of versions slows down the database speed. So > SQLAlchemy is looking somewhere this "Oldest transaction" and after the > database works slowly.
sorry, there is no such functionality in SQLAlchemy. There is no "looking for a transaction" or anything like that. SQLAlchemy is a facade over the Python DBAPI, where the core object is the "connection". "connection" has a "rollback()", and a "commit()" method, and a Session refers to exactly one "connection". You can learn more about this API here: http://www.python.org/dev/peps/pep-0249/ . -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.
