Hi!
I've read much of the MySQL Cluster docs and some tutorials yet I still have some things not clear, and the major of them right now are:
- When a data node restarts (crash and goes up again) will it's data still be available? Updates/Additions will work as usual? Will it "sync"?
- Does a cluster work faster than standalone? In particular, I update rows many times, but one at a time, meaning network latency might have impact on the performance. Is there any pattern I can follow to make things faster, such as adding more SQL nodes or adding mode data nodes?
Regarding question #2, an update of a row is in the following syntax:
UPDATE db_accounts.tbl_items SET items=items+%lld WHERE id_account=%u
"id_account" is an index (unique).