当前位置:网站首页>dm_ svc. Conf configuration
dm_ svc. Conf configuration
2022-07-21 03:26:00 【qq_ thirty-eight million one hundred and thirteen thousand four】
File storage : /etc/dm_svc.conf
LOGIN_MODE: Specify the server mode of priority login .
0: Priority connection PRIMARY Mode library ,NORMAL The pattern comes second , The final choice STANTBY Pattern ;
1: Connect only Main library ;
2: Only the spare database is connected ;
3: Priority connection STANDBY Library of patterns , PRIMARY The pattern comes second , The final choice NORMAL Pattern ;
4: Priority connection NORMAL Library of patterns ,PRIMARY The pattern comes second , The final choice STANDBY Pattern .
SWITCH_TIMES:
When connecting to the database with the service name , If no qualified library is found, the connection is successfully established , The number of times that you will try to traverse the list of Libraries in the service name . Range of valid values 1~9223372036854775807, The default value is 1, You can set at least 3 This is used to avoid frequent switching of database connection test due to the fluctuation of network card
WITCH_INTERVAL :
Time interval for switching between servers , The unit is millisecond , Range of valid values 1~9223372036854775807. With the parameters SWITCH_TIMES、EP_SELECTOR In combination with ,EP_SELECTOR Set to 0,
wait for SWITCH_INTERVAL After that, it will switch and try to connect to the next server ,EP_SELECTOR Set to 1, wait for SWITCH_INTERVAL Will continue to try to connect to the server , until SWITCH_TIMES Switch to the next server again .
RW_SEPARATE:
Whether to enable read-write separation .0: Is not enabled ;1: Enable ;2: Enable , The standby database is selected by the client , And only the nodes configured in the service name will be selected
RW_PERCENT
Read write split distribution ratio , Range of valid values 0~100, And the proportion of the main database in the number of all things . It can be set according to the actual pressure of the primary and standby databases .
https://eco.dameng.com
边栏推荐
猜你喜欢
随机推荐
antd mobile 表单验证 rc-form 使用
工具-IDEA 好看的样式字体/字号/
Paxos 论文 简单版 中文版
(一)PyTorch深度学习:线性模型训练
阿里矢量图库 当前页全选
(五)PyTorch深度学习:Logistic回归
Configuration of Visual Studio development environment
(九)PyTorch深度学习:卷积神经网络( GoogleNet网络架构中的 inception module 模块为本次卷积神经网络架构)
mysql 通过dts迁移至达梦
Flutter 小结
mongoose使用validate验证, 获取自定义验证信息
在Pycharm中打包(.py)文件成(.exe)文件
Flink SQL实现对Kafka的数据处理,写入TiDB
达梦DEM的部署
(四)PyTorch深度学习:PytTorch实现线性回归
A. Log Chopping
数仓技术实现
nvm安装使用
Flink DataStream API (一)执行环境
Redis主从复制