-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Lens] Paginate index pattern list, especially if there are > 1000 index patterns stored #55910
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
This is a unified search issue but I am not sure about how the dataview service works right now. Is the above feasible @elastic/kibana-data-discovery ? |
correct me if I'm wrong @mattkime , I think incremental loading is not built in. However, did we render the whole list 2020? because if so, in the meantime, we don't, right? |
Does the UI handle a large number of data views well? As far as the service side of things, the logic around this isn't terribly clever but perhaps its fine. Might be worth a performance test to make sure it scales. We load a small set of attributes for the first 10k data views - https:/elastic/kibana/blob/main/src/plugins/data_views/common/data_views/data_views.ts#L366 |
The UI fetches them with the
A performance test would be a good idea yes. What are you using for testing the performance of dataviews? I mean do you have a tool which produces plenty of dataviews or something like that to help with the testing? I think it would be a good idea to add pagination both in the api and the client. |
2 cents from my end. The EuiSelectable is using virtualization for those lists. So there shouldn't be a performance issue, unless the preparation of the list is expensive, but this doesn't seem to be the case. Of course loading all entries at once are taking memory, however, our virtualized field list is dealing with 50k fields, without a rendering issue ... hasn't always been the case. this issue was created in 2020, I think back then it worked differently, maybe just a unvirtualized drop down: |
You are right! So this should not be an issue.
@kertal honestly I don't know 😂 I think that it was using the EUISelectable always but I am not sure if it was virtualized back then. 🤔 |
Seems we could at least at a performance test when working with a high number of data views (over 1000) |
Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner. |
No description provided.
The text was updated successfully, but these errors were encountered: