Important
Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.
SQL Commands List
Here is an alphabetical list of all the SQL commands SingleStore Helios currently supports.
|
Command Name |
Command Description |
Grouping |
|---|---|---|
|
Sets the auto-increment counter on the aggregators (master or child). |
Data Manipulation Language | |
|
Specifies if an existing database should begin using synchronous or asynchronous replication. |
Data Definition Language | |
|
Changes an existing pipeline’s configuration. |
Pipeline | |
|
Changes the resource settings in an existing resource pool. |
Resource Pool | |
|
Modifies the structure of an existing table. |
Data Definition Language | |
|
Alters settings associated with the user. |
Security Management | |
|
Atomically replaces a view with a new view defined by a |
Data Definition Language | |
|
Collects statistics for a table. |
Operational | |
|
Defines an |
Procedural | |
|
Restores an unlimited storage database at a restore point and then brings the database online. |
Operational | |
|
Backs up a database. |
Operational | |
|
Commits any existing open transaction on the current connection and starts a new transaction. |
Data Manipulation Language | |
|
Runs the specified stored procedure. |
Procedural | |
|
Checks for and displays columnstore blob file corruptions. |
Operational | |
|
Checks the checksum of the blob files stored in the remote blob store. |
Operational | |
|
Removes load errors from the |
Data Manipulation Language | |
|
Runs a |
Procedural | |
|
Commits the open transaction if one exists. |
Data Manipulation Language | |
|
Creates an external function, which is a function that calls code that runs outside of a SingleStore database. |
Procedural | |
|
Creates a temporary stored procedure, which is a stored procedure that is available during a user's session. |
Procedural | |
|
Creates a user-defined aggregate function (UDAF). |
Procedural | |
|
Creates a database. |
Data Definition Language | |
|
Creates a trace event. |
Trace Events | |
|
Creates a user-defined table-valued function (TVF). |
Procedural | |
|
Creates a user-defined scalar-valued function (UDF). |
Procedural | |
|
Creates a group on a SingleStore Helios cluster. |
Security Management | |
|
Creates an index on the specified table. |
Data Definition Language | |
|
Creates a new connection link to S3, Azure, GCS, HDFS, HTTP, Kafka, MongoDB®, or MySQL for a permitted user. |
Security Management | |
|
Records a milestone, which is a named point to which you can restore an unlimited storage database. |
Data Definition Language | |
|
Creates a new Pipeline to continuously extract, shape, and load data into a table, or to shape and load a set of files fast into a table, in parallel. |
Pipeline | |
|
Creates a stored procedure. |
Procedural | |
|
Creates a projection. |
Data Definition Language | |
|
Creates a resource pool. |
Resource Pool | |
|
Creates a role on a SingleStore Helios cluster. |
Security Management | |
|
Creates a new table. |
Data Definition Language | |
|
Creates a new user account. |
Security Management | |
|
Creates an unmaterialized view. |
Data Definition Language | |
|
Creates a new array of the specified length that is initialized with default values for the array’s inferred data type. |
Procedural | |
|
Returns a comma separated list of the current user's security groups on a SingleStore cluster. |
Security Management | |
|
Returns a comma separated list in one row of the current user's security roles on a SingleStore cluster. |
Security Management | |
|
Returns the details (username and hostname) of the user executing the query. |
Security Management | |
|
Deletes rows in a table. |
Data Manipulation Language | |
|
Describes the specified table. |
Data Definition Language | |
|
Takes an unlimited storage database offline. |
Operational | |
|
Detaches a pipeline from its target table, similar to the |
Pipeline | |
|
Forces a plan to be optimized and generated from scratch the next time it is run. |
Data Definition Language | |
|
Removes a single user-defined aggregate function (UDAF) from the specified database. |
Procedural | |
|
Drops a local storage database. |
Data Definition Language | |
|
Drops a trace event. |
Trace Events | |
|
Removes a single function from the specified database, including user-defined scalar-valued functions (UDFs) and user-defined table-valued functions (TVFs). |
Procedural | |
|
Removes a group from a SingleStore Helios cluster. |
Security Management | |
|
Drops the specified index on the specified table. |
Data Definition Language | |
|
Removes a connection link on S3, Azure, GCS, HDFS, or Kafka for a permitted user. |
Security Management | |
|
Deletes a pipeline from your SingleStore Helios cluster. |
Pipeline | |
|
Removes a single stored procedure from the specified database. |
Procedural | |
|
Drops an existing projection. |
Data Definition Language | |
|
Drops the specified resource pool. |
Resource Pool | |
|
Removes a role from a SingleStore Helios cluster. |
Security Management | |
|
Drops the specified table. |
Data Definition Language | |
|
Removes one or more user accounts. |
Security Management | |
|
Drops a view. |
Data Definition Language | |
|
Runs a stored procedure and returns a set of rows as a result. |
Procedural | |
|
Runs the specified |
Procedural | |
|
Compare the results of two queries and return the distinct rows from the first query that do not appear in the second query. |
Data Manipulation Language | |
|
Runs a SQL query. |
Procedural | |
|
Use a subquery to determine whether the subquery returns any rows. |
Data Manipulation Language | |
|
Returns detailed information on how the query runs. |
Data Manipulation Language | |
|
Stops the full-text V2 service. |
Operational | |
|
Grants the specified privileges to an existing user. |
Security Management | |
|
Adds a user to a group. |
Security Management | |
|
Adds a role to a group. |
Security Management | |
|
Inserts data into a table. |
Data Manipulation Language | |
|
Inserts an array of records into a table in a single operation. |
Procedural | |
|
Combines the result set of two queries and returns distinct rows that are returned by both queries. |
Data Manipulation Language | |
|
Kill the connection on the specified thread. |
Operational | |
|
Kills all running queries or closes all connections. |
Operational | |
|
Imports data stored in a CSV, JSON, BSON, Avro, or Parquet file into a SingleStore table (referred to as the destination table in this topic). |
Data Manipulation Language | |
|
Performs optimizations on the storage of rows in a table. |
Data Definition Language | |
|
Lets you transform non-aggregated data into a pivot table output format. |
Data Manipulation Language | |
|
Provides detailed resources usage metrics about a query. |
Data Manipulation Language | |
|
Runs a single batch in the foreground to provide detailed resource metrics for each operation in your pipeline. |
Pipeline | |
|
SingleStore Helios Procedural SQL (PSQL) supports the |
Procedural | |
|
SingleStore Helios Procedural SQL (PSQL) supports the |
Procedural | |
|
Reoptimizes the most recently profiled query based on previous executions of it. |
Data Manipulation Language | |
|
Manually marks a plan for Feedback Reoptimization. |
Data Manipulation Language | |
|
This command is deprecated. |
Operational | |
|
If the table has a |
Data Manipulation Language | |
|
Restores a database from a binary backup file. |
Operational | |
|
Revokes privileges from a SingleStore Helios user or role. |
Security Management | |
|
Removes a user from a group. |
Security Management | |
|
Removes a role from a group. |
Security Management | |
|
Rolls back the open transaction if one exists. |
Data Manipulation Language | |
|
Retrieves data from a table. |
Data Manipulation Language | |
|
Inspects the setting of a global engine variable. |
Operational | |
|
Sets a session variable. |
Operational | |
|
Sets a sync variable to propagate to all aggregators in the cluster. |
Operational | |
|
Sets a sync variable. |
Operational | |
|
Sets an engine variable globally. |
Operational | |
|
Sets a sync variable to propagate to all leaves in the cluster. |
Operational | |
|
Sets a user’s password. |
Security Management | |
|
Lists any existing user-defined aggregate functions (UDAF) in the specified database. |
Procedural | |
|
Displays information about the CDC-in pipelines. |
Show Commands | |
|
Shows supported character sets and the default collation for each character set. |
Show Commands | |
|
Lists available collations and character sets. |
Show Commands | |
|
Shows the list of columns within a given table. |
Show Commands | |
|
Shows the function definition and other attributes for a user-defined aggregate function (UDAF). |
Procedural | |
|
Outputs configuration information about an existing user-defined function, including user-defined scalar value functions (UDFs) and user-defined table-valued functions (TVFs). |
Procedural | |
|
Shows the |
Show Commands | |
|
Returns the |
Show Commands | |
|
Shows the |
Show Commands | |
|
Shows the definition, procedure body, and other attributes for a stored procedure. |
Procedural | |
|
Shows the |
Show Commands | |
|
Shows the |
Show Commands | |
|
Shows SingleStore Helios database status. |
Show Commands | |
|
Shows the list of databases that exist on this SingleStore Helios instance. |
Show Commands | |
|
Provides information about the status and performance of the Distributed Plancache. |
Show Commands | |
|
Displays errors as a result of execution of an invalid statement. |
Show Commands | |
|
Displays system-wide Feedback Reoptimization (FR) information. |
Show Commands | |
|
Displays metrics for the JLucene full-text search in JSON format. |
Show Commands | |
|
Shows the status of the full-text V2 service. |
Show Commands | |
|
Lists any existing user-defined functions in the specified database, including user-defined scalar-valued functions (UDFs) and user-defined table-valued functions (TVFs). |
Procedural | |
|
Shows global SingleStore Helios server status information. |
Show Commands | |
|
Shows permissions (privileges) for the specified user (or role). |
Security Management | |
|
Shows the list of groups on a cluster group. |
Security Management | |
|
Shows groups for a specific role. |
Security Management | |
|
Shows groups for a specific user. |
Security Management | |
|
Displays the list of indexes associated with a given table. |
Show Commands | |
|
Shows all connection links on S3, Azure, GCS, HDFS, Kafka, or other data sources for a permitted user. |
Security Management | |
|
This command is deprecated. |
Show Commands | |
|
This command is deprecated. |
Show Commands | |
|
Shows partitions and relevant information about them. |
Show Commands | |
|
Shows all existing pipelines in a database and their current state. |
Show Commands | |
|
Displays the EXPLAIN plan of a query as per the plan ID. |
Show Commands | |
|
Shows all query statements that SingleStore Helios has compiled and executed, as well as cumulative query execution statistics associated with each plan. |
Show Commands | |
|
Shows details about currently running threads. |
Show Commands | |
|
Lists existing stored procedures in the current or the specified database. |
Procedural | |
|
Shows projections created on the current database or specified table. |
Show Commands | |
|
Shows the list of all connections between the replication master and secondary databases. |
Operational | |
|
Collects troubleshooting data for query optimizer and code generation issues for queries that fail in the compilation phase. |
Show Commands | |
|
Lists all resource pools and their field values. |
Resource Pool | |
|
Shows the list of roles on a cluster group. |
Security Management | |
|
Shows roles for a specific group. |
Security Management | |
|
Shows roles for a specific user. |
Security Management | |
|
Shows the list of schemas that exist on this SingleStore Helios instance. |
Show Commands | |
|
Shows SingleStore Helios server status information for a session. |
Show Commands | |
|
Shows SingleStore Helios server status information with detailed SingleStore Helios-specific memory and performance metrics. |
Show Commands | |
|
Shows tables status information in a SingleStore Helios database. |
Show Commands | |
|
Shows the list of tables in the currently selected database, or in another database if db_ |
Show Commands | |
|
Shows users on a SingleStore Helios cluster. |
Security Management | |
|
Shows users for a specific group. |
Security Management | |
|
Shows users for a specific role. |
Security Management | |
|
Shows a list of variable bindings. |
Show Commands | |
|
Displays warnings as a result of an invalid statement execution. |
Show Commands | |
|
Takes a snapshot of the given database and truncates the transaction log. |
Operational | |
|
Starts an existing pipeline in a SingleStore Helios database. |
Pipeline | |
|
Stops a currently running pipeline in a SingleStore Helios database. |
Pipeline | |
|
Synchronizes any currently committed data in the database with the remote object storage. |
Operational | |
|
Synchronizes a node's local PPC with the DPC for a specific database. |
Operational | |
|
Tests an existing pipeline and looks for any new files to import. |
Pipeline | |
|
Removes all rows from the table. |
Data Definition Language | |
|
Combines results from multiple SELECT statements. |
Data Manipulation Language | |
|
Releases all table locks on all databases in the cluster. |
Data Definition Language | |
|
Modifies rows in a table. |
Data Manipulation Language | |
|
Specifies the database or schema to use. |
Data Manipulation Language | |
|
Specifies a temporary named result set, referred to as a Common Table Expression (CTE). |
Data Manipulation Language |
Last modified: