I've manage a program that syncs data from a program that uses MSSQL to Odoo with rpc. The odoo database has a lot of records and when it updates a record in payment.type it takes a very long time, especially for the most used type. Does the write method update all related records that use the payment type or what can cause the overhead?
Cette question a été signalée
5283
Vues
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
3
août 17
|
7629 | ||
|
|
0
mai 17
|
8 | ||
|
|
0
mai 23
|
4110 | ||
|
|
0
févr. 22
|
3020 | ||
|
|
1
déc. 20
|
7245 |
Hi, so many answers are possible for such a context.
First of all, which version are you running, what is your odoo.conf content, did you use loglevel as debug, did you log postgresql logs ?
Also precise an estimation of the number of datas you manipulate
The version is odoo 10, the logs (odoo and postgresql) are disabled. The estimation of data is 10k+.