[Zope] Re: Long transactions and conflict errors
Tres Seaver
tseaver at zope.com
Tue Mar 1 09:33:59 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Pascal Peregrina wrote:
| Hi,
|
| During a long transaction that reads lots of ZODB objects in order to
| generate a report, I get Conflict Errors, which is not a suprise as other
| users keep accessing some of the same objects.
|
| I would like to know if during a transaction there is a way to "unlock"
| objects from which I read some values but that I don't need anymore
for the
| rest of the transaction execution.
ZODB 3.3 attacks this problem using "multi-version concurrency control",
~ which allows for "generational reads" of objects as they were at the
start of the transaaction. MVCC eliminates the classic ReadConflict
problem, because all reads are made from a transactionally-consistent
timepoint.
ZODB 3.3 is available from SVN, or as part of one of the Zope 2.8 alphas.
Tres.
- --
===============================================================
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCJH1WGqWXf00rNCgRAsn0AJ9UmaUGlR1dxBBSPRoOqq3qagnlpgCbBY6u
y5Xz6/PWbYoCPodzL6A1F6A=
=Akz8
-----END PGP SIGNATURE-----
More information about the Zope
mailing list