-
-
Notifications
You must be signed in to change notification settings - Fork 697
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
[PERF] account_invoice_change_currency: Slow query from domain #469
Comments
hugho-ad
added a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Dec 24, 2018
id, instead search them by messages ids then filter them fix OCA#469
@moylop260 |
hugho-ad
added a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Jan 7, 2019
id, instead search them by messages ids then filter them fix OCA#469 [REF] account_invoice_change_currency: Sql queries in order to improve performance [FIX] account_invoice_change_currency: Fixed tests
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Feb 1, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Feb 1, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Feb 2, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Feb 24, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Mar 8, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Mar 9, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Mar 22, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Mar 31, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Mar 31, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Apr 1, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Apr 6, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Apr 18, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
Apr 22, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
May 3, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
May 6, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
May 13, 2022
rolandojduartem
pushed a commit
to vauxoo-dev/account-invoicing
that referenced
this issue
May 17, 2022
ljsalvatierra-factorlibre
pushed a commit
to factorlibre/account-invoicing
that referenced
this issue
Oct 11, 2022
ljsalvatierra-factorlibre
pushed a commit
to factorlibre/account-invoicing
that referenced
this issue
Dec 22, 2022
ljsalvatierra-factorlibre
pushed a commit
to factorlibre/account-invoicing
that referenced
this issue
May 26, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following line of code:
account-invoicing/account_invoice_change_currency/models/account_change_currency.py
Line 115 in 7cb1413
Run the following sql query:
SELECT mail_message.id FROM mail_message WHERE (mail_message.subtype_id != 58) ORDER BY mail_message.id DESC;
This is so slow (2s) because the result is too big if you have too many records.
After that will process the result of all ids fetched for a second query, then it is so slow.
@hugho-ad
Could you help us, please?
The text was updated successfully, but these errors were encountered: