2024-07-08
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
DolphinDB's thread model is relatively complex, and writing and querying distributed tables may require multiple types of threads.Understanding the entire process of SQL query can help us understand the thread model of DolphinDB, master the configuration of DolpinDB, and optimize system performance.
This tutorial takes a distributed SQL query as an example to introduce the data flow of the DolphinDB distributed database query process and the various thread pools it goes through.
Responsible for executing commands issued by the control node to start and shut down data nodes or computing nodes. In a cluster, each physical server has only one agent node.
Responsible for collecting the heartbeats of proxy nodes, data nodes, and computing nodes, monitoring the working status of each node, and managing metadata and transactions of the distributed file system.
It can store data and also be used for data query and calculation.
Only used for data query and calculation. Compute nodes are used for computation-intensive operations, including stream computing, distributed association, and machine learning. Compute nodes do not store data, but can be used to query and calculate data.