title | toc | summary |
---|---|---|
What's New in v1.2-alpha.20171204 |
true |
Additions and changes in CockroachDB version v1.2-alpha.20171204 |
Get future release notes emailed to you:
<script>
hbspt.forms.create({
css: '',
cssClass: 'install-form',
portalId: '1753393',
formId: '39686297-81d2-45e7-a73f-55a596a8d5ff',
formInstanceId: 1,
target: '.install-form-1'
});
</script>
- CockroachDB now uses RocksDB version 5.9.0. #20070
- Restored compatibility with older x86 CPUs that do not support SSE4.2 extensions. #19909
- The
TIME
data type is now supported. #19923 - The
IMPORT
command now tolerates empty CSV files and supports201
and204
return codes from HTTP storage. #19861 #20027 nodelocal://
paths inIMPORT
now default to relative within the "extern" subdirectory of the first store directory, configurable via the new--external-io-dir
flag. #19865- Added
AWS_ENDPOINT
andAWS_REGION
parameters in S3 URIs to specify the AWS endpoint or region forIMPORT
. The endpoint can be any S3-compatible service. #19860 - For compatibility with PostgreSQL:
- The
time zone
session variable (with a space) has been renamedtimezone
(without a space), andSET TIMEZONE
andSHOW TIMEZONE
are now supported alongside the existingSET TIME ZONE
andSHOW TIME ZONE
syntax. Also,SET TIMEZONE =
can now be used as an alternative toSET TIMEZONE TO
. #19931 - The
transaction_read_only
session variable is now supported. It is always set tooff
. #19971 - The
transaction isolation level
,transaction priority
, andtransaction status
session variables have been renamedtransaction_isolation
,transaction_priority
, andtransaction_status
. #20264
- The
SHOW TRACE FOR SELECT
now supportsAS OF SYSTEM TIME
. #20162- Added the
system.table_statistics
table for maintaining statistics about columns or groups of columns. These statistics will eventually be used by the query optimizer. #20072 - The
UPDATE
andDELETE
statements now supportORDER BY
andLIMIT
clauses. #20069- For
UPDATE
, this is a MySQL extension that can help with updating the primary key of a table (ORDER BY
) and control the maximum size of write transactions (LIMIT
). - For
DELETE
, theORDER BY
clause constrains the deletion order, the output of itsLIMIT
clause (if any), and the result order of itsRETURNING
clause (if any).
- For
- On table creation,
DEFAULT
expressions no longer get evaluated. #20031
- The
cockroach node status
command now indicates if a node is dead. #20192 - The new
--external-io-dir
flag incockroach start
can be used to configure the location ofnodelocal://
paths inBACKUP
,RESTORE
, andIMPORT
. #19725
- Updated time series axis labels to show the correct byte units. #19870
- Added a cluster overview page showing current capacity usage, node liveness, and replication status. #19657
- Fixed how column modifiers interact with
ARRAY
values. #19499 - Enabled an RPC-saving optimization when the
--advertise-host
is used. #20006 - It is now possible to drop a column that is referenced as a foreign key when it is the only column in that reference. #19772
- Fixed a panic involving the use of the
IN
operator and improperly typed subqueries. #19858 - Fixed a spurious panic about divergence of on-disk and in-memory state. #19867
- Fixed a bug allowing duplicate columns in primary indexes. #20238
- Fixed a bug with
NaN
s andInfinity
s inEXPLAIN
outputs. #20233 - Fixed a possible crash due to statements finishing execution after the client connection has been closed. #20175
- Fixed a correctness bug when using distributed SQL engine sorted merge joins. #20090
- Fixed a bug excluding some trace data from
SHOW TRACE FOR <statement>
. #20081 - Fixed a case in which ambiguous errors were treated as unambiguous and led to inappropriate retries. #20073
- Fixed a bug leading to incorrect results for some queries with
IN
constraints. #20036 - Fixed the encoding of indexes that use
STORING
columns. #20001 IMPORT
checkpoints are now correctly cleaned up. #20211- Fixed a bug that could cause system overload during cleanup of large transactions. #19538
- On macOS, the built-in SQL shell (
cockroach sql
) once again properly supports window resizing. #20148, #20153 PARTITION BY
multiple columns with window functions now works properly. #20151- Fixed a bug so deleting chains of 2 or more foreign key references is now possible. #20050
- Prometheus vars are now written outside the metrics lock. #20194
- Enterprise
BACKUP
s no longer automatically include thesystem.users
andsystem.descriptor
tables. #19975 - Added
AWS_ENDPOINT
andAWS_REGION
parameters in S3 URIs to specify the AWS endpoint or region forBACKUP
/RESTORE
. The endpoint can be any S3-compatible service. #19860 RESTORE DATABASE
is now allowed only when the backup contains a whole database. #20023- Fixed
RESTORE
being resumed withskip_missing_foreign_keys
specified. #20092 BACKUP
/RESTORE
jobs now support201
and204
return codes from HTTP storage. #20027BACKUP
now checks that all interleaved tables are included (as required byRESTORE
). #20206- Marked
revision_history
BACKUP
/RESTORE
as experimental. #20164 nodelocal://
paths inBACKUP
/RESTORE
now default to relative within the "extern" subdirectory of the first store directory, configurable via the new--external-io-dir
flag. #19865
- In conjunction with beta-level support for the C# (.NET) Npgsql driver, added a tutorial on building a C# app with CockroachDB. #2236
- Improved Kubernetes guidance:
- Added a tutorial on orchestrating a secure CockroachDB cluster with Kubernetes, improved the tutorial for insecure orchestrations, and added a local cluster tutorial using
minikube
. #2147 - Updated the StatefulSet configurations to support rolling upgrades, and added initial documentation. #19995
- Added a tutorial on orchestrating a secure CockroachDB cluster with Kubernetes, improved the tutorial for insecure orchestrations, and added a local cluster tutorial using
- Added performance best practices for
INSERT
andUPSERT
statements. #2199 - Documented how to use the
timeseries.resolution_10s.storage_duration
cluster setting to truncate timeseries data sooner than the default 30 days. #2210 - Clarified the treatment of
NULL
values inSELECT
statements with anORDER BY
clause. #2237