What’s New in Version 7.2

      Couchbase is the modern database for enterprise applications. Couchbase Server 7.2 combines the strengths of relational databases with the flexibility, performance, and scale of Couchbase.

      For information about platform support changes, deprecation notifications, notable improvements, and fixed and known issues, refer to the Release Notes.

      New Features and Enhancements

      The following new features are provided in this release.

      • The following new platforms are supported:

        • Red Hat Enterprise Linux 9

        • Oracle Linux 9

        • Ubuntu 20 LTS (ARM64)

        • Ubuntu 22 LTS (x86, ARM64)

        • Amazon Linux 2023 (x86, ARM64)

        • macOS 12 Apple Silicon

        See Supported Platforms for the complete list of supported platforms, and notes on deprecated platforms.

      • Cost Based Optimizer for Analytics (CBO). The cost-based optimizer for Analytics chooses the optimal plan to execute an Analytics query. The cost-based optimizer gathers and utilizes samples from Analytics collections, and then queries the samples at query planning time to estimate the cost of each operation.

        The Analytics Service introduces new syntax for managing samples, and provides parameters and hints to help specify the behavior of the cost-based optimizer. See Cost-Based Optimizer for Analytics.

      • Time Series Queries. Time series data is any data which changes over time. It is usually collected frequently, in regular or irregular intervals, from a device or a process.

        The Query Service provides a standard format for time series data, which promotes compact storage and quick processing, and introduces a _TIMESERIES function to query time series data. See Time Series Data and the _TIMESERIES Function.

      • Change History. A change history can be maintained for collections in a bucket. Changes to documents within the collections are included in the change history. A maximum size for the change history can be specified in bytes or seconds. See Change History.

        For information on establishing change-history default settings, at bucket-creation time, see Creating and Editing Buckets. For information on switching the change history on or off for a specific collection, see Creating and Editing a Collection. To examine the change-history status for each collection in a bucket, see the collections option for cbstats. To read the change history, use the Kafka 4.1 Connector.

      • New alerts are provided for change-history size threshold and Index Service low residence threshold. See Setting Alerts.

      • You can now configure block size for Magma storage when you create a bucket. See Creating and Editing Buckets.

      • New metrics are provided for tracking XDCR conflict resolution on the target cluster. See Monitoring Conflict Resolution on the Target Cluster.

      • Couchbase Server now checks node certificates to ensure a node-name is correctly identified with a Subject Alternative Name (SAN) when certificates are uploaded and when a node is added or joins a cluster. See Node-Certificate Validation.

      • The Analytics Service now supports external datasets on Google Cloud Platform (GCP) storage. You can manage these datasets using the UI or the Analytics Links REST API. See Managing Links and Analytics Links REST API.

      • When connecting from an external network, you can now use the network=external option to specify an alternate address when using cbbackupmgr, cbimport, and cbexport. See Host Formats information in cbbackupmgr, cbimport, and cbexport.

      • You can now download the cbbackupmgr, cbimport, and cbexport tools from a tools package. This enables developers or testers to use the tools from machines on which Couchbase Server is not installed. See Server Tools Packages.

      • Capella databases use Certificate Authorities (CAs), to establish secure connections: these CAs are now automatically trusted when you use Couchbase Web Console or the REST API to establish fully secure XDCR connections between Capella databases and Couchbase Enterprise Server 7.2+. See Capella Trusted CAs.

      Developer Preview

      The following features are provided as part of the Developer Preview for 7.2.

      Support for Python Machine Learning Models (Python UDFs)

      Python User-Defined Functions (UDFs) enable the evaluation of Python functions in the context of an SQL++ query. The complexity of these UDFs can range from simple Python code snippets to trained models that are based on machine-learning frameworks like scikit-learn or PyTorch.

      Encrypted Backups

      Encrypted backups are available with both cbbackupmgr CLI and the Backup Service. See cbbackupmgr encryption.

      For information on using these features, see Developer Preview Mode and Features.