-
Notifications
You must be signed in to change notification settings - Fork 58
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
The update_full_account_codes trigger can get slow #40
Comments
Here is output from PostgreSQL explain analyze:
|
To what extent is this still a problem @PetrDlouhy? |
@adamcharnock With #49 the problem disappeared for me, because I use large number of accounts, but only few of them have EDIT: I realized, that the trigger is disabled on my application, so I am not sure if it wouldn't be a problem if I enabled it in current state. |
Ok, thank you @PetrDlouhy! I think #117 should now really sort this out. |
I have about 13000 hordak accounts in my system (2 for every user account), and creating new accounts are starting to be very slow (~7 seconds). It is caused by the
update_full_account_codes
trigger, which take about 3 seconds.The text was updated successfully, but these errors were encountered: