A newer version of this documentation is available.

View Latest

Index Partitioning

      +

      Index Partitioning increases query performance by dividing and spreading a large index of documents across multiple nodes. This feature is available only in Couchbase Server Enterprise Edition.

      The benefits include:

      • The ability to scale out horizontally as index size increases.

      • Transparency to queries, requiring no change to existing queries.

      • Reduction of query latency for large, aggregated queries; since partitions can be scanned in parallel.

      • Provision of a low-latency range query while allowing indexes to be scaled out as needed.

      Index Partitions

      The Index Partitions interface provides a section to enter the number of partitions the index is to be split into:

      fts index partitions interface

      The default option for this setting is 1. Note that this number represents the number of active partitions for an index, and the active partitions are distributed across all the nodes in the cluster where the search service is running.

      The type of index is saved in its JSON definition, which can be previewed in the Index Definition Preview panel, at the right-hand side.
      "planParams": {
        "numReplicas": 0,
        "indexPartitions": 6
      },