- 论坛徽章:
- 0
|
配置文件为
[TCP DEFAULT]
SendBufferMemory=32M
ReceiveBufferMemory=32M
[MGM DEFAULT]
PortNumber: 1186
datadir=/app/mysql/mysqlc/
[NDB_MGMD]
NodeId=1
ArbitrationRank=1
hostname=192.168.21.24
LogDestination=FILE:filename=ndb_1_cluster.log,maxsize=10000000,maxfiles=6
[NDBD DEFAULT]
NoOfReplicas=2
Datadir=/app/mysql/data
FileSystemPathDD=/app/mysql/data
BackupDataDir=/app/mysql/data/backup/
DataMemory=10254M
IndexMemory=1282M
LockPagesInMainMemory=1
MaxNoOfConcurrentOperations=1000000
MaxNoOfConcurrentTransactions=16384
StringMemory=25
MaxNoOfTables=4096
MaxNoOfOrderedIndexes=2048
MaxNoOfUniqueHashIndexes=2048
MaxNoOfAttributes=24576
MaxNoOfTriggers=14336
TransactionBufferMemory=8M
TimeBetweenGlobalCheckpoints=1000
TimeBetweenEpochs=100
TimeBetweenEpochsTimeout=32000
### Params for LCP
DiskCheckpointSpeedInRestart=100M
DiskCheckpointSpeed=10M
TimeBetweenLocalCheckpoints=30
NoOfFragmentLogFiles=300
TransactionDeadLockDetectionTimeOut=10000
### Heartbeating
HeartbeatIntervalDbDb=1500
HeartbeatIntervalDbApi=1500
### Params for setting logging
MemReportFrequency=30
BackupReportFrequency=10
LogLevelStartup=15
LogLevelShutdown=15
LogLevelCheckpoint=8
LogLevelNodeRestart=15
### Params for BACKUP
BackupMaxWriteSize=1M
BackupDataBufferSize=24M
BackupLogBufferSize=16M
BackupMemory=40M
### Params for ODIRECT
#Reports indicates that odirect=1 can cause io errors (os err code 5) on some systems. You must test.
ODirect=1
### Watchdog
TimeBetweenWatchdogCheckInitial=60000
### TransactionInactiveTimeout - should be enabled in Production
TransactionInactiveTimeout=60000
### New 7.1.10 redo logging parameters
RedoOverCommitCounter=3
RedoOverCommitLimit=20
### REALTIME EXTENSIONS
#RealTimeScheduler=1
### REALTIME EXTENSIONS FOR 6.3 ONLY
#SchedulerExecutionTimer=80
#SchedulerSpinTimer=40
### DISK DATA
SharedGlobalMemory=512M
DiskPageBufferMemory=1024M
### Multithreading
MaxNoOfExecutionThreads=4
### Increasing the LongMessageBuffer b/c of a bug (20090903)
LongMessageBuffer=16M
BatchSizePerLocalScan=512
[NDBD]
NodeId=2
hostname=192.168.21.24
[NDBD]
NodeId=3
hostname=192.168.21.25
[MYSQLD DEFAULT]
DefaultOperationRedoProblemAction=ABORT
BatchSize=512
#BatchByteSize=2048K
#MaxScanBatchSize=2048K
[MYSQLD]
NodeId=60
ArbitrationRank=2
hostname=192.168.21.24
[MYSQLD]
NodeId=61
ArbitrationRank=2
hostname=192.168.21.25
[MYSQLD]
[MYSQLD] |
|