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

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

Asked Feb 10 Modified Feb 10
Viewed 54
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
Jane3
asked Feb 10
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
徐振超@SelectDB7161
answered Feb 10
Related Questions
使用k8s部署的存算分离doris,一插入数据,BE pod就崩溃重启
doris用kettle进行抽数时Doris端单次最大导入行数与kettle端stream-loader组件限制的行数不一致
2 answers
采用trino connect和catalog的形式去连接数据库,执行Insert Into Select,数据是怎么流动的?
【doris查询paimon catalog表】连续执行同一个查询sql出现性能波动 和 并发执行同一个查询明显变慢
1 answers
Doris3.0.6.1版本,访问WEBUI提示:HTTP ERROR 404 Not Found
1 answers
Doris3.0包含安全漏洞CVE-2024-38816、CVE-2024-38819

Terms of service Privacy policy

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