Cluster Config Files
On this page
Cluster Overview
SingleStore is a distributed, relational, database that consists of a set of hosts and nodes.
-
Each host has a collection of SingleStore binaries and one or more instances of a running memsqld process.
-
Each
memsqld
process is a node, which can be of type aggregator or leaf. -
The set of nodes is referred to as a cluster, which constitutes a singular SingleStore database with a single point of entry.
Refer to Cluster Components for more information.
During deployment, SingleStore server binaries are installed on each host.
The SingleStore server is used to run multiple nodes, where each node is comprised of the following core components:
-
Two
memsqld
processes:-
The main
memsqld
engine process, which has:A port on
3306
:sudo lsof -p <memsqld_pid> | grep localhostmemsqld 2388 memsql 71u IPv4 156936 0t0 TCP localhost:mysql->localhost:41648 (ESTABLISHED)
An open socket for external connections:
sudo lsof -p 2388 | grep -i memsql.sockmemsqld 2388 memsql 13u unix 0xffff9d2f26f7b180 0t0 31573 memsql.sock
-
A child
memsqld
process, referred to as the "command process.” This process has a socket open to communicate with the main
memsqld
engine process and for spawning other processes for async compilation / extractors / transforms for pipelines and other related tasks.
-
-
A few auxiliary processes, such as
memsqld_
which starts upsafe memsqld
in the event of a crash.Refer to memsqld and memsqld_ safe processes for more information. -
A node configuration file, memsql.
cnf
SingleStore ensures high availability (HA) by storing redundant node data in the cluster.
In this section
Last modified: August 21, 2024