合 StarRocks新建实例后需要做哪些基本优化操作
OS配置
安装
1 |
参数配置
修改用户最大连接数
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | -- 查看用户 root 的最大连接数。 SHOW PROPERTY; SHOW PROPERTY FOR 'root'; show processlist; -- 修改 SET PROPERTY FOR 'root' 'max_user_connections' = '1000'; mysql> ADMIN SHOW FRONTEND CONFIG LIKE 'qe_max_connection'; +-------------------+------------+-------+------+-----------+---------+ | Key | AliasNames | Value | Type | IsMutable | Comment | +-------------------+------------+-------+------+-----------+---------+ | qe_max_connection | [] | 1024 | int | false | | +-------------------+------------+-------+------+-----------+---------+ 1 row in set (0.05 sec) cat >> /usr/local/starrocks/fe/conf/fe.conf <<"EOF" qe_max_connection = 10240 EOF stop_fe.sh start_fe.sh --daemon |
修改tablet_max_versions
在3个BE节点都做如下的操作: