-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox Edition
NetBox Community
NetBox Version
v4.4.0
Python Version
3.10
Steps to Reproduce
- Have a large installation (10k+ devices, 100+ config contexts)
- Make API requests like /api/dcim/devices/?limit=10
- Observe response times are still slower than expected for a 10-device response
While PR #20346 provided significant improvement (15x performance gain) for the config context query performance issue reported in #20327, users with large installations are still experiencing slower-than-acceptable API response times.
Expected Behavior
API requests for small result sets should return in reasonable time (<1s) regardless of total database size.
Observed Behavior
Even after the DISTINCT optimization in #20346 , API responses are still slower than expected for large installations.
Metadata
Metadata
Assignees
Labels
netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationThis issue is tentatively accepted pending a volunteer committed to its implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application