日志中看不出来什么信息:
BE节点3:
I0909 14:08:24.456902 25310 fragment_executor.cpp:162] Prepare(): query_id=ec2ce640-6e71-11ef-999c-5254002c4bf9 fragment_instance_id=ec2ce640-6e71-11ef-999c-5254002c4bfd backend_num=0
I0909 14:08:24.458081 25393 fragment_executor.cpp:162] Prepare(): query_id=ec2ce640-6e71-11ef-999c-5254002c4bf9 fragment_instance_id=ec2ce640-6e71-11ef-999c-5254002c4bfc backend_num=3
BE节点2:
I0909 14:08:24.455874 56274 fragment_executor.cpp:162] Prepare(): query_id=ec2ce640-6e71-11ef-999c-5254002c4bf9 fragment_instance_id=ec2ce640-6e71-11ef-999c-5254002c4bfa backend_num=1
BE节点1:
I0909 14:08:24.454375 269174 fragment_executor.cpp:162] Prepare(): query_id=ec2ce640-6e71-11ef-999c-5254002c4bf9 fragment_instance_id=ec2ce640-6e71-11ef-999c-5254002c4bfb backend_num=2
FE日志:
2024-09-09 14:08:24,452 INFO (starrocks-mysql-nio-pool-33491|392082) [MetadataMgr.removeQueryMetadata():113] Succeed to deregister query level connector metadata on query id: ec2ce640-6e71-11ef-999c-5254002c4bf9
2024-09-09 14:08:24,452 INFO (starrocks-mysql-nio-pool-33491|392082) [QeProcessorImpl.registerQuery():83] register query id = ec2ce640-6e71-11ef-999c-5254002c4bf9, job: -1
2024-09-09 14:08:29,490 INFO (starrocks-mysql-nio-pool-33491|392082) [QeProcessorImpl.unregisterQuery():93] deregister query id ec2ce640-6e71-11ef-999c-5254002c4bf9
2024-09-09 14:08:29,490 INFO (starrocks-mysql-nio-pool-33491|392082) [MetadataMgr.removeQueryMetadata():113] Succeed to deregister query level connector metadata on query id: ec2ce640-6e71-11ef-999c-5254002c4bf9
2024-09-09 14:08:29,534 INFO (nioEventLoopGroup-6-58|221) [HttpServerHandler.channelRead():90] receive http request. url: /query_profile?query_id=ec2ce640-6e71-11ef-999c-5254002c4bf9, thread id: 221, startTime: 1725862109533, latency: 1 ms
fe.audit.log审计日志:
2024-09-09 14:08:29,490 [slow_query] |Client=xxxx:54270|User=root|AuthorizedUser='root'@'%'|ResourceGroup=default_wg|Catalog=default_catalog|Db=|State=EOF|ErrorCode=|Time=5040|ScanBytes=0|ScanRows=0|ReturnRows=1|CpuCostNs=4900406|MemCostBytes=4625294|StmtId=11805177|QueryId=ec2ce640-6e71-11ef-999c-5254002c4bf9|IsQuery=true|feIp=txhs-ls3-doris01.data|Stmt=select /*+ SET_VAR(pipeline_dop=4) */ sum(cash) from mobile_game.`t_app_pub_user_payment_ri_bak_20240909` where gameid = 291 and recharge_user = '9_109554117' and logtime >= '2024-04-12 21:30:45' and logtime <= '2024-04-26 04:00:00' /* dop_query */;|Digest=76141bb24cb70d3bf0ca115daa79888e|PlanCpuCost=63.467336209286785|PlanMemCost=2.0|IsForwardToLeader=false