Ensure database indexes are created for all generic foreign keys #11790
Labels
status: accepted
This issue has been accepted for implementation
type: housekeeping
Changes to the application which do not directly impact the end user
Milestone
Proposed Changes
Audit all NetBox models and ensure that appropriate PostgreSQL indexes have been created for the combination of content type and object ID wherever generic foreign keys are in use.
Justification
This was prompted by #11775, which identified the absence of an index for cached search values as a performance detractor. Per the Django docs:
The text was updated successfully, but these errors were encountered: