跳至內容
選單
此問題已被標幟
1 回覆
16844 瀏覽次數

Hello

How can I speed up the loading of odoo views?

I use the community version with a good server with very good resources and performance,

and I follow this link: https://www.rosehosting.com/blog/how-to-speed-up-odoo/ to speed up my odoo server but no change!!!!!

It takes more than 20 seconds to load the client table!

Another solution?!

頭像
捨棄
最佳答案

speed improvement is a very tricky task so here is a common issue which makes the server slow but there could be other reasons too :)​

Configuration:

1) Monitor server resource and make sure it does not consume 100% all the time otherwise you need to upgrade hardware configuration (mostly hosting provider provide tools to monitor hardware usage) 
2) configure/start odoo with worker 
3) proper configure Nginx web server so it could handle the log-polling request 
4) configure Postgres server according to your resources using pgture

Profiling:

5) profile odoo server using flame graph which provides an overview of which method take most of the time
6) using odoo build profile pinpoint the method line which takes much time and try to resolve it using code optimization
7) monitor progress using pgboucer and make a report which provides which queries take most of the time. here you can find where most of the time odoo waiting for Postgres response

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
7月 24
2593
1
6月 24
5057
1
10月 23
10728
1
10月 23
98
1
8月 23
2193