Save partner information gets very slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP's Framework R&D |
Bug Description
Version 7.x [bzr] / postgres 9.1 / debian linux
Database has roughly 13.000 partner records.
When editting a partner and modifying one of the contact records of it the save operation is very slow (> 60 secs sometimes). When editting the partner contact record directly the performance is normal.(< 1 sec)
I'm at a loss what could cause this, the only thing which is odd is that the whole operation seems to play out in 'slow motion' in the log. The query log (--log-sql) shows the queries in a slower rate than other operations on the same installation.
The save operation completes successfully eventually, even if the client has timed out (which is our proxy configuration)
Things checked:
- all browsers affected
- there are no slow queries logged (>200ms) by Postgres
- the load of the application server nor the database server increases noticeably
- moved the whole installation to a local machine (to take out possible network errors) -> no difference
- full vacuum of database makes no difference
To clarify a bit:
The problem only occurs when editting the contact information in the 'subscreen' of a partner of type company.