Aug 10, 2017
Get future release notes emailed to you:
Downloads
SQL Language Changes
- The
RETURNING
clause can now be used withUPSERT
andINSERT .. ON CONFLICT DO UPDATE
statements. #17149
Command-Line Interface Changes
- The
cockroach sql
shell now prints the running time of each statement (only in interactive shells using thepretty
output format). #17358
Bug Fixes
- Fix a panic when parsing an interval consisting only of
+
or-
characters. #17344 - Improved responsiveness of query cancellation. #17219
- Prepared statements with more than 65535 arguments now return an error instead of crashing the server. #17380
- Improved tracing for batches that get split across multiple ranges. #17414
Performance Improvements
- Rebalancing now considers data size and write load, not just number of replicas. #16878
- The default MVCC garbage collection TTL has been changed from 24 to 25 hours, allowing statements (especially
dump
orBACKUP
) started at the 24h mark to be completed. #17366 - Reduced number of goroutines used in the command queue. #9448
Doc Updates
- Improved the UX of the documentation version selector on mobile devices. #1670
- Expanded the instructions for upgrading a cluster's version. #1769
- Added an example for using a
WHERE
clause to apply anINSERT .. ON CONFLICT .. DO UPDATE SET
expression conditionally. #1803