yiguolei commented on code in PR #3201: URL: https://github.com/apache/doris-website/pull/3201#discussion_r2629481063
########## i18n/zh-CN/docusaurus-plugin-content-docs/current/query-acceleration/performance-tuning-overview/diagnostic-tools.md: ########## @@ -32,6 +32,14 @@ Doris Manager 的日志模块提供了慢 SQL 筛选功能。用户可以通过 通过 `fe.audit.log` 获取的慢 SQL,使用者可以方便地获取执行时间、扫描行数、返回行数、SQL 语句等详细信息,为进一步重现和定位性能问题奠定了基础。 +此外,Audit Log 中还包含 `SqlDigest` 字段(如上述示例中的 `SqlDigest=...`)。该字段是根据 SQL 语句的结构生成的哈希值(去除了具体的参数值)。通过对 `slow_query` 中的 `SqlDigest` 进行聚合分析,可以识别出慢查询的“模式”。这意味着,即使具体的 SQL 语句因参数不同而略有差异,只要结构相同,它们的 `SqlDigest` 就是一致的。 Review Comment: 另外,我们需要把threshold 那个参数描述一下,怎么开启这个digest 功能。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
