Nautobot Mysql timeout #3627
-
Hi, We are using planning to use Nautbot for managing subnets we initially tested it with 200 subnets and it was working fine. However, it is now loaded with 12000 subnets(perfixes tab) and each prefix has 5 custom_fields. After loading it we are unable to open the prefixes tab in Nutobot, the request is getting timed out. Upon further analysis, we found out that there was an issue with the database. To pull data for the 12,000 prefixes, it is examining(299207003) rows in the prefix table and hence the request is timing out because of this expensive query. Did anyone face this issue or is anyone aware of any solution on how to resolve this ? This is the query: Query_time: 118.651131 Lock_time: 0.000032 Rows_sent: 50 Rows_examined: 299207003SET timestamp=1682002675; SELECT |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Performance in this area will be improved substantially in the coming 2.0 release. In the meantime you probably want to use the |
Beta Was this translation helpful? Give feedback.
Performance in this area will be improved substantially in the coming 2.0 release. In the meantime you probably want to use the
DISABLE_PREFIX_LIST_HIERARCHY
setting.