MySQL Forums
Forum List  »  NDB clusters

Re: MySQL ndbcluster - Man, why is it so slow!
Posted by: Robert Dye
Date: April 10, 2009 12:13PM

Thanks for the reply. I have attached my current config.ini, updated since reading your thread:

[NDBD DEFAULT]
ODirect
NoOfReplicas=2
DataDir=/mysql/data
BackupDataDir=/mysql/backup

SharedGlobalMemory=256M
DataMemory=1024M
IndexMemory=128M

FragmentLogFileSize=32M
NoOfFragmentLogFiles=64

LockExecuteThreadToCPU=0
LockMaintThreadsToCPU=1


MaxNoOfConcurrentOperations=100000
TimeBetweenGlobalCheckpoints=1000
TimeBetweenEpochs=200
DiskCheckpointSpeed=10M
DiskCheckpointSpeedInRestart=100M

[MYSQLD DEFAULT]

[NDB_MGMD DEFAULT]

[TCP DEFAULT]
SendBufferMemory=2M
ReceiveBufferMemory=2M

[NDB_MGMD]
HostName=10.160.90.84 # IP address of this server

# Storage Nodes
[NDBD]
HostName=10.160.90.85 # IP address of storage-node-1

[NDBD]
HostName=10.160.90.86 # IP address of storage-node-2

# Setup node IDs for mySQL API-servers (clients of the cluster)
[MYSQLD]
[MYSQLD]
[MYSQLD]
[MYSQLD]


What I have noticed is a slight performance increase for inserts, but heavily increased performance when doing updates. Although, MyISAM still is doing approx 3500 Inserts NDB is ranging only slightly higher with 1750 queries per second. I wonder what the magic button is at this point.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL ndbcluster - Man, why is it so slow!
3293
April 10, 2009 12:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.