Add virtual table Query_Response_Time
This commit is contained in:
committed by
wangzelin.wzl
parent
e99cf210e6
commit
10041293f1
@ -308,6 +308,7 @@ int ObDistExecuteBaseP::execute_dist_plan(ObTask& task, ObTaskCompleteEvent& tas
|
||||
|
||||
audit_record.exec_timestamp_ = exec_timestamp;
|
||||
audit_record.exec_record_ = exec_record;
|
||||
audit_record.tenant_id_=session->get_effective_tenant_id();
|
||||
|
||||
audit_record.update_stage_stat();
|
||||
|
||||
@ -1323,6 +1324,7 @@ int ObMiniTaskBaseP::execute_mini_plan(ObMiniTask& task, ObMiniTaskResult& resul
|
||||
|
||||
audit_record.exec_timestamp_ = exec_timestamp;
|
||||
audit_record.exec_record_ = exec_record;
|
||||
audit_record.tenant_id_=session->get_effective_tenant_id();
|
||||
|
||||
audit_record.update_stage_stat();
|
||||
|
||||
|
||||
@ -644,6 +644,7 @@ void ObRemoteBaseExecuteP<T>::record_sql_audit_and_plan_stat(const ObPhysicalPla
|
||||
|
||||
audit_record.exec_timestamp_ = exec_timestamp;
|
||||
audit_record.exec_record_ = exec_record;
|
||||
audit_record.tenant_id_=session->get_effective_tenant_id();
|
||||
|
||||
audit_record.update_stage_stat();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user