Couchbase delivers the Couchbase Data Platform that powers Web, Mobile, and IoT applications for digital businesses. With our newest release, Couchbase Server 4.6 provides the availability, scalability, performance, and security that enterprises require for their mission-critical applications.
What’s New and Improved
The new string, date, array, and JSON object functions that have been added to N1QL simplify data transformations and provide richer query expressions.Faster queries in N1QL are the result of several query engine performance enhancements across many types of operations, including joins and index scans.
Check out documentation for String functions, Date functions, Array functions and Object functions.
Cross datacenter replication (XDCR) with timestamp-based conflict resolution makes it easier for applications to implement a Last Write Wins (LWW) document conflict management policy across multiple Couchbase clusters. The per-document timestamp combines the server logical and physical clocks together, forming a hybrid logical clock and timestamp, which enables easy identification of consistent document snapshots across distributed Couchbase clusters.
Check out documentation for Timestamp-based conflict resolution.
Adding support for Pluggable Authentication Modules (PAM) simplifies centralized password and policy management across servers. It also enables use of existing password management services for a Couchbase cluster (for example, Linux /etc/shadow).The new server secret management feature provides improved enterprise security compliance and a more security-hardened Couchbase Server.
Check out documentation for Pluggable Authentication Modules and Secret management.
Tools [Developer Preview]
It is now easier than ever to move data in and out of Couchbase Server using the new flexible import and export tools. cbimport imports data from a CSV file or a JSON document. cbexport exports data as a JSON document.
Search [Developer Preview 2]
Search adds support for MossStore, the new default kv store mechanism for full text indexes in FTS. MossStore is part of Moss (“Memory-oriented sorted segments”), a simple, fast, persistable, ordered key value collection implemented as a pure Golang library.You can now create custom index mappings using the document key to determine the type and with this enhancement, so it’s easier to support the common data modeling style in which the document type is indicated by a portion of the key. This release also lets you sort search results by any field in the document, as long as that field is also indexed. In the earlier releases, search results were always returned in order of descending relevance score.
Check out documentation for Index Type Mapping By Keys and Sorting Query Results.
Here are some resources to get you started –
- You can download 4.6.0 on your machine from downloads page
- If you’re a Docker fan, you can pull 4.6.0 container image from docker hub
- Check out our 4.6.0 documentation
- Check out the 4.6.0 release notes