openerp-connector-community team mailing list archive
-
openerp-connector-community team
-
Mailing list archive
-
Message #00730
unread mail.message runs into performance problems [v8]
Hi,
in Odoo v8 we have the problem, that as a result of the connector all
user has a lot of unread mail.message.
If i m not admin and login to odoo, odoo loads checks all unread
messages and is slow.
We figure out, that odoo that it comes from the "mail" module have a sql
query to be slow to check rights. It building a "any ( ARRAY ( MANY IDS
) )" query, that postgres performance not well.
Has anyone run in this problem and how to solve it?
In v7 it is never a problem. So i don't know if belongs to change on
"mail" module or on ORM changes for v8.
Kind Regards
Markus
--
Dipl.-Comp.-Math. Markus Schneider
Softwareentwickler
initOS GmbH
An der Eisenbahn 1
21224 Rosengarten
Mobil: +49 (0)172 2303699
Phone: +49 (0)4105 5615613
Fax: +49 (0)4105 5615610
Email: markus.schneider@xxxxxxxxxx
Web: http://www.initos.com
Geschäftsführung:
Dipl. Wirt.-Inf. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
Sitz der Gesellschaft: Rosengarten – Klecken
Amtsgericht: Tostedt, HRB 205226
Steuer-Nr.: 15/205/21518
USt-IdNr.: DE815580155