[Index Management] Large number of indices take a long time to load #126242
Labels
enhancement
New value added to drive a business result
Feature:Index Management
Index and index templates UI
performance
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Problem
Index Management gets noticeably slow when loading a large number of indices. Currently, the app is loading all existing indices in the browser and the pagination for the indices table is calculated on the client side. This approach works but the page gets slower the more indices there are in the deployment. This issue is to investigate the risk and limitations of the current implementation and work on performance improvements.
Loading time when fetching indices
Cloud deployment with many indices
In #126169, I added a logger to "fetch indices" route to track where the time is spent when indices are loaded. Following "checkpoints" were monitored:
I added sequentially 1000, 2000, 3000, 4000, 5000 and 8000 indices to the deployment via this script. I stopped the testing at 8000 indices because the deployment kept failing. That will be investigated more in other tasks of this issue.
The logs were shipped to the deployment and I could filter them in discover and export to a csv file. The raw data is collected in this doc.
Average durations in ms
Performance improvements based on loading times findings
The text was updated successfully, but these errors were encountered: