-
-
Notifications
You must be signed in to change notification settings - Fork 623
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][FIX] account_financial_report: optimize computation of analytic accounts #1105
[16.0][FIX] account_financial_report: optimize computation of analytic accounts #1105
Conversation
Please @norlinhenrik @gurneyalex @rousseldenis could take a look here? We cannot install in a BIG 16 DB. Thanks! 😄 ❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in production 👍🏼
👍🏼 Now I can install
👎🏼 Before never install
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Nice performance improvement! In my code review, I first thought that |
Check also #1081 |
…unts Installing the module in a big DB was very slow. I applied several optimizations to the method for working better with big datasets: - Prefetch all analytic account distribution. - Batch writes as much as possible. @moduon MT-4982
807e171
to
f4e7e2a
Compare
@norlinhenrik applied. @pedrobaeza I saw that, but it's a draft and involves behavioral changes. This one is just a performance optimization that can improve the current implementation, independently of what's decided there finally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, let's go with it!
/ocabot merge patch
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at b2d4856. Thanks a lot for contributing to OCA. ❤️ |
Installing the module in a big DB was very slow.
I applied several optimizations to the method for working better with big datasets:
@moduon MT-4982