Re: NDB Cluster Source code
Hi Sandy,
I wrote a book MySQL Cluster 7.5 inside and out that covers
a number of things about the internals of NDB.
The code for replication inside NDB is handled by code in
the directories storage/ndb/src/kernel/blocks.
Very quick intro to those is the following:
QMGR: Takes care of heartbeats, entry into the cluster
NDBCNTR: Handles part of the restart process and assists QMGR
DBDIH: Responsible for database recovery, handles data distribution
The actual replication happens as part of the transaction protocol.
DBTC is the transaction controller.
Transaction participants are controlled from DBLQH (Local Query Handler)
assisted by DBTUP (Tuple manager), DBACC (Hash index), DBTUX (Ordered index),
BACKUP (Checkpoints and backup), RESTORE (recovery).
Also DBUTIL, TRIX, SUMA have roles in replication.
If you have more questions feel free to ask. I check the forum every now
and then. If you have more detailed questions you can reach me at
mikael dot ronstrom at gmail dot com.
Subject
Views
Written By
Posted
648
April 18, 2022 02:01AM
322
April 18, 2022 02:50AM
275
April 18, 2022 03:57AM
335
April 18, 2022 07:56AM
329
April 19, 2022 11:26PM
Re: NDB Cluster Source code
377
April 28, 2022 03:46AM
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.