Skip to content
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

Performance problem of Data Visualizer in Discover for large index patterns #119759

Closed
timroes opened this issue Nov 25, 2021 · 3 comments
Closed
Labels
discuss Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@timroes
Copy link
Contributor

timroes commented Nov 25, 2021

When the data visualizer is used in Discover and tried to be switched to on an index pattern with a lot of fields (tested with 30k) the whole browser freezes us for at least 10 seconds. I think we need to improve performance of the Data Visualizer before we can enable it on large index patters.

We have basically two options:

(1) Leave it as it is, i.e. since the advanced setting to turn it on is off by default, users will never run into that by default.
(2) Even when the flag is on, disable the button in Discover (with a hint) if the index pattern has above a specific amount of fields.

@qn895 Do you have any experience from prior performance testing, up to how many fields the Data Visualizer will still run smoothly?

@timroes timroes added discuss Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Nov 25, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@VijayDoshi
Copy link

Does this happen on load of Discover or when you switch to the Field Statistics view if the default Data View is the one with 30k fields?

@kertal
Copy link
Member

kertal commented Apr 4, 2022

Fixed by #124898

@kertal kertal closed this as completed Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

4 participants