Apache Doris 中文技术论坛
Questions Tags Users Badges

3.0.3,如何统计Doris中的SQL查询响应延迟时间

Asked Feb 10, 2025 Modified Feb 10, 2025
Viewed 69
3.0

根据官网文档记载audit_log表以及active_queries表有存储相关的SQL执行记录,但是我执行完语句之后,在这两张表里面都没有看到相关的数据,是怎么回事?
查询语句:select count(*) from test.test_main
select * from information_schema.active_queries
select * from __internal_schema.audit_log
是我找错表了吗?具体应该如何统计

edited Feb 10, 2025
Jane3
asked Feb 10, 2025
1 Answers

在__internal_schema.audit_log的query_time 字段
看看这些文档
https://doris.apache.org/zh-CN/docs/admin-manual/audit-plugin
https://doris.apache.org/zh-CN/docs/admin-manual/system-tables/internal_schema/audit_log

edited Jan 1, 1970
徐振超@SelectDB8151
answered Feb 10, 2025
Related Questions
doris2.1.5升级到doris3.0.8,升级后开启ranger,root执行SHOW PROC '/backends' 报没有admin权限
routine load只支持部分列更新,不支持灵活列更新,什么时候能支持?
1 answers
为什么采用AGGREGATE KEY引擎的REPLACE_IF_NOT_NULL,最后的查询巨慢?
1 answers
Spark Doris Connector 写入 doris 云服务器内网不可达
1 answers
存算分离创建 STORAGE VAULT 问题,hdfs高可用下dfs.client.failover.proxy.provider.mycluster配置问题
1 answers
the report queue size exceeds the limit: xxx
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2026 Apache Doris 中文技术论坛.