-
State changed as build OD-8183 is successful
-
OneDev
changed state to 'Closed' 5 days ago
Previous Value Current Value Open
Closed
-
No problem. Thx for all the great feedbacks to help making OneDev better.
-
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
16.5.3 and earlier
|
| Labels |
No labels
|
Issue Votes (0)
For quite some time now normal users have a 2-3 second delay before the page is loaded. Query statistics in pgAdmin4 show that a single click of a normal user causes roughly 500 transactions per seconds which in turn causes the 2-3 second delay.
After enabling
pg_stat_statementsI found that the query below will be executed a lot while navigating OneDev, even if the pages do not show any issues (e.g. switching between SSH / GPG keys in user settings).I suspect it is classic JPA N+1 query issue and further investigation showed:
Seems like the query is used for permission calculation (for side menu maybe?) as administrative users are not affected.
Please fix the N+1 queries issue.