Re: SQLAlchemyDA vermehr doppelte einträge beim Einfügen

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Message-ID <[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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.