Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-6342

Provide more details on the index sizing calculations



    • DOC-2020-S12-Jun28, DOC-2020-S13-Jul12, DOC-2020-S17-Sep06, DOC-2020-S18-Sep20, DOC-2020-S19-Oct04, DOC-2020-S20-Oct18, DOC-2020-S22-Nov15, DOC-2020-S21-Nov01, DOC-2020-S23-Nov29, DOC-2020-S24-Dec13, DOC-2020-S25-Jan03, DOC-2021-Jan17-S1, DOC-2021-Jan31-S2, DOC-2021-Feb14-S3, DOC-2021-Feb28-S4, DOC-2021-Mar14-S5, DOC-2021-Mar28-S6, DOC-2021-Apr11-S7, DOC-2021-Apr25-S8
    • 1


      In the Index sizing page https://docs.couchbase.com/server/current/install/sizing-general.html#sizing-index-service-nodes, we could add more details about the overhead memory requires. For example, secondary indexes could require 120 bytes overhead per item between the mainstore and backstore tree structure. This is especially important for MOI, as the indexes will be in memory.

      • Possibly separate discussion for MOI vs. Standard/Plasma.
      • Add snapshot sizing information needed for MOI disk snapshots.
      • Overhead sizing for primary and secondary indexes. In addition to the item data itself, how much overhead is needed per item to maintain the index data structure?
      • Considering mainstore and backstore when mentioning sizing.
      • Possibly consider adding more information about other (often hard to predict additional sizing needed), such as queues formed due to slow indexing or when an index is first built. Additionally the additional space usage that might come from a delta chain.
      • Possibly an honorable mention of the memory usage needed for the Index Service to maintain its basic self ... just to operate ... memory needed for network communications ... etc.

      Docs Contrib

      Please edit the page linked above to provide the required information. To be backported to 5.0.


        No reviews matched the request. Check your Options in the drop-down menu of this sections header.



            simon.dew Simon Dew
            david.saadeh David Saadeh (Inactive)
            1 Vote for this issue
            5 Start watching this issue



              Gerrit Reviews

                There are no open Gerrit changes