Documentation — Concepts
This page follows a statement from the client to the data.
The client connects a SQL broker and sends the statement as a message. The broker checks that the user exists and has the privilege, then answers. A statement is executed by the broker that received it; the client does not choose.
create, alter, drop, grant, deploy... read and write the dictionary on the master brokers. Their answer is a text message. The long ones (deploy, update, dump, repair) run in the background of the broker and answer when they are over.
order by, in no particular order otherwise.For a wide table, each row is assembled from its pieces before it reaches the client. This is why the select must name the whole hash key: the key is what links the pieces of a row.
An insert computes the partition from the hash key, then writes the row to each copy (and each chunk, for a wide table). A delete with a condition first finds the rows, then deletes them by their key on every copy.
The client has no ping. If the broker does not answer, the client connects another one and sends the statement again, if it only reads. A statement that changes data is never sent again by itself: the client tells you that it may or may not have been executed.