Outdated Version

You are viewing an older version of this section. View current production version.

START PIPELINE

The START PIPELINE statement starts an existing pipeline in a MemSQL database. An error will occur if the pipeline is already running.

START PIPELINE pipeline_name;
memsql> START PIPELINE mypipeline;
Query OK, 0 rows affected (0.04 sec)

To see if the pipeline was started successfully, you can execute SHOW PIPELINES:

memsql> SHOW PIPELINES;
+-------------------+---------+
| Pipelines_in_mydb | State   |
+-------------------+---------+
| mypipeline        | Running |
+-------------------+---------+
1 row in set (0.00 sec)