Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12587

Is maxIndexBuildMemoryUsageMegabytes and wiredTigerCacheSizeGB related?

    XMLWordPrintableJSON

Details

    • Icon: Feedback Feedback
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      wiredTigerCacheSizeGB

      Defines the maximum size of the internal cache that WiredTiger will use for all data.

      For example, on a system with a total of 4GB of RAM the WiredTiger cache will use 1.5GB of RAM (0.5 * (4 GB - 1 GB) = 1.5 GB). So the remaining 2.5 GB RAM is available to the system processes.

      maxIndexBuildMemoryUsageMegabytes

      Default: 500

      Limits the amount of memory that simultaneous foreground index builds on one collection may consume for the duration of the builds.

      My question here is, the 500 MB of maxIndexBuildMemoryUsageMegabytes will be used from 1.5 GB of Wired Tiger Cache or 2.5 GB remaining RAM?

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            manivannan89 Manivannan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 41 weeks, 1 day ago