# Interaction of Cluster Components

You run database queries against an aggregator. Most of the communication between aggregators and leaves for query execution is also implemented as SQL statements.

![](https://images.contentstack.io/v3/assets/bltac01ee6daa3a1e14/blt2a972b69bfa44d20/6a2c430fa36d0a2ca7b82143/16083b575e3eff-62m96C.png)

## Parallel Execution of Queries

By default, SingleStore will create one partition per CPU core on the leaves for maximum parallelism. This number is configurable cluster-wide with the `default-partitions-per-leaf` variable, or as an optional parameter to [CREATE DATABASE](https://docs.singlestore.com/db/v9.1/reference/sql-reference/data-definition-language-ddl/create-database.md).

In the context of query execution, a partition is the granular unit of query parallelism. In other words, every parallel query is run with a level of parallelism equal to the number of partitions. You can view the partitions in a database with [SHOW PARTITIONS](https://docs.singlestore.com/db/v9.1/reference/sql-reference/show-commands/show-partitions.md).

***

Modified at: June 22, 2022

Source: [/db/v9.1/introduction/distributed-architecture/interaction-of-cluster-components/](https://docs.singlestore.com/db/v9.1/introduction/distributed-architecture/interaction-of-cluster-components/)

(An index of the documentation is available at /llms.txt)
