after making a lot of data
the odoo become very slow. I create a stock and it takes 5 mins.
is there any method to improve odoo performance?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
after making a lot of data
the odoo become very slow. I create a stock and it takes 5 mins.
is there any method to improve odoo performance?
Hi Willie,
I ran into a similar problem. In general, a huge amount of data is not a problem. But I had one action that was slow.
Here is how I tracked it down:
In postgres turn on SQL statement logging. (I did this by setting "log_min_duration_statement=0" in the postgresql.conf file. Or you can do "log_statement = 'all'")
Now login as a user and try the action that was slow.
View the postgres log file to see what occurred.
The log file will show each SQL statement and the amount of time for each one. In my case I found a SQL statement that was computing an account balance in a slow fashion due to the large amount of data loaded and was using a SQL view. I was able to modify the view to be more efficient.
Hope that helps.
thanks for the help. I cannot find the postgresql.conf file, where can I find it?
Go to /etc/postgresql/9.1/main/postgresql.conf,If you are using ubuntu
I'm using ubuntu. After changing the log_min_duration_statement to 0, i still cannot see any running time in /var/log/postgresql/postgresql-9.3-main.log. did I check the wrong log?
Then try changing: log_statement = 'none' to be: log_statement = 'all'
Hi willie ho,
We have improved the perfomance by unistalling some modules that we don't use, for example, the chat module.
Regards,
Juan José - ADHOC
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up