What’s New in Version 6.6?
Couchbase Server 6.6 adds features and enhancements to improve developer productivity, foster Cloud deployments, and enable operational analytics on globally distributed data.
For more information about platform support changes, deprecation notifications, notable improvements, and fixed and known issues, refer to the release notes.
You can now specify the durability level for your writes at the Bucket level in addition to the existing flexibility of choosing it at a per write level. The bucket level setting enables you to ensure that writes are done with a certain minimum level of durability, and hence be able to provide equivalent data protection guarantees.
To learn more about this feature, see Specifying Durability Level.
Couchbase Analytics Service adds the ability to access external data from AWS S3 storage buckets, thereby enabling you to combine and analyze data in real time, sourced from both outside (AWS S3) and inside your Couchbase cluster(s). To learn more about this feature, see External Datasets.
Couchbase Analytics Service introduces Remote Links which enable real-time operational analytics to obtain and analyze data from multiple Couchbase data clusters and datacenters in a separate cluster dedicated to the Analytics Service. To learn more about the feature, see Remote Links and External Links.
Couchbase Eventing Service introduces new Eventing timers that can be cancelled using the cancelTimer() function, or by creating a new timer with the same reference identifier as an existing timer.
Recurring timers are also fully supported, and can easily be used to create repetitive logic by using a timer callback to create fresh timers.
Timer scheduling enables timers to be created for days, weeks, or years in the future with no adverse performance impact.
The OnDelete Handler provides a new "options" parameter to indicate if a document was deleted or expired.
Key Eventing statistics in the UI are now co-located with each Function’s lifecycle control.
These enhancements simplify the effort and code required to make robust business logic.
Further to the N1QL and Full-Text Search (FTS) integration introduced in release 6.5, release 6.6 introduces N1QL Flex Index, which enables applications to leverage a Couchbase FTS index transparently in N1QL statements.
Applications with ad hoc queries can now benefit from FTS indexes while using standard N1QL predicates. The USE INDEX (USE FTS) hint steers the Query Service to automatically choose an applicable FTS index that is best suited for the query.
To learn more about the Flex Index feature, see Flex Indexes.
The Index Advisor has been promoted out of Beta to a fully supported feature, and is also now available online as an interactive tutorial.
The Index Advisor eliminates the guesswork in index creation and recommends changes to existing indexes wherever applicable. By providing recommendations for a specific query, or a set of queries from the Couchbase server log, it helps you create optimum indexes for your queries.
The Index Advisor also enables you to monitor performance and manage indexes to reflect the current usage pattern.
Document expiration (Time to Live) is supported in Couchbase at both the bucket and the document level. The setting is intended for use on documents that can be automatically removed after a certain period of time. Before this release, expiration time was normally set during the document creation time using the Couchbase SDK.
With N1QL TTL, the expiration time can now be set and updated directly using the N1QL syntax. This enhancement allows administrators to change the document expiration policy after the document was created, or selectively choose documents for deletion via the document expiration mechanism.
Couchbase Server 6.6 standardizes the non-root install and upgrade for rpm packages to match the root install and upgrade procedures. By enabling you to easily install, upgrade, and maintain Couchbase Server as a non-root user, this update adds an extra layer of security and complies with the de facto standard in containerized environments.
To learn more, see Non-Root Install and Upgrade.
The Couchbase Web Console now provides a graphical interface to import data in JSON, CSV, or TSV formats. While the command-line utilities are recommended for high-performance data import and for importing large datasets, the graphical interface enables quick data ingestion for development or testing.
To learn more about importing data using the Couchbase Web Console, see Import Documents.
cbbackupmgr utility adds support for object store and enables you to directly back up to and restore from AWS S3 or any other S3-compatible object store.
With the ability to backup large datasets directly to the cloud, you can leverage cloud-based object stores for your disaster recovery or archival use cases, or build containerized applications.
cbbackupmgr info command provides additional information such as type of backup, start and end dates for merged backups, and the number of views, global secondary indexes (GSI), and FTS indexes. You can obtain the output in JSON format for automation purposes.
To learn more about the command, see cbbackupmgr info.
cbbackupmgr examine command is a new feature in Developer Preview that allows you to search one or more backups for a specific document using its ID. This command can be used to learn about what was previously backed up, to identify the backup to restore, to verify a document in the backup, and also to review the historic view of document transformation.
To learn more about the command, see cbbackupmgr examine.