title | toc | summary |
---|---|---|
What's New in beta-20160512 |
false |
Additions and changes in CockroachDB version beta-20160512. |
- This release cannot be run concurrently with older beta releases. Please stop all nodes running older releases before restarting any node with this version.
- The
INSERT
statement now accepts anON CONFLICT
clause, for a more flexible alternative toUPSERT
. #6591 - The new
EXPLAIN (TYPES)
subcommand prints information about the types of expressions in a statement. #6482 - Added the aggregate functions
BOOL_AND()
andBOOL_OR()
. #6535 - The aggregate functions
SUM(INT)
andAVG(INT)
now returnDECIMAL
instead ofINT
andFLOAT
respectively. #6532 - The new command-line flag
--raft-tick-interval
allows the raft heartbeat frequency to be changed in high-latency deployments. #6615 TIMESTAMP
values can now be cast to typeSTRING
. #6605- The
CREATE DATABASE
statement now accepts anENCODING
option for compatibility with PostgreSQL, althoughUTF8
is the only supported encoding. #6614
- Fixed a bug when a single
INSERT
statement inserts multiple values for the same primary key. #6564 - Fixed an inconsistency that could occur when a transaction in
SNAPSHOT
isolation used the internalDeleteRange
operation. #6548 - Fixed an integer underflow that could result in log messages like
transport: http2Server received 4294965918-bytes
. #6567 - Long-running transactions are no longer allowed to exceed their table descriptor lease. #6418
- Subtracting an
INTERVAL
from aTIMESTAMP WITH TIME ZONE
returns aTIMESTAMP WITH TIME ZONE
instead of one without a time zone. #6540 - Improved type checking of comparisons involving tuples. #6517
CREATE TABLE
,ALTER TABLE
, andDROP INDEX
now do more validation of their arguments. #6492
- Improved tracking of keys modified during a transaction, improving performance of bulk inserts. #6611
- Schema changes can now continue past transient errors. #6552
- The new Tech Talks page links to recordings and slides from talks by CockroachDB founders and engineers.
- Docs for the built-in SQL client now demonstrate various ways to execute SQL statements from the command line and run external commands from the interactive shell.
- Data type docs now provide details about storage size.
- Although it's not possible to access CockroachDB's key-value store directly, the FAQ now suggests a SQL alternative.
- Replication recommendations now address cross-datacenter scenarios.
This release includes 87 merged PRs by 18 authors. We would like to thank the following contributor from the CockroachDB community:
- Kenji Kaneda