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

doris 如何查询预编译前的sql语句

Asked Aug 10 Modified Jan 1, 0001
Viewed 20
2.1

在audit_log表里,预编译的查询只有stmentid,没有具体的查询sql,问下,如何查看找到执行的具体sql语句

edited Jan 1, 0001
fly00k3
asked Aug 10
2 Answers

set global enable_prepared_stmt_audit_log = true;

看 fe.audit.log 中是否有 Stmt = EXECUTE

edited Jan 1, 1970
阿渊@SelectDB (没回帖直接加我主页微信)9065
answered Aug 11

微信图片_20250814172513_13.jpg 例如这个 如果根据stmt_id 找到执行的sql语句

edited Aug 14
fly00k3
answered Aug 14
Related Questions
Doris 2.1.7-rc03 BE 扩容
1 answers
doris2.1.4 8030端口异常退出
1 answers
information_schema中的表比官网很少
1 answers
MOW主键表查询DeleteBitmapGetAggTime耗时高
1 answers
Doris 2.1.11版本 自增列插入问题
1 answers
Doris 2.1.5 process memory used 38.63 GB exceed limit 452.92 GB or sys available memory 389.51 GB less than low water mark 6.40 GB.
1 answers

Terms of service Privacy policy

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