Current Behavior
As the title suggests, simply opening the "Vulnerability Audit" tab results in a long wait while loading, followed by the error message "Failed to load table data".
This happens on a portfolio with around 66K projects and 14.5M components running DT version 5.0.2.
The test user has access to all projects.
DTv4 with a similar portfolio is able to open the same view in just a few seconds.
A look at the database with pgAdmin shows the query in question taking more than several minutes.
In fact, it is still running ~30min after the UI gave up, so this might eventually become a resource/connection exhaustion problem as well?
Unfortunately, pgAdmin cuts off the query after 61 lines and the source code has quite a lot of dynamic annotations, so I cannot provide the output of EXPLAIN at this time.
Steps to Reproduce
- Deploy DTv5
- Have a modestly-sized portfolio
- Navigate to the "Vulnerability Audit" tab in the UI
- observe the issue
Expected Behavior
The UI works as expected and database resources are not exhausted.
Dependency-Track Version
5.x
Browser
N/A
Checklist
Current Behavior
As the title suggests, simply opening the "Vulnerability Audit" tab results in a long wait while loading, followed by the error message "Failed to load table data".
This happens on a portfolio with around 66K projects and 14.5M components running DT version 5.0.2.
The test user has access to all projects.
DTv4 with a similar portfolio is able to open the same view in just a few seconds.
A look at the database with pgAdmin shows the query in question taking more than several minutes.
In fact, it is still running ~30min after the UI gave up, so this might eventually become a resource/connection exhaustion problem as well?
Unfortunately, pgAdmin cuts off the query after 61 lines and the source code has quite a lot of dynamic annotations, so I cannot provide the output of
EXPLAINat this time.Steps to Reproduce
Expected Behavior
The UI works as expected and database resources are not exhausted.
Dependency-Track Version
5.x
Browser
N/A
Checklist