A newer version of this documentation is available.

View Latest

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.

      What’s new in 7.2.6

      • The following new platforms are supported.

        • Linux Ubuntu 24.04

      • New stats and parameters added to Couchbase Server

        cm_failover_total

        The number of non-graceful failover results (initiated, completed, failed, stopped).

        cm_graceful_failover_total

        The number of graceful failover results (initiated, completed, failed, stopped).

        cm_is_balanced

        A Prometheus metric that shows if the cluster is balanced.

        cm_rebalance_in_progress

        Boolean value showing if a cluster rebalance is currently in progress.

        cm_rebalance_total

        The number of rebalance results (initiated, completed, failed, interrupted, stopped).

      What’s new in 7.2

      • The following new platforms are supported:

        • Red Hat Enterprise Linux 9

        • Oracle Linux 9

        • SUSE Enterprise Linux 12

        • SUSE Enterprise Linux 15

        • 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.

      • New stats added:

        cm_auto_failover_count

        The number of auto-failovers that have occurred.

        cm_auto_failover_enabled

        Indicates if auto-failover is enabled (1 = true, 0 = false)

        cm_auto_failover_max_count

        The maximum number of auto-failovers before being disabled

        Each stat contains a label named event (initiated, completed,failed, and stopped) and the number of occurrences for the labeled event.

      • Examples added to Tools package. The documentation references code examples built with the cbq command line tool. Since the examples are also used by Capella users, the cbq tool is now part of the tools package.

      • 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.

      • Couchbase Server has a new service discovery endpoint to help you configure the Prometheus event monitoring system. The old endpoint, named /prometheus_sd_config.yaml is now deprecated. The new endpoint is able to produce the same output as the old endpoint and has additional features. See Configure Prometheus to Collect Couchbase Metrics.

      • You can now have Couchbase Server prune rotated audit logs after a period of time. You set how long Couchbase Server should keep audit logs by using the new pruneAge parameter for the /settings/audit endpoint. The default value of 0 means that Couchbase Server does not prune audit logs. See Configure Auditing.

      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.