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

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

Asked Feb 10, 2025 Modified Feb 10, 2025
Viewed 83
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
徐振超@SelectDB(可以直接加微信Faith_xzc)8286
answered Feb 10, 2025
Related Questions
使用flink doris connector同步WINDOWS系统的ORACLE数据库多表数据到Doris中长时间没有数据
1 answers
Oracle数据库多表同步到Doris的方法,哪个更适用
1 answers
doris3.1.4想要启动be的时候指定krb5.conf的路径
1 answers
Doris 3.0.3 CCR FullSync Restore 大文件(4.3G)_tablet/_download 10 秒超时死循环,无法完成同步
2 answers
flink doris connector整库同步ORACLE数据,我只同步十几个表,会遍历实例下所有表结构和数据吗
1 answers
使用dorismanager通过扩缩容进行doris集群迁移后的问题
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 中文技术论坛.