Fahmi Abdulaziz
10/08/2025, 7:25 AMm6i.large while CN use r6id.4xlarge with the STARROCKS_HOME located in local disk. After the cluster set I benchmark it with AWS Athena and noticed that it performs slower compared to Athena on aggregate heavy query. I also enabled the spill to disk otherwise the query got killed due to OOM.
Is there a better setup (without increasing the cluster size) to improve datalake workload? Thanks!Robert Raharjo
10/08/2025, 6:13 PMFahmi Abdulaziz
10/09/2025, 6:05 AMRobert Raharjo
10/09/2025, 10:08 PMRobert Raharjo
10/09/2025, 10:32 PMshow compute nodes\G and make sure DataCacheMetrics shows enough space. Also try to run explain verbose <query>; and see if the dataCacheOptions populate is trueFahmi Abdulaziz
10/10/2025, 6:40 AMEXPLAIN ANALYZE <query> . But I cannot share you the whole plan since there might be confidentiality in the column name.
| └──HDFS_SCAN (id=0)
| Estimates: [row: 1, cpu: ?, memory: ?, network: ?, cost: 160.0]
| TotalTime: 3m8s (46.72%) [CPUTime: 1s468ms, ScanTime: 3m6s]
| OutputRows: 221.686M (221686418)
| SubordinateOperators:
| CHUNK_ACCUMULATE
| Detail Timers: [ScanTime = IOTaskExecTime + IOTaskWaitTime]
| IOTaskExecTime: 3m4s [min=2m59s, max=3m5s]
| InputStream:
| AppIOTime: 3m2s [min=2m57s, max=3m3s]
| FSIOTime: 3m2s [min=2m57s, max=3m3s]
| OpenFile: 2m14s [min=2m10s, max=2m17s]
| Parquet:
| ReaderInitFooterRead: 1m45s [min=1m41s, max=1m47s]
| ReaderInit: 2m14s [min=2m10s, max=2m17s]
| SharedBuffered:
| DirectIOTime: 1m45s [min=1m41s, max=1m47s]
| SharedIOTime: 1m17s [min=1m13s, max=1m19s]
| IOTaskWaitTime: 1s220ms [min=756.294ms, max=1s720ms]