Slow prefix search without filter #5947
Replies: 3 comments 5 replies
-
60,000 prefixes in 10 minutes is only 100 per second; that seems very low. You need to find out whether the problem is with postgres or with Netbox processing the results (although I expect it would do a "limit" query so actually only the first page-full would need to be processed). Can you start by doing a query log, either in postgres or in django, to see exactly what SQL query(ies) are being sent by Netbox to Postgres? Also, how is your Postgres database deployed? Is it backed by hard drives or SSDs? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
We have only 1500 prefixes but it's taking 45 seconds to retrieve those and We're running 3.2.9. The database storage is on nvme SSD with plenty of RAM. Is this a normal level of performance or are there areas we can look at to speed this up? Regards, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have about 60000 total prefixes. When there is no cache and when I don't use search filter, loading the prefix page takes like 10 minutes. I extended nginx timeout value to a big value but waiting this time is not acceptable for my users. My use case is the only Prefix in NetBox. I am sure Postgresql query is taking a long time in the background but what can I tweak?
Beta Was this translation helpful? Give feedback.
All reactions