7. 5 Release Notes
On this page
Release Highlights
The SingleStore 7.
Universal Storage
-
Added support for multi-column hash keys (which can be
PRIMARY
orUNIQUE
) on columnstore tables. -
Added support for creating multi-column hash indexes on columnstore tables, using CREATE INDEX.
-
Added support for upserts on columnstore tables with multi-column hash keys, using
INSERT .
,. . ON DUPLICATE KEY UPDATE REPLACE
,IGNORE
,LOAD DATA .
,. . REPLACE . . . CREATE PIPELINE .
, and. . REPLACE . . . CREATE PIPELINE .
.. . ON DUPLICATE KEY UPDATE
Storage
-
Unlimited storage.
When a SingleStore Helios workspace is created on AWS, Azure, and GCP, all databases are created with "unlimited storage" when using the CREATE DATABASE command. No additional configuration is required. This capability is coming soon for SingleStore Helios workspaces created on GCP. -
Added support for the utf8mb4 character set, which includes encoding for emojis and additional supplementary character sets.
The character_
andset_ server collation_
engine variables specify the server character set and collation.server Although these are session variables, it is strongly recommended to set these variables globally via SQL commands or set them at server startup using SingleStore Tools. -
Added "straight-to-disk" support for columnstore tables with a unique index using
INSERT … IGNORE
,REPLACE
, andINSERT … ON DUPLICATE KEY UPDATE
.Straight-to-disk is when inserts and updates on columnstores bypass the rowstore (memory-backed) segment and go straight to disk.
Usability and Programmability
-
Added a new function, JSON_
BUILD_ OBJECT, that converts a comma-separated argument list to a JSON object. -
Added a new function, JSON_
PRETTY, that outputs the given JSON object or JSON array in an indented and legible format. -
Added two new built-in SQL commands for creating identifiers: SYS_
GUID and UUID. -
Introduced a preview version of the Data API that can be used to execute SQL statements over an HTTP connection.
The Data API enables you to develop custom applications and build seamless integrations with applications.
The Data API endpoints can be easily enabled or disabled using engine variables. For more information, see Data API Documentation.
Query Execution
-
UPDATE
andDELETE
queries containing a join (without usingLIMIT
) now only lock rows that pass the join. -
Added the SHOW REPRODUCTION command, which collects troubleshooting data for query optimizer and code generation issues for queries that fail in the compilation phase.
The troubleshooting information can be displayed on the terminal or written to a file, which can then be sent to the SingleStore Technical Support team for further analysis. -
Added support for reading
SELECT
query results in parallel, enabling faster transmission of large results sets to parallel client applications. -
Added the
compile_
andlite compile_
settings to thefirst interpreter_
engine variable.mode -
Added the default_
columnstore_ table_ lock_ threshold engine variable. This is the threshold for the number of rows that are locked before a table lock is acquired when updating or deleting rows in a columnstore table. -
UPDATE and DELETE can now be run in a distributed transaction.
This feature is enabled when the engine variable disable_
is set toupdate_ delete_ distributed_ transactions OFF
(the default).When this variable is set to OFF
, the engine variablesdeadlock_
,avoidance_ strategy lock_
, andwait_ timeout wait_
control the locking behavior of the updates and deletes.die_ retry_ on_ die_ sleep_ factor
Ingest
-
Added support for IMDSv2 in S3 pipelines.
-
Added support for ingesting Kafka keys using pipelines.
Security
-
Added new permissions:
SHOW ROUTINE
,CREATE POOL
andDROP POOL
. -
The
ADMIN-ONLY
andADMIN-ONLY-INCLUDING-PARSE-FAILS
logging levels no longer log non-DDL operations.
Other Improvements and Fixes
-
Added database version information to
MV_
via theBACKUP_ HISTORY SERVER_
column.VERSION -
Added
replay_
to the output ofstuck_ on_ low_ blob_ cache_ space SHOW DATABASE STATUS
.It indicates whether the replay is stalling because of low blob cache space. -
The RPC info column has been removed from the output of the
SHOW PROCESSLIST
command. -
For commands that require
CONFIG
andCREDENTIALS
, you can specify them in either order (CONFIG
followed byCREDENTIALS
orCREDENTIALS
followed byCONFIG
). -
Extended
UNION
support to a wider range of cross-database queries. -
Added the ability to run multiple concurrent
ALTER
commands on different tables in the same database.
In this section
Last modified: July 30, 2024