【详述】最开始同步了一个库,3亿数据量,能在3s左右稳定返回,后来同步了多个库之后,有20亿数据的,但再查询3亿数据量的时候大多时候会很慢很慢,请问能分析是什么原因么,重装会变快,但同步了多库又会这样,但性能瓶颈没达到(CPU/内存/磁盘/内网),并发只有自己,还未上线。
【背景】增加同步库
【业务影响】
【StarRocks版本】2.3.0
【集群规模】2fe(1 follower+1observer)+3be
【机器信息】8C/16G
【附件】
- Profile信息
Profile.txt (150.8 KB) - 并行度:
±------------------------------------±------+
| Variable_name | Value |
±------------------------------------±------+
| parallel_fragment_exec_instance_num | 4 |
±------------------------------------±------+ - cbo是否开启:
±------------------------------------±------+
| Variable_name | Value |
±------------------------------------±------+
| cbo_cte_reuse | false |
| cbo_enable_low_cardinality_optimize | true |
| cbo_max_reorder_node_use_dp | 10 |
| cbo_max_reorder_node_use_exhaustive | 4 |
| cbo_use_correlated_join_estimate | true |
±------------------------------------±------+
explain costs:
explain.txt (113.7 KB)