比特网
MySQL集群线上管理节点配置文件-数据节点96G内存
[NDBD DEFAULT]
NoOfReplicas: 2 #
DataDir: /data/mysql/log
#FileSystemPath: /add/path/here
# 数据内存、索引内存和字符串内存#
DataMemory: 61440M
IndexMemory: 10240M
StringMemory: 50
# 事务参数 #
最大并发交易数:204800
最大并发操作数:300000
本地操作数上限:20000
# 笔交易临时存储#
MaxNoOfConcurrentIndexOperations: 65536
MaxNoOfFiredTriggers: 4000
TransactionBufferMemory: 10M
# 扫描和缓冲 #
MaxNoOfConcurrentScans:300
MaxNoOfLocalScans:32
BatchSizePerLocalScan:64
LongMessageBuffer:20M
# 日志记录和检查点 #
NoOfFragmentLogFiles: 300
FragmentLogFileSize: 64M
MaxNoOfOpenFiles: 40
InitialNoOfOpenFiles: 27
MaxNoOfSavedMessages:25
#元数据对象#
MaxNoOfAttributes:20000
MaxNoOfTables:2048
MaxNoOfOrderedIndexes :8000
maxNoofuniqueHashIndexes:8000
maxnooftriggers:7000
###boolean参数0
StopOnError: 1
无盘: 0
ODirect: 0
# 控制超时,间隔和磁盘分页 #
TimeBetweenWatchDogCheck: 6000
TimeBetweenWatchDogCheckInitial: 6000
StartPartialTimeout: 30000
StartPartitionedTimeout: 60000
StartFailureTimeout: 1000000
HeartbeatIntervalDbDb:2000
HeartbeatIntervalDbApi:3000
本地检查点之间的时间:20
全局检查点之间的时间:2000
交易非活动超时:0
事务死锁检测超时:1200
DiskSyncSize:8M
DiskCheckpointSpeed:20M
DiskCheckpointSpeedInRestart:200M
仲裁超时:10
# 缓冲和日志记录 #
UndoIndexBuffer: 64M
UndoDataBuffer: 32M
RedoBuffer: 32M
LogLevelStartup: 15
LogLevelShutdown:3
LogLevelStatistic:0
LogLevelCheckpoint:0
LogLevelNodeRestart:0
LogLevelConnection:0
LogLevelError: 15
LogLevelCongestion: 0
LogLevelInfo: 3
MemReportFrequency: 0
#备份参数 #
BackupDataBufferSize: 200M
BackupLogBufferSize: 56M
BackupMemory: 256M
BackupWriteSize: 10M
BackupMaxWriteSize: 80M
[MGM 默认]
端口号:1186
数据目录:/data/mysql/var/lib/mysql-cluster
[TCP 默认]
发送缓冲区内存:128MbitsCN.com