-
Notifications
You must be signed in to change notification settings - Fork 470
DOC-11498 Docs for obs: Support workload-level index recommendations and insights #19569
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?
Conversation
…ection and (2) updated the img tags to use files in v25.2 directory.
…ection and (2) updated the img tags to use files in v25.2 directory.
Files changed:
|
✅ Deploy Preview for cockroachdb-interactivetutorials-docs canceled.
|
✅ Deploy Preview for cockroachdb-api-docs canceled.
|
✅ Netlify Preview
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @florence-crl, looks great and love the example joining with statement_statistics so that users can view the query text.
Can we add a description on the time window of the workload over which we look for index recommendations? The default behavior including allowing users to flexibly specifying a timestamp.
@kyle-a-wong, can you confirm the default behavior? If i recall, we take all the statements in statement_statistics. And if a timestamp is specified we filter and only consider those the statements after the timestamp.
@kevin-v-ngo yes, the default behavior will return index_recommendations sourced from all statements in statement_statistics. Providing a time stamp, such as |
@kevin-v-ngo and @kyle-a-wong I added TIMESTAMPTZ parameter info. Please review again. thanks! |
Fixes DOC-11498
In insights.md include file, (1) added workload_index_recs function section and (2) updated the img tags to use files in v25.2 directory.
Rendered previews:
workload_index_recs
function