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

Query

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.

Replication

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.

Security

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.

Check out documentation for Cbimport and Cbexport.

Data Access

Adding direct support for lists, maps, sets, and queues in the sub-document API using the new data structure SDK feature, further simplifies application development. The new data structures work seamlessly with the same underlying data representation, allowing developers in N1QL, Java, .NET, and other languages to access the same data across different programming languages and interfaces.Adding .NET Core support enables Microsoft application developers to easily develop and integrate their applications with
Couchbase Server.
Check out documentation for Data structures and .NET Core blog.

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 –

Author

Posted by Anil Kumar, Director Product Management, Couchbase Cloud-Native Database

Anil Kumar is the Director of Product Management at Couchbase. Anil’s career spans more than 19+ years of building software products across various domains, including enterprise software and cloud services. He is a hands-on product leader responsible for Couchbase Server, Couchbase Cloud, and Kubernetes product lines, including evangelizing the product strategy and vision with customers, partners, developers, and analysts. Before joining Couchbase, Anil spent several years working at Microsoft Redmond. Anil holds a master’s degree in computer science from the University of Toronto (Canada) and a bachelor’s in information technology from Visvesvaraya Technological University (India).

Leave a reply