DEV Community

Discussion on: Creating a ClickHouse cluster - Part I: Sharding

Collapse
 
roadtrain profile image
Pavel Vorozheykin • Edited

Thanks for the article!
I'm a little confused about the notion of master nodes. ClickHouse docs state that its clusters are homogenous, i.e. each node is equivalent in its schema and settings, and can be written to/queried against.
So, in a sense, any node can be master. Or rather there are no master nodes at all.

Collapse
 
zergon321 profile image
NightGhost

Yes, you can place a usual table and a master table for it on the same node. This allows you to create a kind of decentralized cluster in which data from all the nodes can be aggregated through any other node.