-
Notifications
You must be signed in to change notification settings - Fork 238
Link to ES|QL query performance guide #6932
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
base: main
Are you sure you want to change the base?
Changes from all commits
146b475
72ac49a
f652602
e3e3d82
53d76b3
76ecbc6
3d31850
d354dfb
c46245a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -111,6 +111,10 @@ If you’ve triggered the fielddata circuit breaker and can’t disable fielddat | |
| POST _cache/clear?fielddata=true | ||
| ``` | ||
|
|
||
| **Optimize expensive queries** | ||
|
|
||
| Both [Query DSL](../../explore-analyze/query-filter/languages/querydsl.md) and {{esql}} queries can trigger circuit breaker errors when they consume large amounts of memory. For {{esql}}, high-cardinality `STATS BY` groupings are a common cause. Refer to [Optimize {{esql}} query performance](elasticsearch://reference/query-languages/esql/esql-query-performance.md) for techniques to reduce memory usage. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😭 this is not what I think we're aiming for. we're providing a super helpful link for esql techniques here, and we haaave a similar page for querydsl, so we should provide it (not just a random generic page for querydsl). I think the best link is |
||
|
|
||
| ## Memory evaluation | ||
|
|
||
| Circuit breakers may either directly evaluate memory usage estimates or indirectly limit operations that are likely to cause excessive memory consumption. For example, the `script` circuit breaker checks memory indirectly by rate-limiting Painless/Mustache script compilations. However, even with circuit breakers in place, nodes can still encounter out-of-memory (OOM) conditions. This can occur, for example, because: | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.