Skip to content

Instantly share code, notes, and snippets.

@sdemircan
Created August 21, 2015 10:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sdemircan/d6fbd54799daaae01bf2 to your computer and use it in GitHub Desktop.
Save sdemircan/d6fbd54799daaae01bf2 to your computer and use it in GitHub Desktop.
[ndbd default]
datadir=/ndbdata
NoOfReplicas=2
DataMemory=27648M
IndexMemory=8192M
# Disk Data
SharedGlobalMemory=1024M
DiskPageBufferMemory=20480M
MaxNoOfConcurrentOperations=128000
MaxNoOfLocalScans=24578
MaxNoOfOrderedIndexes=256
MaxNoOfUniqueHashIndexes=256
MaxNoOfAttributes=2048
MaxNoOfTriggers=14336
MaxNoOfTables=4096
MaxDiskWriteSpeed=50M
MinDiskWriteSpeed=30M
MaxNoOfExecutionThreads=16
NoOfFragmentLogParts=8
NoOfFragmentLogFiles=96
DiskIOThreadPool=8
FragmentLogFileSize=64M
TransactionDeadlockDetectionTimeout=50000
[tcp default]
portnumber=2202
[ndb_mgmd]
nodeid=1
hostname=192.168.141.160
datadir=/var/lib/mysql-cluster
[ndb_mgmd]
nodeid=2
hostname=192.168.141.170
datadir=/var/lib/mysql-cluster
[ndbd]
nodeid=5
hostname=192.168.141.162
[ndbd]
nodeid=6
hostname=192.168.141.164
[ndbd]
nodeid=7
hostname=192.168.141.185
[ndbd]
nodeid=8
hostname=192.168.141.187
# Slots for connection pool
[mysqld]
hostname=192.168.141.160
[mysqld]
hostname=192.168.141.170
[mysqld]
hostname=192.168.141.184
[mysqld]
hostname=192.168.141.189
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment