Skip to content

Cache the number of members assigned on each virtual chassis #10197

@jeremystretch

Description

@jeremystretch

NetBox version

v3.3.1

Feature type

New functionality

Proposed functionality

Store the current count of members assigned to each VirtualChassis directly on the instance in the database.

Use case

Caching the member count improves query efficiency and solves for the challenge identified in #9329.

Database changes

Introduce a read-only _member_count field on the VirtualChassis to be updated automatically whenever members are added or removed.

External dependencies

No response

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions