IPAM migration 0072 not performant with large number of existing prefixes #18438
Labels
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
NetBox Cloud
NetBox Version
v4.2.2
Python Version
3.10
Steps to Reproduce
Expected Behavior
The database migrations should complete within a reasonable amount of time.
Observed Behavior
The
0072_prefix_cached_relations
migration within theipam
app can take an excessively long time to complete when there exist many thousands of prefixes in the database. This is due to a missingbatch_size
parameter in thebulk_update()
operation.The text was updated successfully, but these errors were encountered: