Pipelines Scheduling
If you create multiple pipelines in SingleStore, they will all run in parallel.
Variables |
Description |
---|---|
|
Allows you to specify the maximum number of partitions for each batch. |
|
Allows you to specify the maximum number of pipeline batch partitions that can run concurrently. |
|
Allows you to set the maximum number of pipelines running concurrently. |
Note
The number of partitions that a pipeline uses is dependent on its source.
For example, consider a SingleStore database with 10 partitions.
If the partition requirements, (as set via max_
) of any two pipelines exceed the total number of partitions, each pipeline will be run serially in a round robin fashion.
For example, consider a SingleStore database with 10 partitions, and 3 pipelines.
In this same scenario, if the pipelines_
variable was set to 5, and the max_
variable was not specified, then each pipeline P1, P2, and P3 will be run serially.
You can also use the pipelines_
variable in this scenario.
Last modified: September 2, 2024