Maintenance Release Changelog
On this page
2022-01-05 Version 7. 1. 25
-
Reduce probability of failed connections to workspaces due to WebSockets proxy issues.
-
Fixed the default value for
max_
so that it is now set appropriately when control groups are in use limiting CPU usage.async_ compilation_ concurrency -
Added control group awareness for
information_
which now displays the correct number of CPUs a process has access to.schema. mv_ nodes -
Fixed an issue with a crash occurring when an incremental backup was performed on an empty database.
-
Fixed an issue with a crash occurring when DDL is run inside a stored procedure that is executed within a resource pool on a child aggregator.
-
Block the
DROP TEMPORARY TABLE
command from running in a transaction that writes to the temporary table being dropped.The DROP TEMPORARY TABLE
command result will display an error. -
Clarified error messaging when invalid data is inserted into a utf8 charset data type column.
-
Fixed an issue with queries not assigned to resource group pools with hard CPU limits from using the CPU assigned to the pool.
-
Disallowed setting the
distributed_
above 28.optimizer_ max_ join_ size
2021-11-01 Version 7. 1. 24
-
Fixed issue with crash occurring when attempting to compile queries for
UPDATE
statements with multiple columns due to insufficient memory resources.The amount of memory necessary to compile these query shapes was reduced. -
Fixed sync timeout errors occurring when
REBALANCE PARTITIONS
of large databases is being processed.The REBALANCE PARTITIONS
operation now waits for the replication of large snapshot files. -
Fixed an issue where in some rare cases
PROFILE
queries could cause a crash. -
Updated time zone data for some countries that recently changed their time zone rules.
2021-10-12 Version 7. 1. 23
-
Masked blob store
CREDENTIALS
text inBACKUP
,RESTORE
, andLINK
commands inSHOW PROCESSLIST
,information_
, and all error messages.schema. PROCESSLIST
2021-09-13 Version 7. 1. 22
-
Added a new system variable called
master_
which specifies how long an online failover will wait to drain open write transactions before issuing a kill to those transactions.promote_ kill_ timeout_ seconds It is limited to 120 seconds. After the write transactions are killed, an application-level retry is required. -
Fixed an issue that can cause defunct processes for pipelines or code generation in a rare race condition.
-
Updated
memsqlctl start-node
to check the validity of NUMA configurations when nodes are restarted.If the system doesn’t have NUMA configurations, the nodes will be restarted. If any of the nodes have invalid NUMA configurations, the NUMA bindings will be recalculated for all the nodes on the host. -
Fixed a crash that could occur when
ALTER TABLE COMPRESSION=SPARSE
is run in the sameALTER
statement with an operation that doesn’t require data movement (i.e. , AUTOSTATS_
).ENABLED = ON -
Fixed an issue where modifying the case of a column via
ALTER TABLE
could cause a pipeline using that table to crash. -
Updated
memsqlctl
to establish an SSL connection to the node if a CA certificate is set explicitly.SingleStore now falls back to an SSL connection via the host's default certificates if the target user requires SSL. -
Fixed an issue where incorrect results could be returned when using
INSERT_
to insert into a temporary table.ALL
2021-07-06 Version 7. 1. 21
-
Fixed an issue where a malformed INIT_
DB command sent by a client could cause an aggregator to crash . -
Fixed an issue where a crash could occur when running
UPDATE
on a query with a scalar subselect in aSET
clause afterALTER TABLE
. -
Properly set keep alive and timeouts on the persistent leaf-to-master aggregator connection that is used to communicate replication link status.
This fixes an issue with REBALANCE commands that failed with synchronization timeouts. -
Fixed a synchronization bottleneck, improving the ability of the pipeline scheduler to run many pipelines in parallel.
-
Improved the performance of pipeline and database DDL actions when a database has many pipelines running.
-
Fixed a blocking issue that could occur when several pipelines are being background scheduled simultaneously.
2021-06-07 Version 7. 1. 20
-
Added a new system variable,
auditlog_
, which controls the retention period (in days) of audit log files on disk.retention_ period The default is 0
which means files remain on disk indefinitely. -
ADMIN_
audit log level now audits DDL statements only.ONLY Previously it would audit other non-DDL statements, which could cause bloat in the audit logs in ADMIN_
mode.ONLY -
Fixed an issue where a crash could occur during concurrent columnstore
DELETE
s while escalating from row level locking to table level locking. -
Fixed an issue where incorrect results could be returned when using
UNION ALL
andSELECT .
.. . INTO S3 -
Fixed an issue with
DATETIME
equality testing when updating columnstore tables. -
Optimized partition placements when rebalancing partitions in
load_
mode.balanced -
Fixed an issue where
CREATE GLOBAL TEMPORARY TABLE LIKE .
would create a normal user table instead of a global temporary table.. . -
Fixed a crash that could occur when using a table reference like table_
name. * inside TO_
.JSON -
Fixed a rare race condition that could cause sync replication to get stuck.
2021-04-05 Version 7. 1. 19
-
Fixed an issue that caused
auto-rebalance
operations occurring whenleaf_
was set tofailover_ fanout load_
not to fully rebalance the workspace.balanced -
Added a new engine variable,
backup_
, which controls the number of concurrent threads used to run backups on leaves.max_ threads By default, each backup uses one thread per partition.
2021-03-22 Version 7. 1. 18
-
Fixed an issue with previously replicated databases showing as offline in Studio after
STOP REPLICATING
has been run. -
Fixed an issue with the system variable
redundancy_
being incorrectly set on leaf nodes, which previously caused errors whenlevel CHECK BLOB CHECKSUM WITH REPAIR
was run. -
Monitoring workspaces are now supported via
SSL
. -
Fixed a an issue where an unsupported FULLTEXT query could crash the server.
-
Increased
TasksMax
to 128000 formemsql.
in order to prevent errors and/or unexpected node behavior.service Previously, this setting was often exceeded, causing systemd
to limit the ability ofmemsqld
to fork processes.
2021-02-16 Version 7. 1. 17
-
Fixed an issue with automatic histograms on workspaces that were upgraded with the variable
cardinality_
set toestimation_ level 6.
.0 -
Fixed an issue where an
UPDATE
query on a columnstore table with unique key could wrongly report a duplicate key error in some cases. -
Added metrics about the availability of database partitions to
memsql_
.exporter -
Allowed
memsqlctl
to establish a secure connection when a node is configured for SSL using either the engine variablessl_
, or the host system’s trusted certificates for verification.ca -
Added the
--insecure-ssl
flag, which allowsmemsqlctl
to support SSL connections without verification. -
Fixed an issue that occurred when running
ALTER
orTRUNCATE
against a table that includedON DUPLICATE KEY UPDATE
in itsCREATE PIPELINE
statement.
2021-02-01 Version 7. 1. 16
-
Fixed an issue that caused read actions on columnstore JSON objects to result in an error (
Error reading from parquet: Column not found in schema
) in cases where trailing whitespaces were present in the JSON key names stored for a given table. -
Allowed
memsqlctl
to be run as the root user without additional configuration. -
The
memsql_
process is now properly shut down when the exporter port is changed or the workspace is uninstalled.exporter Previously, it left a defunct process. -
When running
memsql_
, the password for the monitoring user is no longer exposed in theexporter ps
output. -
When inserting into a columnstore table, columns not needed to deal with a duplicate key are no longer decompressed.
-
Improved the optimizer’s cost estimates for hash joins when one of the tables in a given join has an index matching the join condition.
-
Fixed a crash that occurred when an aggregate function was used in an unsupported context inside a stored procedure.
-
Added a new engine variable
optimizer_
, which sets a threshold for the number of empty tables that must be present in a query before the optimizer falls back to being rule based, instead of cost based.empty_ tables_ limit
2021-01-11 Version 7. 1. 15
-
Improved the speed of server shutdown and of recovery for databases with large numbers of tables.
This improvement is evident at 1,000 tables or more, and increases significantly after 10,000 tables. -
Fixed an issue that caused
RESTORE
commands to fail in cases where a database contained a large number of reference tables. -
The system’s root CA is now used where no
ssl.
is specified for a Kafka pipeline connection using SSL.ca. location -
Fixed an issue that caused
DROP TEMPORARY TABLE IF NOT EXISTS
to incorrectly return an error in cases where the table didn’t exist. -
Fixed a crash caused by a check on the maximum number of partitions allowed on a leaf node.
Now, an error message is surfaced when this is exceeded. -
Fixed issue that caused an error (
Transaction rolled back mid-query
) to occur when running cross-database queries in multi-statement transactions. -
Enabled use of
gzip
encoded files in GCS pipelines.
2020-12-17 Version 7. 1. 14
-
Reduced blocks on
UPDATE
andDELETE
commands viabackground merger
. -
Added a new variable,
default_
, which sets a threshold for the number of rows that are locked when updating rows in a columnstore table before a table lock is acquiredcolumnstore_ table_ lock_ threshold -
Fixed an issue that occurred when a
TO_
statement referred to a table that did not exist.QUERY -
When using binary protocol,
YEAR
type results are now returned asMYSQL_
.TYPE_ SHORT Previously, these results were incorrectly returned as a length-encoded string.
2020-11-23 Version 7. 1. 13
-
Fixed a crash caused by timestamp values during daylight savings time changes in columnstore tables using a timestamp as a sort key or unique key.
-
Fixed a crash that occurred when querying
information_
,schema. COLUMNAR_ SEGMENTS information_
, orschema. MV_ COLUMSTORE_ FILES information_
whileschema. MV_ COLUMNAR_ SEGMENT_ INDEX ALTER TABLE … DROP INDEX .
is being run concurrently in order to drop a secondary columnstore index.. . -
APPROX_
now supports aggregates with a grouping set.COUNT_ DISTINCT For example, SELECT APPROX_
.COUNT_ DISTINCT(column_ name) FROM table_ name GROUP BY ROLLUP(column_ name) -
In the output of
PROFILE
, indicated cases where a corrupted secondary key is encountered while running a given query.
2020-11-09 Version 7. 1. 12
Warning
Version 7.
-
Added Avro schema evolution capabilities to Pipelines.
-
Fixed an issue that caused crashes when using
GROUPING()
on expression inputs. -
information_
now shows errors on tables a user has access to via roles and groups.schema. load_ data_ errors Previously, only direct grants allowed access to the view. -
Fixed an issue that caused crashes when using reference tables with unique keys on columnstores.
-
Fixed an issue that caused index corruption with columnstore secondary keys in cases where a single partition has more than 2 billion unique values.
-
Added support for audit logging levels other than
ALL-RESULTS
mode when clients connect using server side prepared statements.Previously, enabling audit logging disabled use of prepared statements. -
Fixed a crash that occurred when
ANY_
is included in a query.VALUE(NULL) -
Fixed a crash that occurred where a query-typed variable accesses a table via a 3-part name (for example,
dbname.
) and the database referred to does not exist.tablename. columnname -
When a leaf node moves from the attaching state to the online state and an error is encountered attaching its partitions, we now more aggressively retry to ensure all partitions are attached before moving the leaf into the online state.
-
Snapshots of the memsql system database are now taken more frequently.
Previously, the memsql database was slower to recover on higher latency disk than user databases; more frequent snapshots speed up restart times. -
Blocked the creation of pipelines which refer to computed columns or columns set via a default value in the
WHERE
clause. -
Allowed
memsqlctl
to register multiple nodes with the sameauditlogsdir
. -
Fixed a wrong result issue that caused only the first of multiple values with the same hash in a segment to be output when using an
IN
list (for example,IN (a, b, c)
) with a columnstore secondary hash index. -
Added a new engine variable
disable_
that disables merging sub-queries if they contain STRAIGHT_subquery_ merge_ with_ straight_ joins JOIN in order to avoid unwanted query plans. Here, merging sub-queries refers to removing unnecessary nested layers from joins including sub-queries. For example, the query select * from (select * from table_
would be rewritten asa straight_ join table_ b) table_ c straight_ join table_ d select * from table_
if the engine variablea straight_ join table_ b straight_ join table_ d disable_
is set tosubquery_ merge_ with_ straight_ joins OFF
.If the variable is set to ON
, the query would not be rewritten.The default setting is AUTO
, which is equivalent toOFF
in 7.1. -
Added the command memsqlctl unregister-node to unregister nodes in
memsqlctl
.
2020-10-05 Version 7. 1. 10
-
Fixed an issue where restoring a backup from a local or network drive caused the partitions to be unevenly distributed across the leaves.
The issue occurred when leaf_
was set tofailover_ fanout load_
.balanced -
Fixed an issue where some
memsqlctl
commands that were run with the--timeout
flag would not exit after the specified timeout.
2020-09-28 Version 7. 1. 9
-
Fixed an issue that could prevent MemSQL from cleaning up stale data after a node goes offline due to an out of disk condition.
-
Fixed a crash caused by stored procedures which include an
INTO
clause (that modifies variables), followed by anIN
clause. -
BACKUP
andRESTORE
commands can now be governed by resource pools. -
Fixed an issue causing
RESTORE
to fail after upgrading to MemSQL 7.1 and executing BACKUP … SPLIT PARTITIONS
. -
Query hints are now supported inside query type variables in user defined functions and stored procedures.
-
The
CHECK BLOB CHECKSUM
command now supports aWITH REPAIR
option that can repair file system corruptions as long as one copy of a corrupt columnstore blob file exists on the workspace. -
The query hint
OPTION (MATERIALIZE_
was added to enable materialized common table expressions per query, as an alternative to the existing session variableCTES = AUTO) MATERIALIZE CTES
. -
Fixed a wrong results bug that occurred when joining a query type value (QTV) with a user table, and accessing a column that doesn’t exist in the QTV definition, but does exist in the user table schema.
Previously, even if the column was specified as coming from the QTV, it was being read from the table. Now, specifying the QTV works correctly. -
BACKUP … TO AZURE
now waits four minutes before timing out slow operations against the Blob Store.
2020-08-31 Version 7. 1. 8
-
Fixed an issue that occurred when using server side prepared statements via the newer versions of the MariaDB client.
The MySQL client is unaffected. -
Fixed an issue cleaning up global temp tables on leaves during rebalancing operations.
-
Fixed an issue where two window functions with identical
ORDER BY
andPARTITION BY
clauses, but differingROWS BETWEEN
clauses, incorrectly output the same values. -
Fixed a performance issue with
JSON_
.TO_ ARRAY() -
Fixed an issue where incremental autostats may enter an invalid state and be unable to recover automatically due to out of memory on a leaf node.
-
Improved error message in cases where MemSQL has issues accessing the
memsql.
file.cnf -
Fixed an issue where
REPLICATE DATABASE
would fail in cases where no replicated database existed yet and the node containing the master aggregator was previously replaced with a new node. -
Added a
multipart_
setting tochunk_ size_ mb SELECT .
that controls the size of the file uploaded to S3 to support uploading larger result sets to S3.. INTO S3 -
Fixed an issue where auto-attach would fail to attach a partition but succeed in bringing the leaf online, resulting in offline partitions.
-
Ensured that any re-used existing replica partition is still forced in sync as part of the copy operation run as a step of a
REBALANCE
operation.Previously, this was a cause of failure in cases where REBALANCE
failed once prior. -
Fixed a failure when running a
ROLLUP
query over a constant expression. -
Audit logging now supports auditing logins and login attempts.
-
Audit logging file headers now include information about what level the file is logging at as well as if the level was changed.
-
Added a tracelog (memsql.
log) message to indicate if audit logging has been disabled from previously having been enabled. -
Added support for a
SELECT
containing a semicolon in theCREATE TABLE .
statement.. . AS SELECT -
Modified the infrastructure of the native monitoring solution by removing the Kafka and
memsql-pusher
components and automating the monitoring setup with SingleStore Helios Toolbox commands.
2020-08-10 Version 7. 1. 7
-
Fixed a compatibility issue that occurred when running newer versions of SAP Business Object Data Services (BODS) against MemSQL.
The issue was that the command SET sql_
was not supported by MemSQL.mode = <expression> -
Fixed an issue that could occur when using columnstore unique keys in an update query with a join.
-
Avoid taking unneeded locks for queries writing into columnstore tables with unique key columns.
Taking these locks could cause transactions containing multiple statements to deadlock. -
Improved the error message returned when
REMOVE AGGREGATOR
is run on the master aggregator. -
The behavior of the
max_
engine variable no longer applies to DDL queries.compilation_ time_ s Eliminating compilation timeouts for these queries, especially for ALTER TABLE
, will prevent the queries from potentially running forever. -
Reduced the CPU usage required for many threads to allocate memory for variable length strings.
-
Added a new engine variable
convert_
which, when set tononunique_ hash_ to_ skiplist ON
, creates a skiplist index in place of any non-unique hash index.By default, the variable is set to OFF
. -
Pipelines no longer stop executing if free disk space drops lower than
5 * <the value of the minimal_
.disk_ space engine variable> They now stop executing if free disk space drops lower than 400 mb + <the value of the minimal_
.disk_ space engine variable>
2020-07-27 Version 7. 1. 5
-
Now,
SHOW PROCESSLIST
returns the IP address of the client (in theHost
column) if the host name cannot be resolved. -
Fixed an issue that occurred when the engine variable
interpreter_
was set tomode interpret_
, where the first run of the query remained in interpreted mode even after compilation had finished.first -
Added support for
ALTER PIPELINE .
.. . SET RESOURCE POOL -
Improved the performance of rebalance partition operations that copy partitions with many small columnstore BLOB files.
-
Improved predicate transitivity rewrites to avoid adding redundant predicates.
This fixes compile timeouts for some queries with large numbers of predicates. -
Fixed an issue where the engine variable
explicit_
could be set to a different value on new nodes added to the workspace, as compared to the existing value already set on existing nodes.defaults_ for_ timestamp This would cause the error partition’s table metadata are out of sync
when queries were run. -
Improved heartbeat failure detection when leaves were unresponsive to queries.
-
Fixed an issue where setting the engine variable
sql_
tomode ONLY_
would , for queries usingFULL_ GROUP_ BY INTERSECT
andEXCEPT
, incorrectly generate an error indicating a field is unaggregated and not in theGROUP BY
clause. -
Fixed an issue where setting the engine variable
materialized_
toctes ALL
would prevent certain queries usingINTERSECT
andEXCEPT
from running. -
Re-enabled support for certain nested subselects that had been added previously and then removed erroneously.
-
Improved the performance of batch deletes on columnstores.
The increase in performance depends on the encoding of the columns.
2020-07-06 Version 7. 1. 4
-
Now, license checks are Linux control group aware.
For containerized deployments, CPU and memory limits are checked against each container. -
ANALYZE TABLE
now requires theSELECT
and (INSERT
orALTER
) permissions to execute. -
Added the TO_
JSON function, which converts a table column, an entire table, a scalar value, or a single row to a JSON object. -
Fixed a syntax error that occurred when using the
LINES STARTING BY
orLINES TERMINATED BY
options withSELECT .
or. . INTO S3 SELECT .
.. . INTO KAFKA -
Improved the accuracy of the
PROFILE
commands that have ColumnStoreScan components. -
When
preserve_
is set tooriginal_ colstore_ json ON
, null values and empty arrays are preserved in JSON columns in columnstores. -
SSL ciphers that use elliptic curves are now supported.
-
Added an optimizer setting that allows you to adjust the cost of performing a cross join.
-
Fixed an issue where user-defined tables having the same name as system tables, such as
USERS
, were treated as case-sensitive whentable_
was set toname_ case_ sensitivity OFF
.
2020-06-15 Version 7. 1. 3
-
Correctly generate an error when running
ALTER VIEW
on a schema-bound view v1, where a schema-bound view v2 refers to v1. -
Fixed an auto-attach failure in specific failure conditions where a node quickly got marked offline and then online by the aggregator, but the node itself did not restart.
-
Fixed an issue where setting one of the three engine variables
collation_
,server collation_
, ordatabase collation_
would not persist the value for all three variables on node restart.connection (Setting any of these variables will change the other two variables to the same value). -
EXPLAIN <query>
,PROFILE <query>
, andSHOW PROFILE
commands are now allowed inside of stored procedures. -
Improved predicate transitivity rewrites to avoid adding redundant predicates.
This fixes compile timeouts for some queries with large numbers of predicates. -
The
STATE
column of theinformation_
view now indicates if a Pipeline has failed due to insufficient disk space.schema. PIPELINES
2020-05-28 Version 7. 1. 2
-
Initial GA release of SingleStore 7.
1
Last modified: March 8, 2024