...
注意 | ||
---|---|---|
| ||
max_server_memory_usage默认值为0,表示不限制内存使用。跟config.xml文件的max_server_memory_usage_to_ram_ratio参数一起使用。默认最大内存是服务器的物理内存的90%。 max_server_memory_usage的配置值不能大于服务器物理内存乘以max_server_memory_usage_to_ram_ratio的值。 max_server_memory_usage的配置值也不能太小,否则可能导致无法执行sql查询 |
5.1.2、users.xml配置文件
注意 | ||
---|---|---|
| ||
密码不能使用特殊字符&、 小于号< 、大于号> |
1、设置数据库密码
方法一:设置明文密码
方法二:设置加密密码
...
$ cd smartbi-mpp-22.8.9.24
$ usr/bin/clickhouse-server --config-file etc/clickhouse-server/config.xml --pid-file var/run/clickhouse-server/clickhouse-server.pid
5.5、配置开机启动服务
注意 | ||
---|---|---|
| ||
需要管理员权限(root或sudo权限),才能配置服务的开机启动 |
...