Explain String [0mSummary[0m [0mQueryId: 3daff6e5-9708-11f0-b69b-3e4d8b108793[0m [0mVersion: 3.5.5-fd4e51b[0m [0mState: Finished[0m [0mTotalTime: 539ms[0m " [0mExecutionTime: 517.874ms [Scan: 78.683ms (15.19%), Network: 685.387ms (132.35%), ResultDeliverTime: 0ns (0.00%), ScheduleTime: 514.817ms (99.41%)][0m" [0mCollectProfileTime: 4ms[0m [0mFrontendProfileMergeTime: 9.470ms[0m " [0mQueryPeakMemoryUsage: ?, QueryAllocatedMemoryUsage: 4.172 GB[0m" [0mTop Most Time-consuming Nodes:[0m [1m[38;2;250;128;114m1. EXCHANGE (id=1) [SHUFFLE]: 412.912ms (20.98%)[0m " [1m[38;2;250;128;114m2. AGGREGATION (id=5) [merge, serialize]: 308.204ms (15.66%)[0m" [0m3. EXCHANGE (id=4) [SHUFFLE]: 233.197ms (11.85%)[0m [0m4. EXCHANGE (id=9) [SHUFFLE]: 215.764ms (10.96%)[0m [0m5. EXCHANGE (id=12) [SHUFFLE]: 197.106ms (10.02%)[0m " [0m6. AGGREGATION (id=13) [merge, serialize]: 194.284ms (9.87%)[0m" [0m7. EXCHANGE (id=19) [SHUFFLE]: 183.519ms (9.33%)[0m [0m8. OLAP_SCAN (id=0) : 126.024ms (6.40%)[0m " [0m9. AGGREGATION (id=3) [serialize, update]: 49.478ms (2.51%)[0m" " [0m10. AGGREGATION (id=11) [serialize, update]: 30.887ms (1.57%)[0m" [0mTop Most Memory-consuming Nodes:[0m [0mNonDefaultVariables:[0m [0mbig_query_profile_threshold: 30s -> 1500ms[0m [0mcharacter_set_results: utf8 -> utf8mb4[0m [0menable_adaptive_sink_dop: false -> true[0m [0menable_async_profile: true -> false[0m [0menable_lake_tablet_internal_parallel: true -> false[0m [0menable_profile: false -> true[0m [0mnet_write_timeout: 60 -> 600[0m [0msql_mode_v2: 32 -> 2097184[0m [0mFragment 0[0m │ [0mBackendNum: 1[0m "│ [0mInstancePeakMemoryUsage: 579.688 KB, InstanceAllocatedMemoryUsage: 852.563 KB[0m" │ [0mPrepareTime: ?[0m └──[0mRESULT_SINK[0m │ [0mTotalTime: 81.255us (0.00%) [CPUTime: 81.255us][0m │ [0mOutputRows: 1[0m │ [0mSinkType: MYSQL_PROTOCAL[0m " └──[0mNEST_LOOP_JOIN (id=25) [CROSS JOIN, NONE][0m" " │ [0mEstimates: [row: 1, cpu: 1982670.42, memory: 2841827.60, network: 0.00, cost: 206216191.61][0m" │ [0mTotalTime: 36.988us (0.00%) [CPUTime: 36.988us][0m │ [0mOutputRows: 1[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ [0mBuildTime: 24.312us[0m │ [0mProbeTime: 12.676us[0m " ├──[0m NEST_LOOP_JOIN (id=18) [CROSS JOIN, NONE][0m" " │ │ [0mEstimates: [row: 1, cpu: 128000000.00, memory: 1600.00, network: 0.00, cost: 70843772.95][0m" │ │ [0mTotalTime: 110.928us (0.01%) [CPUTime: 110.928us][0m │ │ [0mOutputRows: 1[0m " │ │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ │ [0mBuildTime: 41.790us[0m │ │ [0mProbeTime: 19.177us[0m │ │ [0mSubordinateOperators: [0m │ │ [0mLOCAL_EXCHANGE [AdaptivePassthrough][0m " │ ├──[0m AGGREGATION (id=8) [finalize, merge][0m" " │ │ │ [0mEstimates: [row: 1, cpu: ?, memory: ?, network: ?, cost: 4560193.964741642][0m" │ │ │ [0mTotalTime: 77.448us (0.00%) [CPUTime: 77.448us][0m │ │ │ [0mOutputRows: 1[0m " │ │ │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ │ │ [0mAggExprs: [count(33: count)][0m │ │ │ [0mSubordinateOperators: [0m │ │ │ [0mLOCAL_EXCHANGE [Passthrough][0m │ │ └──[0mEXCHANGE (id=7) [GATHER][0m " │ │ [0mEstimates: [row: 1, cpu: ?, memory: ?, network: ?, cost: 4560173.964741642][0m" " │ │ [0mTotalTime: 2.039ms (0.10%) [CPUTime: 144.145us, NetworkTime: 1.895ms][0m" │ │ [0mOutputRows: 4[0m " │ │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ └──[0m EXCHANGE (id=17) [BROADCAST][0m " │ [0mEstimates: [row: 1, cpu: 64.00, memory: 64.00, network: 64.00, cost: 2280378.98][0m" " │ [0mTotalTime: 687.988us (0.03%) [CPUTime: 173.932us, NetworkTime: 514.056us][0m" │ [0mOutputRows: 1[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" └──[0m EXCHANGE (id=24) [BROADCAST][0m " [0mEstimates: [row: 1, cpu: 64.00, memory: 64.00, network: 64.00, cost: 33338.11][0m" " [0mTotalTime: 742.543us (0.04%) [CPUTime: 159.522us, NetworkTime: 583.021us][0m" [0mOutputRows: 1[0m " [0mPeakMemory: ?, AllocatedMemory: ?[0m" [0m [0mFragment 1[0m │ [0mBackendNum: 1[0m "│ [0mInstancePeakMemoryUsage: 116.719 KB, InstanceAllocatedMemoryUsage: 150.219 KB[0m" │ [0mPrepareTime: ?[0m └──[0mDATA_STREAM_SINK (id=24)[0m │ [0mPartitionType: UNPARTITIONED[0m " └──[0mAGGREGATION (id=23) [finalize, merge][0m" " │ [0mEstimates: [row: 1, cpu: 8.00, memory: 8.00, network: 0.00, cost: 33082.11][0m" │ [0mTotalTime: 105.287us (0.01%) [CPUTime: 105.287us][0m │ [0mOutputRows: 1[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ [0mAggExprs: [count(31: count)][0m │ [0mSubordinateOperators: [0m │ [0mLOCAL_EXCHANGE [Passthrough][0m └──[0mEXCHANGE (id=22) [GATHER][0m " [0mEstimates: [row: 1, cpu: 8.00, memory: 0.00, network: 8.00, cost: 33062.11][0m" " [0mTotalTime: 2.060ms (0.10%) [CPUTime: 185.866us, NetworkTime: 1.875ms][0m" [0mOutputRows: 3[0m " [0mPeakMemory: ?, AllocatedMemory: ?[0m" [0m [0mFragment 2[0m │ [0mBackendNum: 1[0m "│ [0mInstancePeakMemoryUsage: 35.137 MB, InstanceAllocatedMemoryUsage: 160.277 MB[0m" │ [0mPrepareTime: ?[0m └──[0mDATA_STREAM_SINK (id=22)[0m │ [0mPartitionType: UNPARTITIONED[0m " └──[0mAGGREGATION (id=21) [serialize, update][0m" " │ [0mEstimates: [row: 1, cpu: 66089.01, memory: 0.80, network: 0.00, cost: 33046.11][0m" │ [0mTotalTime: 1.555ms (0.08%) [CPUTime: 1.555ms][0m │ [0mOutputRows: 3[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ [0mAggExprs: [count(37: _id)][0m └──[0mPROJECT (id=20) [0m " │ [0mEstimates: [row: ?, cpu: ?, memory: ?, network: ?, cost: ?][0m" │ [0mTotalTime: 775.863us (0.04%) [CPUTime: 775.863us][0m │ [0mOutputRows: 3.623M (3622868)[0m │ [0mExpression: [2: _id][0m └──[0mEXCHANGE (id=19) [SHUFFLE][0m " [0mEstimates: [row: 18358, cpu: 0.00, memory: 0.00, network: 0.00, cost: 0.00][0m" " [0mTotalTime: 183.519ms (9.33%) [CPUTime: 66.600ms, NetworkTime: 116.919ms][0m" [0mOutputRows: 3.623M (3622868)[0m " [0mPeakMemory: ?, AllocatedMemory: ?[0m" [0m [0mFragment 3[0m │ [0mBackendNum: 1[0m "│ [0mInstancePeakMemoryUsage: 120.453 KB, InstanceAllocatedMemoryUsage: 155.609 KB[0m" │ [0mPrepareTime: ?[0m └──[0mDATA_STREAM_SINK (id=17)[0m │ [0mPartitionType: UNPARTITIONED[0m " └──[0mAGGREGATION (id=16) [finalize, merge][0m" " │ [0mEstimates: [row: 1, cpu: 8.00, memory: 8.00, network: 0.00, cost: 2280122.98][0m" │ [0mTotalTime: 92.284us (0.00%) [CPUTime: 92.284us][0m │ [0mOutputRows: 1[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ [0mAggExprs: [count(32: count)][0m │ [0mSubordinateOperators: [0m │ [0mLOCAL_EXCHANGE [Passthrough][0m └──[0mEXCHANGE (id=15) [GATHER][0m " [0mEstimates: [row: 1, cpu: 8.00, memory: 0.00, network: 8.00, cost: 2280102.98][0m" " [0mTotalTime: 2.366ms (0.12%) [CPUTime: 237.166us, NetworkTime: 2.128ms][0m" [0mOutputRows: 4[0m " [0mPeakMemory: ?, AllocatedMemory: ?[0m" [0m [0mFragment 4[0m │ [0mBackendNum: 1[0m "│ [0mInstancePeakMemoryUsage: 280.327 MB, InstanceAllocatedMemoryUsage: 538.557 MB[0m" │ [0mPrepareTime: ?[0m └──[0mDATA_STREAM_SINK (id=15)[0m │ [0mPartitionType: UNPARTITIONED[0m " └──[0mAGGREGATION (id=14) [serialize, update][0m" " │ [0mEstimates: [row: 1, cpu: 660890.14, memory: 8.00, network: 0.00, cost: 2280086.98][0m" │ [0mTotalTime: 703.458us (0.04%) [CPUTime: 703.458us][0m │ [0mOutputRows: 4[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ [0mAggExprs: [count(36: _id)][0m " └──[0mAGGREGATION (id=13) [merge, serialize][0m" " │ [0mEstimates: [row: 18358, cpu: 660890.14, memory: 660890.14, network: 0.00, cost: 1949625.91][0m" │ [0mTotalTime: 194.284ms (9.87%) [CPUTime: 194.284ms][0m │ [0mOutputRows: 3.623M (3622868)[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ [0mGroupingExprs: [36: _id][0m └──[0mEXCHANGE (id=12) [SHUFFLE][0m " [0mEstimates: [row: 18358, cpu: 66089.01, memory: 0.00, network: 66089.01, cost: 297400.56][0m" " [0mTotalTime: 197.106ms (10.02%) [CPUTime: 98.993ms, NetworkTime: 98.113ms][0m" [0mOutputRows: 3.623M (3622868)[0m " [0mPeakMemory: ?, AllocatedMemory: ?[0m" [0m [0mFragment 5[0m │ [0mBackendNum: 1[0m "│ [0mInstancePeakMemoryUsage: 29.700 MB, InstanceAllocatedMemoryUsage: 320.903 MB[0m" │ [0mPrepareTime: ?[0m └──[0mDATA_STREAM_SINK (id=12)[0m │ [0mPartitionType: HASH_PARTITIONED[0m │ [0mPartitionExprs: [36: _id][0m " └──[0mAGGREGATION (id=11) [serialize, update][0m" " │ [0mEstimates: [row: 18358, cpu: 66089.01, memory: 66089.01, network: 0.00, cost: 165222.53][0m" │ [0mTotalTime: 30.887ms (1.57%) [CPUTime: 30.887ms][0m │ [0mOutputRows: 3.623M (3622868)[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" │ [0mGroupingExprs: [36: _id][0m │ [0mSubordinateOperators: [0m │ [0mLOCAL_EXCHANGE [Passthrough][0m └──[0mPROJECT (id=10) [0m " │ [0mEstimates: [row: ?, cpu: ?, memory: ?, network: ?, cost: ?][0m" │ [0mTotalTime: 657.557us (0.03%) [CPUTime: 657.557us][0m │ [0mOutputRows: 3.623M (3622868)[0m │ [0mExpression: [2: _id][0m └──[0mEXCHANGE (id=9) [SHUFFLE][0m " [0mEstimates: [row: 18358, cpu: 0.00, memory: 0.00, network: 0.00, cost: 0.00][0m" " [0mTotalTime: 215.764ms (10.96%) [CPUTime: 53.619ms, NetworkTime: 162.144ms][0m" [0mOutputRows: 3.623M (3622868)[0m " [0mPeakMemory: ?, AllocatedMemory: ?[0m" [0m [0mFragment 6[0m │ [0mBackendNum: 1[0m "│ [0mInstancePeakMemoryUsage: 395.436 MB, InstanceAllocatedMemoryUsage: 1.246 GB[0m" │ [0mPrepareTime: ?[0m └──[0mDATA_STREAM_SINK (id=7)[0m │ [0mPartitionType: UNPARTITIONED[0m " └──[0mAGGREGATION (id=6) [serialize, update][0m" " │ [0mEstimates: [row: 1, cpu: ?, memory: ?, network: ?, cost: 4560157.964741642][0m" │ [0mTotalTime: 3.338ms (0.17%) [CPUTime: 3.338ms][0m │ [0mOutputRows: 4[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" " │ [0mAggExprs: [count(if(34: agency_id IS NULL, NULL, 35: _id))][0m" " └──[1m[38;2;250;128;114mAGGREGATION (id=5) [merge, serialize][0m" " │ [1m[38;2;250;128;114mEstimates: [row: 18358, cpu: 1321780.28, memory: 1321780.28, network: 0.00, cost: 3899251.82][0m" │ [1m[38;2;250;128;114mTotalTime: 308.204ms (15.66%) [CPUTime: 308.204ms][0m │ [1m[38;2;250;128;114mOutputRows: 3.623M (3622868)[0m " │ [1m[38;2;250;128;114mPeakMemory: ?, AllocatedMemory: ?[0m" " │ [1m[38;2;250;128;114mGroupingExprs: [34: agency_id, 35: _id][0m" │ [1m[38;2;250;128;114mDetail Timers: [0m " │ [1m[38;2;250;128;114mAggComputeTime: 139.235ms [min=127.052ms, max=153.279ms][0m" " │ [1m[38;2;250;128;114mGetResultsTime: 153.667ms [min=153.014ms, max=154.357ms][0m" " │ [1m[38;2;250;128;114mResultGroupByAppendTime: 149.438ms [min=148.771ms, max=150.094ms][0m" └──[0mEXCHANGE (id=4) [SHUFFLE][0m " [0mEstimates: [row: 18358, cpu: 132178.03, memory: 0.00, network: 132178.03, cost: 594801.13][0m" " [0mTotalTime: 233.197ms (11.85%) [CPUTime: 193.265ms, NetworkTime: 39.931ms][0m" [0mOutputRows: 3.623M (3622868)[0m " [0mPeakMemory: ?, AllocatedMemory: ?[0m" [0m [0mFragment 7[0m │ [0mBackendNum: 1[0m "│ [0mInstancePeakMemoryUsage: 81.002 MB, InstanceAllocatedMemoryUsage: 635.243 MB[0m" │ [0mPrepareTime: ?[0m └──[0mDATA_STREAM_SINK (id=4)[0m │ [0mPartitionType: HASH_PARTITIONED[0m " │ [0mPartitionExprs: [34: agency_id, 35: _id][0m" " └──[0mAGGREGATION (id=3) [serialize, update][0m" " │ [0mEstimates: [row: 18358, cpu: 132178.03, memory: 132178.03, network: 0.00, cost: 330445.07][0m" │ [0mTotalTime: 49.478ms (2.51%) [CPUTime: 49.478ms][0m │ [0mOutputRows: 3.623M (3622868)[0m " │ [0mPeakMemory: ?, AllocatedMemory: ?[0m" " │ [0mGroupingExprs: [34: agency_id, 35: _id][0m" │ [0mSubordinateOperators: [0m │ [0mLOCAL_EXCHANGE [Passthrough][0m └──[0mPROJECT (id=2) [0m " │ [0mEstimates: [row: ?, cpu: ?, memory: ?, network: ?, cost: ?][0m" │ [0mTotalTime: 1.155ms (0.06%) [CPUTime: 1.155ms][0m │ [0mOutputRows: 3.623M (3622868)[0m " │ [0mExpression: [1: agency_id, 2: _id][0m" └──[1m[38;2;250;128;114mEXCHANGE (id=1) [SHUFFLE][0m " [1m[38;2;250;128;114mEstimates: [row: 18358, cpu: 0.00, memory: 0.00, network: 0.00, cost: 0.00][0m" " [1m[38;2;250;128;114mTotalTime: 412.912ms (20.98%) [CPUTime: 151.630ms, NetworkTime: 261.282ms][0m" [1m[38;2;250;128;114mOutputRows: 3.623M (3622868)[0m " [1m[38;2;250;128;114mPeakMemory: ?, AllocatedMemory: ?[0m" [1m[38;2;250;128;114mDetail Timers: [0m " [1m[38;2;250;128;114mClosureBlockTime: 268.141ms [min=0ns, max=573.033ms][0m" [1m[38;2;250;128;114mOverallTime: 320.884ms[0m [0m [0mFragment 8[0m │ [0mBackendNum: 1[0m "│ [0mInstancePeakMemoryUsage: 114.774 MB, InstanceAllocatedMemoryUsage: 1.309 GB[0m" │ [0mPrepareTime: ?[0m "└──[0mMULTI_CAST_DATA_SINK (ids=[1, 9, 19])[0m" │ [0mPartitionType: RANDOM[0m └──[0mOLAP_SCAN (id=0) [0m " [0mEstimates: [row: 18358, cpu: 0.00, memory: 0.00, network: 0.00, cost: 660890.14][0m" " [0mTotalTime: 126.024ms (6.40%) [CPUTime: 47.340ms, ScanTime: 78.683ms][0m" [0mOutputRows: 3.623M (3622868)[0m [0mTable: : agent_contact_base[0m [0mSubordinateOperators: [0m [0mCHUNK_ACCUMULATE[0m [0mMULTI_CAST_LOCAL_EXCHANGE[0m [0mNOOP[0m [0mOLAP_SCAN_PREPARE[0m [0m