Re: SQLAlchemyDA vermehr doppelte einträge beim Ei nfügen
Vladislav Vorobiev <[email protected]>
| Newsgroups | gmane.comp.web.zope.german |
|---|---|
| Message-ID | <[email protected]> |
Hallo Andreas, doch hatte ich, ist nicht angekommen? Ich verwende INNODB. Gruß Vlad Am 21. Juli 2010 13:25 schrieb Andreas Jung <[email protected]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Warum beantwortest Du nicht einfach meine Frage? :-) > > Andreas > > Vladislav Vorobiev wrote: >> Damit wir uns auch richtig verstehen. >> >> Es werden schon alle drei abfragen oder keine ausgeführt. Die >> Konsistenz der Daten bleibt erhalten. >> >> Endwerder: (normal fall) >> >>>> db.addNewOrderSQL() >>>> db.addMachNochEtwas1() >>>> db.addMachNochEtwas2() >> >> oder (doppelte bestellung) >> >>>> db.addNewOrderSQL() >>>> db.addMachNochEtwas1() >>>> db.addMachNochEtwas2() >> >>>> db.addNewOrderSQL() >>>> db.addMachNochEtwas1() >>>> db.addMachNochEtwas2() >> >> Gruß >> Vlad >> >> Am 21. Juli 2010 13:13 schrieb Andreas Jung <[email protected]>: >>> MySQL verwendet transaktionsfähige Tabellen? >>> -aj >>> >>> Am 21. Juli 2010 13:10 schrieb Vladislav Vorobiev >>> <[email protected]>: >>>> Hallo, >>>> >>>> wir betreiben hier einige online-shops unter Verwendung von >>>> mysql-datenbank. >>>> Seit der Umstellung auf Products.SQLAlchemyDA als Datenbankadapter >>>> kommt es vermehrt zu Doppelten Einträgen bei einer Berstellung. >>>> >>>> Bei eine Bestellung schreiben also mehrere in die Datenbank. >>>> >>>> db.addSQL1() >>>> db.addSQL2() >>>> db.addSQL3() >>>> >>>> return self.REQUEST.RESPONSE.redirect(xxxx) >>>> >>>> Der Shop steht nicht unter last, ca. 10 Bestellungen pro Stunde. Von >>>> den 10 Bestellungen ist mindestens eine Doppelt. Vermutlich hat es >>>> etwas mit den Transaktionen auf sich. Der Code ist einfach, deshalb >>>> weiß ich nicht wirklich wo man suchen sollte. >>>> >>>> Hat jemand eine Idee wie man es optimieren könnte. Mysql Server ist in >>>> der 5.1.48-1 Version. >>>> >>>> -- >>>> Best Regards >>>> Vlad Vorobiev >>>> >>>> >>>> _______________________________________________ >>>> zope mailing list >>>> [email protected] >>>> https://mail.dzug.org/mailman/listinfo/zope >>> >>> >>> >>> _______________________________________________ >>> zope mailing list >>> [email protected] >>> https://mail.dzug.org/mailman/listinfo/zope >>> >>> >> >> >> > > > - -- > ZOPYX Limited | zopyx group > Charlottenstr. 37/1 | The full-service network for Zope & Plone > D-72070 Tübingen | Produce & Publish > www.zopyx.com | www.produce-and-publish.com > - ------------------------------------------------------------------------ > E-Publishing, Python, Zope & Plone development, Consulting > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkxG2RQACgkQCJIWIbr9KYwkqgCeL9z49vXc7hINFa/hloOVkHFE > gJsAn3qHPXX/YSywKi3wpusErEiE+AY8 > =mi6U > -----END PGP SIGNATURE----- > > > > _______________________________________________ > zope mailing list > [email protected] > https://mail.dzug.org/mailman/listinfo/zope > > -- Best Regards Vlad Vorobiev _______________________________________________ zope mailing list [email protected] https://mail.dzug.org/mailman/listinfo/zope