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

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

Asked Feb 10, 2025 Modified Feb 10, 2025
Viewed 90
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
Doris-3.0.5 一个be 节点12磁盘设备中一个坏盘,影响表的读写数据
3.0.8版本be节点从3个升级到5个,业务高峰期读延迟大
1 answers
doris3.0.8 3台中一台be节点偶发性宕机
2 answers
关于数值类型decimalv3兼容性问题
2 answers
ccr任务job_progress接口-子任务的binlog_type字段都有哪些枚举值
1 answers
ccr数据同步成功了,但是执行get_lag的last_binlog_timestamp和first_binlog_timestamp为什么都是1970-01-01 08:00:00,我该怎么查看上次同步时间呢
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 中文技术论坛.