MySQL Forums
Forum List  »  NDB clusters

Routing queries to correct shard in cluster
Posted by: sandeep jangra
Date: October 21, 2015 03:32PM

Hi,

I am learning about mysql cluster and wasn't able to find an answer to this question from whitepapers.

How does a query request from application get routed to the correct shard in a MySQL cluster?

The path that the query can take could be one of these:
1. Application -> MySQL Server -> Data Nodes (NDB)
2. Application (using CLusterJPA) -> Data Nodes (NDB)

I am more interested in the second path.
My intuition is that query routing happens at the NDB API layer, but could be wrong.

Any pointers would be really appreciated.

Thanks,

Options: ReplyQuote


Subject
Views
Written By
Posted
Routing queries to correct shard in cluster
1603
October 21, 2015 03:32PM


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.