Skip to content

Bulk importing devices extremely slow #19321

@martijnremmen

Description

@martijnremmen

Deployment Type

Self-hosted

NetBox Version

v4.2.6

Python Version

3.12

Steps to Reproduce

  1. create all required models for a device (role, manufacturer, status, site)
  2. import device_type Catalyst 9200L-48P-4X
  3. import 10 devices using this device_type as csv.

Notes:

  • I am using a locally hosted Postgres instance in Docker with image postgres:15-alpine

Expected Behavior

the import completing within seconds

Observed Behavior

the import completes in more than 1 minute. Performs more than 11K SQL queries. And gives no progress indicator. for just 10 devices

Image

Metadata

Metadata

Assignees

Labels

severity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions