MySQL Forums
Forum List  »  NDB clusters

Re: poor performance on load data to NDB
Posted by: Andy Kwong
Date: October 06, 2006 09:08AM

Thanks for your reply, Kevin,

On the network, I got each servers connected to a private gigabit network with 2 nics binded together. So, it is sort of a 2gb ethernet. I can copy the source data file (150MB) between the servers in seconds. I'm guessing the NDB engine maybe forcing the buffer to be send over to other ndb node too often (if not on row level). I will check out the ndb_force_send variable, but my worry is that it will delay the sync operation and the cluster is not as 'closely synced' as they designed to be.

I was hoping there is a way to:
- load data into one node temporary on temp table
- commit the bulk data change over the network (temp table)
- rename the temp table to replace a production table and the new data will get online on both node.
However, my first step take very long.

I tested an alternative by stopped all the node except one and I load the data on that node first. After that, I start the rests of the nodes and they sync up with the master. The total time is much faster than (the time it needs for a single node). However, there should be a way to do that without stopped the nodes.

Maybe I should have interface with the NDB engine directly to load data (not through the mysqld)?

Regards,
Andy



Edited 1 time(s). Last edit at 10/06/2006 09:34AM by Andy Kwong.

Options: ReplyQuote


Subject
Views
Written By
Posted
2136
October 05, 2006 11:07PM
Re: poor performance on load data to NDB
1114
October 06, 2006 09:08AM


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.