<section>
 <h1 class="contains-headerlink leafygreen-ui-41fr9s" weight="medium">
  collStats
  <a class="headerlink leafygreen-ui-1kepx47" href="#collstats" title="Permalink to this heading">
   <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
    <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
    </path>
    <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
    </path>
   </svg>
   <div class="css-1btu0w3 evvkmar0" id="collstats">
   </div>
  </a>
 </h1>
 <div class="leafygreen-ui-a5yxub">
  <p class="css-1cmx2d4 ef7gu8j0">
   On this page
  </p>
  <ul class="css-1qb0mst ef7gu8j1">
   <li class="leafygreen-ui-1e7a0ei">
    <a class="lg-ui-0001 leafygreen-ui-e98ikf" href="#definition" target="_self">
     <span>
      Definition
     </span>
    </a>
   </li>
   <li class="leafygreen-ui-1jqtqlb">
    <a class="lg-ui-0001 leafygreen-ui-cpmeq5" href="#compatibility" target="_self">
     <span>
      Compatibility
     </span>
    </a>
   </li>
   <li class="leafygreen-ui-1jqtqlb">
    <a class="lg-ui-0001 leafygreen-ui-cpmeq5" href="#syntax" target="_self">
     <span>
      Syntax
     </span>
    </a>
   </li>
   <li class="leafygreen-ui-1jqtqlb">
    <a class="lg-ui-0001 leafygreen-ui-cpmeq5" href="#behavior" target="_self">
     <span>
      Behavior
     </span>
    </a>
   </li>
   <li class="leafygreen-ui-1jqtqlb">
    <a class="lg-ui-0001 leafygreen-ui-cpmeq5" href="#example" target="_self">
     <span>
      Example
     </span>
    </a>
   </li>
   <li class="leafygreen-ui-1jqtqlb">
    <a class="lg-ui-0001 leafygreen-ui-cpmeq5" href="#output" target="_self">
     <span>
      Output
     </span>
    </a>
   </li>
  </ul>
 </div>
 <section>
  <h2 class="contains-headerlink leafygreen-ui-19f71ei" weight="medium">
   Definition
   <a class="headerlink leafygreen-ui-1kepx47" href="#definition" title="Permalink to this heading">
    <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
     <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
     </path>
     <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
     </path>
    </svg>
    <div class="css-1btu0w3 evvkmar0" id="definition">
    </div>
   </a>
  </h2>
  <dl class="dbcommand">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-dbcommand-dbcmd.collStats" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-dbcommand-dbcmd.collStats">
     </div>
    </a>
   </dt>
   <dd>
    <div>
     <p>
      <em>
       Deprecated
       <!-- -->
       since version
       <!-- -->
       6.2
      </em>
      .
     </p>
    </div>
    <p class="leafygreen-ui-1kp3ins">
     In versions 6.2 and later use the
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/operator/aggregation/collStats/#mongodb-pipeline-pipe.-collStats">
      <code class="leafygreen-ui-1l06pbn">
       $collStats
      </code>
     </a>
     aggregation
stage.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     The
     <code class="leafygreen-ui-1l06pbn">
      collStats
     </code>
     command returns a variety of storage statistics
for a given collection.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     Use the
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/operator/aggregation/collStats/#mongodb-pipeline-pipe.-collStats">
      <code class="leafygreen-ui-1l06pbn">
       $collStats
      </code>
     </a>
     aggregation stage instead
of the
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-dbcommand-dbcmd.collStats" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        collStats
       </code>
      </span>
     </a>
     command and its
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="https://www.mongodb.com/docs/mongodb-shell/#mongodb-binary-bin.mongosh" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        mongosh
       </code>
      </span>
     </a>
     helper method
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.collection.stats/#mongodb-method-db.collection.stats">
      <code class="leafygreen-ui-1l06pbn">
       db.collection.stats()
      </code>
      .
     </a>
    </p>
    <div class="leafygreen-ui-13vw3ie" role="note">
     <h2 class="leafygreen-ui-1fn4p2b">
      Tip
     </h2>
     <div class="leafygreen-ui-9mycqc">
      <p class="leafygreen-ui-1kp3ins">
       In
       <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="https://www.mongodb.com/docs/mongodb-shell/#std-program-mongosh" target="_self">
        <span>
         <code class="leafygreen-ui-1l06pbn">
          mongosh
         </code>
        </span>
       </a>
       , this command can also be run through the
       <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.collection.stats/#mongodb-method-db.collection.stats">
        <code class="leafygreen-ui-1l06pbn">
         stats()
        </code>
       </a>
       helper method.
Specific fields in the
       <code class="leafygreen-ui-1l06pbn">
        collStats
       </code>
       output can be accessed using the
       <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.collection.dataSize/#mongodb-method-db.collection.dataSize">
        <code class="leafygreen-ui-1l06pbn">
         dataSize()
        </code>
       </a>
       ,
       <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.collection.estimatedDocumentCount/#mongodb-method-db.collection.estimatedDocumentCount">
        <code class="leafygreen-ui-1l06pbn">
         estimatedDocumentCount()
        </code>
       </a>
       ,
       <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.collection.isCapped/#mongodb-method-db.collection.isCapped">
        <code class="leafygreen-ui-1l06pbn">
         isCapped()
        </code>
       </a>
       ,
       <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.collection.latencyStats/#mongodb-method-db.collection.latencyStats">
        <code class="leafygreen-ui-1l06pbn">
         latencyStats()
        </code>
       </a>
       ,
       <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.collection.storageSize/#mongodb-method-db.collection.storageSize">
        <code class="leafygreen-ui-1l06pbn">
         storageSize()
        </code>
       </a>
       ,
       <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.collection.totalIndexSize/#mongodb-method-db.collection.totalIndexSize">
        <code class="leafygreen-ui-1l06pbn">
         totalIndexSize()
        </code>
       </a>
       , and
       <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.collection.totalSize/#mongodb-method-db.collection.totalSize">
        <code class="leafygreen-ui-1l06pbn">
         totalSize()
        </code>
       </a>
       helper methods
       <!-- -->
       .
      </p>
      <p class="leafygreen-ui-1kp3ins">
       Helper methods are convenient for
       <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="https://www.mongodb.com/docs/mongodb-shell/#std-program-mongosh" target="_self">
        <span>
         <code class="leafygreen-ui-1l06pbn">
          mongosh
         </code>
        </span>
       </a>
       users, but they may not
return the same level of information as database commands.  In cases where
the convenience is not needed or the additional return fields are required,
use the database command.
      </p>
     </div>
    </div>
    <p class="leafygreen-ui-1kp3ins">
     To run
     <code class="leafygreen-ui-1l06pbn">
      collStats
     </code>
     , use the
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/method/db.runCommand/#mongodb-method-db.runCommand">
      <code class="leafygreen-ui-1l06pbn">
       db.runCommand( { &lt;command&gt; } )
      </code>
     </a>
     method.
    </p>
   </dd>
  </dl>
 </section>
 <section>
  <h2 class="contains-headerlink leafygreen-ui-19f71ei" weight="medium">
   Compatibility
   <a class="headerlink leafygreen-ui-1kepx47" href="#compatibility" title="Permalink to this heading">
    <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
     <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
     </path>
     <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
     </path>
    </svg>
    <div class="css-1btu0w3 evvkmar0" id="compatibility">
    </div>
   </a>
  </h2>
  <p class="leafygreen-ui-1kp3ins">
   This command is available in deployments hosted in the following environments:
  </p>
  <ul class="leafygreen-ui-rioki0">
   <li class="leafygreen-ui-d7p7b6">
    <p class="leafygreen-ui-1kp3ins">
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="https://www.mongodb.com/docs/atlas?tck=docs_server" target="_self">
      <span>
       MongoDB Atlas
      </span>
     </a>
     : The fully
managed service for MongoDB deployments in the cloud
    </p>
   </li>
  </ul>
  <div class="leafygreen-ui-15mdk4" role="note">
   <h2 class="leafygreen-ui-6n7b7d">
    Note
   </h2>
   <div class="leafygreen-ui-9mycqc">
    <p class="leafygreen-ui-1kp3ins">
     This command is supported in all MongoDB Atlas clusters.
For information on Atlas support for all commands, see
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="https://www.mongodb.com/docs/atlas/unsupported-commands/" target="_self">
      <span>
       Unsupported Commands
       <!-- -->
       .
      </span>
     </a>
    </p>
   </div>
  </div>
  <ul class="leafygreen-ui-rioki0">
   <li class="leafygreen-ui-d7p7b6">
    <p class="leafygreen-ui-1kp3ins">
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/administration/install-enterprise/#std-label-install-mdb-enterprise">
      MongoDB Enterprise
     </a>
     : The
subscription-based, self-managed version of MongoDB
    </p>
   </li>
   <li class="leafygreen-ui-d7p7b6">
    <p class="leafygreen-ui-1kp3ins">
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/administration/install-community/#std-label-install-mdb-community-edition">
      MongoDB Community
     </a>
     : The
source-available, free-to-use, and self-managed version of MongoDB
    </p>
   </li>
  </ul>
 </section>
 <section>
  <h2 class="contains-headerlink leafygreen-ui-19f71ei" weight="medium">
   Syntax
   <a class="headerlink leafygreen-ui-1kepx47" href="#syntax" title="Permalink to this heading">
    <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
     <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
     </path>
     <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
     </path>
    </svg>
    <div class="css-1btu0w3 evvkmar0" id="syntax">
    </div>
   </a>
  </h2>
  <p class="leafygreen-ui-1kp3ins">
   The command has the following syntax:
  </p>
  <script class="structured_data" type="application/ld+json">
   {"@context":"https://schema.org","@type":"SoftwareSourceCode","codeSampleType":"code snippet","text":"db.runCommand(\n   {\n     collStats: &lt;string&gt;,\n     scale: &lt;int&gt;\n   }\n)","programmingLanguage":"JavaScript"}
  </script>
  <div class="css-16lmvu9">
   <div class="leafygreen-ui-196mwvg">
    <div class="leafygreen-ui-yzcs8i">
     <pre class="leafygreen-ui-11itue3" tabindex="-1"><code class="lg-highlight-hljs-light javascript leafygreen-ui-9ybzas"><table class="leafygreen-ui-1tr4g10"><tbody><tr class=""><td class="leafygreen-ui-7razhx">db.<span class="lg-highlight-title lg-highlight-function">runCommand</span>(</td></tr><tr class=""><td class="leafygreen-ui-7razhx">   <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-attr">collStats</span>: &lt;<!-- -->string<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-attr">scale</span>: &lt;<!-- -->int<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">   <!-- -->}</td></tr><tr class=""><td class="leafygreen-ui-7razhx">)</td></tr></tbody></table></code></pre>
     <div class="leafygreen-ui-1bqcprk" data-testid="leafygreen-code-panel">
      <button aria-disabled="false" aria-label="Copy" class="leafygreen-ui-1c6zwke" data-testid="code_copy-button" tabindex="0">
       <div class="leafygreen-ui-xhlipt">
        <svg aria-label="Copy Icon" class="leafygreen-ui-1st74h4" height="16" role="img" viewbox="0 0 16 16" width="16">
         <path clip-rule="evenodd" d="M1 5.71428V10.2857C1 11.2325 1.76751 12 2.71429 12H5.75V7.10957C5.75 6.54414 5.97724 6.00244 6.38065 5.60623L8.67403 3.35381C8.77447 3.25516 8.88376 3.16757 9 3.09182V2.71429C9 1.76751 8.23249 1 7.28571 1H5.8V4.42857C5.8 5.13865 5.22437 5.71428 4.51429 5.71428H1ZM9 4.78571L7.25654 6.49804C7.24689 6.50752 7.23749 6.5172 7.22834 6.52708C7.22208 6.53383 7.21594 6.54068 7.20991 6.54762C7.07504 6.70295 7 6.90234 7 7.10957V7.79762H9H10.0095C10.4829 7.79762 10.8667 7.41386 10.8667 6.94047V4H10.1505C9.92587 4 9.7102 4.0882 9.54992 4.24562L9 4.78571ZM4.86667 1H4.15053C3.92587 1 3.7102 1.0882 3.54992 1.24562L1.25654 3.49804C1.09244 3.65921 1 3.87957 1 4.10957V4.79762H4.00952C4.48291 4.79762 4.86667 4.41386 4.86667 3.94047V1ZM7 12V8.71428H9H10.5143C11.2244 8.71428 11.8 8.13865 11.8 7.42857V4H13.2857C14.2325 4 15 4.76751 15 5.71429V13.2857C15 14.2325 14.2325 15 13.2857 15H8.71429C7.76751 15 7 14.2325 7 13.2857V12Z" fill="currentColor" fill-rule="evenodd">
         </path>
        </svg>
       </div>
      </button>
     </div>
    </div>
   </div>
  </div>
  <section>
   <h3 class="contains-headerlink leafygreen-ui-15ajumo" weight="medium">
    Command Fields
    <a class="headerlink leafygreen-ui-1kepx47" href="#command-fields" title="Permalink to this heading">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="command-fields">
     </div>
    </a>
   </h3>
   <p class="leafygreen-ui-1kp3ins">
    The command takes the following fields:
   </p>
   <div class="leafygreen-ui-skkc39" tabindex="0">
    <table class="leafygreen-ui-hr8lsv">
     <colgroup>
      <col style="width:20%"/>
      <col style="width:20%"/>
      <col style="width:80%"/>
     </colgroup>
     <thead class="leafygreen-ui-a9ho40">
      <tr data-testid="leafygreen-ui-header-row">
       <th class="leafygreen-ui-1trtg6r" role="columnheader" scope="col">
        <div class="leafygreen-ui-ui0te9">
         <div>
          Field
         </div>
        </div>
       </th>
       <th class="leafygreen-ui-13uteka" role="columnheader" scope="col">
        <div class="leafygreen-ui-ui0te9">
         <div>
          Type
         </div>
        </div>
       </th>
       <th class="leafygreen-ui-13uteka" role="columnheader" scope="col">
        <div class="leafygreen-ui-ui0te9">
         <div>
          Description
         </div>
        </div>
       </th>
      </tr>
     </thead>
     <tbody>
      <tr class="">
       <td class="leafygreen-ui-1drjk7h">
        <div class="leafygreen-ui-1n4j8xf">
         <div>
          <code class="leafygreen-ui-1l06pbn">
           collStats
          </code>
         </div>
        </div>
       </td>
       <td class="leafygreen-ui-1drjk7h">
        <div class="leafygreen-ui-1n4j8xf">
         <div>
          string
         </div>
        </div>
       </td>
       <td class="leafygreen-ui-1drjk7h">
        <div class="leafygreen-ui-1n4j8xf">
         <div>
          The name of the target collection.
         </div>
        </div>
       </td>
      </tr>
      <tr class="">
       <td class="leafygreen-ui-1drjk7h">
        <div class="leafygreen-ui-1n4j8xf">
         <div>
          <code class="leafygreen-ui-1l06pbn">
           scale
          </code>
         </div>
        </div>
       </td>
       <td class="leafygreen-ui-1drjk7h">
        <div class="leafygreen-ui-1n4j8xf">
         <div>
          int
         </div>
        </div>
       </td>
       <td class="leafygreen-ui-1drjk7h">
        <div class="leafygreen-ui-1n4j8xf">
         <div>
          <p class="leafygreen-ui-1kp3ins">
           Optional. The scale factor for the various size data (with the exception of
those sizes that specify the unit of measurement in the field name). The
value defaults to 1 to return size data in bytes. To display
kilobytes rather than bytes, specify a
           <code class="leafygreen-ui-1l06pbn">
            scale
           </code>
           value of
           <code class="leafygreen-ui-1l06pbn">
            1024
           </code>
           .
          </p>
          <p class="leafygreen-ui-1kp3ins">
           If you specify a non-integer scale factor, MongoDB uses the integer
part of the specified factor. For example, if you specify a scale
factor of
           <code class="leafygreen-ui-1l06pbn">
            1023.999
           </code>
           , MongoDB uses
           <code class="leafygreen-ui-1l06pbn">
            1023
           </code>
           as the scale factor.
          </p>
          <p class="leafygreen-ui-1kp3ins">
           The scale factor rounds the affected size values to whole numbers.
          </p>
         </div>
        </div>
       </td>
      </tr>
     </tbody>
    </table>
   </div>
  </section>
 </section>
 <section>
  <h2 class="contains-headerlink leafygreen-ui-19f71ei" weight="medium">
   Behavior
   <a class="headerlink leafygreen-ui-1kepx47" href="#behavior" title="Permalink to this heading">
    <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
     <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
     </path>
     <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
     </path>
    </svg>
    <div class="css-1btu0w3 evvkmar0" id="behavior">
    </div>
   </a>
  </h2>
  <section>
   <h3 class="contains-headerlink leafygreen-ui-15ajumo" weight="medium">
    Redaction
    <a class="headerlink leafygreen-ui-1kepx47" href="#redaction" title="Permalink to this heading">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="redaction">
     </div>
    </a>
   </h3>
   <p class="leafygreen-ui-1kp3ins">
    When using
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/core/queryable-encryption/#std-label-qe-manual-feature-qe">
     Queryable Encryption
    </a>
    ,
    <code class="leafygreen-ui-1l06pbn">
     $collStats
    </code>
    output redacts certain information for encrypted
collections:
   </p>
   <ul class="leafygreen-ui-rioki0">
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      The output omits
      <code class="leafygreen-ui-1l06pbn">
       "queryExecStats"
      </code>
     </p>
    </li>
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      The output omits
      <code class="leafygreen-ui-1l06pbn">
       "latencyStats"
      </code>
     </p>
    </li>
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      The output redacts
      <code class="leafygreen-ui-1l06pbn">
       "WiredTiger"
      </code>
      , if present, to include only the
      <code class="leafygreen-ui-1l06pbn">
       url
      </code>
      field.
     </p>
    </li>
   </ul>
  </section>
  <section>
   <h3 class="contains-headerlink leafygreen-ui-15ajumo" weight="medium">
    Scaled Sizes
    <a class="headerlink leafygreen-ui-1kepx47" href="#scaled-sizes" title="Permalink to this heading">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="scaled-sizes">
     </div>
    </a>
   </h3>
   <p class="leafygreen-ui-1kp3ins">
    Unless otherwise specified by the metric name (such as
    <code class="leafygreen-ui-1l06pbn">
     "bytes
currently in the cache"
    </code>
    ), values related to size are displayed in
bytes and can be overridden by
    <code class="leafygreen-ui-1l06pbn">
     scale
    </code>
    .
   </p>
   <p class="leafygreen-ui-1kp3ins">
    The scale factor rounds the affected size values to whole numbers.
   </p>
  </section>
  <section>
   <h3 class="contains-headerlink leafygreen-ui-15ajumo" weight="medium">
    Accuracy after Unexpected Shutdown
    <a class="headerlink leafygreen-ui-1kepx47" href="#accuracy-after-unexpected-shutdown" title="Permalink to this heading">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="accuracy-after-unexpected-shutdown">
     </div>
    </a>
   </h3>
   <p class="leafygreen-ui-1kp3ins">
    After an unclean shutdown of a
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/program/mongod/#mongodb-binary-bin.mongod">
     <code class="leafygreen-ui-1l06pbn">
      mongod
     </code>
    </a>
    using the
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/core/wiredtiger/">
     Wired Tiger
    </a>
    storage engine,
    <!-- -->
    size
    <!-- -->
    statistics reported by
    <code class="leafygreen-ui-1l06pbn">
     collStats
    </code>
    may be inaccurate.
   </p>
   <p class="leafygreen-ui-1kp3ins">
    The amount of drift depends on the number of insert, update, or delete
operations performed between the last
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/core/wiredtiger/#std-label-storage-wiredtiger-checkpoints">
     checkpoint
    </a>
    and the unclean shutdown. Checkpoints
usually occur every 60 seconds. However,
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/program/mongod/#mongodb-binary-bin.mongod">
     <code class="leafygreen-ui-1l06pbn">
      mongod
     </code>
    </a>
    instances running
with non-default
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/program/mongod/#std-option-mongod.--syncdelay">
     <code class="leafygreen-ui-1l06pbn">
      --syncdelay
     </code>
    </a>
    settings may have more or less frequent
checkpoints.
   </p>
   <p class="leafygreen-ui-1kp3ins">
    Run
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/command/validate/#mongodb-dbcommand-dbcmd.validate">
     <code class="leafygreen-ui-1l06pbn">
      validate
     </code>
    </a>
    on each collection on the
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/program/mongod/#mongodb-binary-bin.mongod">
     <code class="leafygreen-ui-1l06pbn">
      mongod
     </code>
    </a>
    to restore statistics after an unclean shutdown.
   </p>
   <p class="leafygreen-ui-1kp3ins">
    After an unclean shutdown:
   </p>
   <ul class="leafygreen-ui-rioki0">
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/command/validate/#mongodb-dbcommand-dbcmd.validate">
       <code class="leafygreen-ui-1l06pbn">
        validate
       </code>
      </a>
      updates the
      <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/operator/aggregation/collStats/#std-label-collstat-count">
       count statistic
      </a>
      in the
      <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-dbcommand-dbcmd.collStats" target="_self">
       <span>
        <code class="leafygreen-ui-1l06pbn">
         collStats
        </code>
       </span>
      </a>
      <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#std-label-collStats-output" target="_self">
       <span>
        output
       </span>
      </a>
      with the latest value.
     </p>
    </li>
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      Other statistics like the number of documents inserted or removed in
the
      <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-dbcommand-dbcmd.collStats" target="_self">
       <span>
        <code class="leafygreen-ui-1l06pbn">
         collStats
        </code>
       </span>
      </a>
      <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#std-label-collStats-output" target="_self">
       <span>
        output
       </span>
      </a>
      are
estimates.
     </p>
    </li>
   </ul>
  </section>
  <section>
   <h3 class="contains-headerlink leafygreen-ui-15ajumo" weight="medium">
    In-Progress Indexes
    <a class="headerlink leafygreen-ui-1kepx47" href="#in-progress-indexes" title="Permalink to this heading">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="in-progress-indexes">
     </div>
    </a>
   </h3>
   <p class="leafygreen-ui-1kp3ins">
    <code class="leafygreen-ui-1l06pbn">
     collStats
    </code>
    includes information on indexes currently being built. For details, see:
   </p>
   <ul class="leafygreen-ui-rioki0">
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.nindexes" target="_self">
       <span>
        <code class="leafygreen-ui-1l06pbn">
         collStats.nindexes
        </code>
       </span>
      </a>
     </p>
    </li>
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.indexDetails" target="_self">
       <span>
        <code class="leafygreen-ui-1l06pbn">
         collStats.indexDetails
        </code>
       </span>
      </a>
     </p>
    </li>
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.indexBuilds" target="_self">
       <span>
        <code class="leafygreen-ui-1l06pbn">
         collStats.indexBuilds
        </code>
       </span>
      </a>
     </p>
    </li>
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.totalIndexSize" target="_self">
       <span>
        <code class="leafygreen-ui-1l06pbn">
         collStats.totalIndexSize
        </code>
       </span>
      </a>
     </p>
    </li>
    <li class="leafygreen-ui-d7p7b6">
     <p class="leafygreen-ui-1kp3ins">
      <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.indexSizes" target="_self">
       <span>
        <code class="leafygreen-ui-1l06pbn">
         collStats.indexSizes
        </code>
       </span>
      </a>
     </p>
    </li>
   </ul>
  </section>
  <section>
   <h3 class="contains-headerlink leafygreen-ui-15ajumo" weight="medium">
    Replica Set Member State Restriction
    <a class="headerlink leafygreen-ui-1kepx47" href="#replica-set-member-state-restriction" title="Permalink to this heading">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="replica-set-member-state-restriction">
     </div>
    </a>
   </h3>
   <p class="leafygreen-ui-1kp3ins">
    To run on a replica set member,
    <code class="leafygreen-ui-1l06pbn">
     collStats
    </code>
    operations require the member
to be in
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/replica-states/#mongodb-replstate-replstate.PRIMARY">
     <code class="leafygreen-ui-1l06pbn">
      PRIMARY
     </code>
    </a>
    or
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/replica-states/#mongodb-replstate-replstate.SECONDARY">
     <code class="leafygreen-ui-1l06pbn">
      SECONDARY
     </code>
    </a>
    state. If the member
is in another state, such as
    <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/replica-states/#mongodb-replstate-replstate.STARTUP2">
     <code class="leafygreen-ui-1l06pbn">
      STARTUP2
     </code>
    </a>
    , the
operation errors.
   </p>
  </section>
  <section>
   <h3 class="contains-headerlink leafygreen-ui-15ajumo" weight="medium">
    Non-Existent Collections
    <a class="headerlink leafygreen-ui-1kepx47" href="#non-existent-collections" title="Permalink to this heading">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="non-existent-collections">
     </div>
    </a>
   </h3>
   <p class="leafygreen-ui-1kp3ins">
    If you run
    <code class="leafygreen-ui-1l06pbn">
     collStats
    </code>
    for a non-existent collection, then
depending on your database implementation,
    <code class="leafygreen-ui-1l06pbn">
     collStats
    </code>
    might
return
    <code class="leafygreen-ui-1l06pbn">
     0
    </code>
    values in the output fields instead of returning an error.
   </p>
   <p class="leafygreen-ui-1kp3ins">
    For example:
   </p>
   <script class="structured_data" type="application/ld+json">
    {"@context":"https://schema.org","@type":"SoftwareSourceCode","codeSampleType":"code snippet","text":"db.runCommand( { collStats : \"nonExistentCollection\" } )","programmingLanguage":"JavaScript"}
   </script>
   <div class="css-16lmvu9">
    <div class="leafygreen-ui-196mwvg">
     <div class="leafygreen-ui-yzcs8i">
      <pre class="leafygreen-ui-1q4bxgx" tabindex="-1"><code class="lg-highlight-hljs-light javascript leafygreen-ui-9ybzas"><table class="leafygreen-ui-1tr4g10"><tbody><tr class=""><td class="leafygreen-ui-7razhx">db.<span class="lg-highlight-title lg-highlight-function">runCommand</span>( <!-- -->{ <!-- -->collStats <!-- -->: <span class="lg-highlight-string">"nonExistentCollection"</span> } )</td></tr></tbody></table></code></pre>
      <div class="leafygreen-ui-1bqcprk" data-testid="leafygreen-code-panel">
       <button aria-disabled="false" aria-label="Copy" class="leafygreen-ui-1c6zwke" data-testid="code_copy-button" tabindex="0">
        <div class="leafygreen-ui-xhlipt">
         <svg aria-label="Copy Icon" class="leafygreen-ui-1st74h4" height="16" role="img" viewbox="0 0 16 16" width="16">
          <path clip-rule="evenodd" d="M1 5.71428V10.2857C1 11.2325 1.76751 12 2.71429 12H5.75V7.10957C5.75 6.54414 5.97724 6.00244 6.38065 5.60623L8.67403 3.35381C8.77447 3.25516 8.88376 3.16757 9 3.09182V2.71429C9 1.76751 8.23249 1 7.28571 1H5.8V4.42857C5.8 5.13865 5.22437 5.71428 4.51429 5.71428H1ZM9 4.78571L7.25654 6.49804C7.24689 6.50752 7.23749 6.5172 7.22834 6.52708C7.22208 6.53383 7.21594 6.54068 7.20991 6.54762C7.07504 6.70295 7 6.90234 7 7.10957V7.79762H9H10.0095C10.4829 7.79762 10.8667 7.41386 10.8667 6.94047V4H10.1505C9.92587 4 9.7102 4.0882 9.54992 4.24562L9 4.78571ZM4.86667 1H4.15053C3.92587 1 3.7102 1.0882 3.54992 1.24562L1.25654 3.49804C1.09244 3.65921 1 3.87957 1 4.10957V4.79762H4.00952C4.48291 4.79762 4.86667 4.41386 4.86667 3.94047V1ZM7 12V8.71428H9H10.5143C11.2244 8.71428 11.8 8.13865 11.8 7.42857V4H13.2857C14.2325 4 15 4.76751 15 5.71429V13.2857C15 14.2325 14.2325 15 13.2857 15H8.71429C7.76751 15 7 14.2325 7 13.2857V12Z" fill="currentColor" fill-rule="evenodd">
          </path>
         </svg>
        </div>
       </button>
      </div>
     </div>
    </div>
   </div>
   <p class="leafygreen-ui-1kp3ins">
    Example output with
    <code class="leafygreen-ui-1l06pbn">
     0
    </code>
    values in the fields:
   </p>
   <script class="structured_data" type="application/ld+json">
    {"@context":"https://schema.org","@type":"SoftwareSourceCode","codeSampleType":"code snippet","text":"{\n   ns: 'test.nonExistentCollection',\n   size: 0,\n   count: 0,\n   ...\n}","programmingLanguage":"JavaScript"}
   </script>
   <div class="css-1lju8ps">
    <div class="leafygreen-ui-196mwvg">
     <div class="leafygreen-ui-1jheeh3">
      <pre class="leafygreen-ui-1453az5" tabindex="-1"><code class="lg-highlight-hljs-light javascript leafygreen-ui-9ybzas"><table class="leafygreen-ui-1tr4g10"><tbody><tr class=""><td class="leafygreen-ui-7razhx">{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">   <span class="lg-highlight-attr">ns</span>: <span class="lg-highlight-string">'test.nonExistentCollection'</span>,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">   <span class="lg-highlight-attr">size</span>: <span class="lg-highlight-number">0</span>,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">   <span class="lg-highlight-attr">count</span>: <span class="lg-highlight-number">0</span>,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">   <!-- -->...</td></tr><tr class=""><td class="leafygreen-ui-7razhx">}</td></tr></tbody></table></code></pre>
     </div>
    </div>
   </div>
  </section>
 </section>
 <section>
  <h2 class="contains-headerlink leafygreen-ui-19f71ei" weight="medium">
   Example
   <a class="headerlink leafygreen-ui-1kepx47" href="#example" title="Permalink to this heading">
    <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
     <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
     </path>
     <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
     </path>
    </svg>
    <div class="css-1btu0w3 evvkmar0" id="example">
    </div>
   </a>
  </h2>
  <p class="leafygreen-ui-1kp3ins">
   The following operation runs the
   <code class="leafygreen-ui-1l06pbn">
    collStats
   </code>
   command on the
   <code class="leafygreen-ui-1l06pbn">
    restaurants
   </code>
   collection, specifying a scale of
   <code class="leafygreen-ui-1l06pbn">
    1024
   </code>
   bytes:
  </p>
  <script class="structured_data" type="application/ld+json">
   {"@context":"https://schema.org","@type":"SoftwareSourceCode","codeSampleType":"code snippet","text":"db.runCommand( { collStats : \"restaurants\", scale: 1024 } )","programmingLanguage":"JavaScript"}
  </script>
  <div class="css-16lmvu9">
   <div class="leafygreen-ui-196mwvg">
    <div class="leafygreen-ui-1b1bvay">
     <pre class="leafygreen-ui-1q4bxgx" tabindex="0"><code class="lg-highlight-hljs-light javascript leafygreen-ui-9ybzas"><table class="leafygreen-ui-1tr4g10"><tbody><tr class=""><td class="leafygreen-ui-7razhx">db.<span class="lg-highlight-title lg-highlight-function">runCommand</span>( <!-- -->{ <!-- -->collStats <!-- -->: <span class="lg-highlight-string">"restaurants"</span>, <span class="lg-highlight-attr">scale</span>: <span class="lg-highlight-number">1024</span> } )</td></tr></tbody></table></code></pre>
     <div class="leafygreen-ui-1bqcprk" data-testid="leafygreen-code-panel">
      <button aria-disabled="false" aria-label="Copy" class="leafygreen-ui-1c6zwke" data-testid="code_copy-button" tabindex="0">
       <div class="leafygreen-ui-xhlipt">
        <svg aria-label="Copy Icon" class="leafygreen-ui-1st74h4" height="16" role="img" viewbox="0 0 16 16" width="16">
         <path clip-rule="evenodd" d="M1 5.71428V10.2857C1 11.2325 1.76751 12 2.71429 12H5.75V7.10957C5.75 6.54414 5.97724 6.00244 6.38065 5.60623L8.67403 3.35381C8.77447 3.25516 8.88376 3.16757 9 3.09182V2.71429C9 1.76751 8.23249 1 7.28571 1H5.8V4.42857C5.8 5.13865 5.22437 5.71428 4.51429 5.71428H1ZM9 4.78571L7.25654 6.49804C7.24689 6.50752 7.23749 6.5172 7.22834 6.52708C7.22208 6.53383 7.21594 6.54068 7.20991 6.54762C7.07504 6.70295 7 6.90234 7 7.10957V7.79762H9H10.0095C10.4829 7.79762 10.8667 7.41386 10.8667 6.94047V4H10.1505C9.92587 4 9.7102 4.0882 9.54992 4.24562L9 4.78571ZM4.86667 1H4.15053C3.92587 1 3.7102 1.0882 3.54992 1.24562L1.25654 3.49804C1.09244 3.65921 1 3.87957 1 4.10957V4.79762H4.00952C4.48291 4.79762 4.86667 4.41386 4.86667 3.94047V1ZM7 12V8.71428H9H10.5143C11.2244 8.71428 11.8 8.13865 11.8 7.42857V4H13.2857C14.2325 4 15 4.76751 15 5.71429V13.2857C15 14.2325 14.2325 15 13.2857 15H8.71429C7.76751 15 7 14.2325 7 13.2857V12Z" fill="currentColor" fill-rule="evenodd">
         </path>
        </svg>
       </div>
      </button>
     </div>
    </div>
   </div>
  </div>
  <p class="leafygreen-ui-1kp3ins">
   The following document provides a representation of the
   <code class="leafygreen-ui-1l06pbn">
    collStats
   </code>
   output. Depending on the configuration of your
collection and the storage engine, the output fields may vary.
  </p>
  <script class="structured_data" type="application/ld+json">
   {"@context":"https://schema.org","@type":"SoftwareSourceCode","codeSampleType":"code snippet","text":"{\n  \"ns\" : &lt;string&gt;,\n  \"size\" : &lt;number&gt;,\n  \"timeseries\" : {\n     \"bucketsNs\" : &lt;bucketname&gt;,\n     \"bucketCount\" : &lt;number&gt;,\n     \"avgBucketSize\" : &lt;number&gt;,\n     \"numBucketInserts\" : &lt;number&gt;,\n     \"numBucketUpdates\" : &lt;number&gt;,\n     \"numBucketsOpenedDueToMetadata\" : &lt;number&gt;,\n     \"numBucketsClosedDueToCount\" : &lt;number&gt;,\n     \"numBucketsClosedDueToSize\" : &lt;number&gt;,\n     \"numBucketsClosedDueToTimeForward\" : &lt;number&gt;,\n     \"numBucketsClosedDueToTimeBackward\" : &lt;number&gt;,\n     \"numBucketsClosedDueToMemoryThreshold\" : &lt;number&gt;,\n     \"numCommits\" : &lt;number&gt;,\n     \"numWaits\" : &lt;number&gt;,\n     \"numMeasurementsCommitted\" : &lt;number&gt;,\n     \"avgNumMeasurementsPerCommit\": &lt;number&gt;\n  },\n  \"count\" : &lt;number&gt;,\n  \"avgObjSize\" : &lt;number&gt;,\n  \"numOrphanDocs\" : &lt;number&gt;,      // Available starting in MongoDB 6.0\n  \"storageSize\" : &lt;number&gt;,\n  \"freeStorageSize\" : &lt;number&gt;,\n  \"capped\" : &lt;boolean&gt;,\n  \"max\" : &lt;number&gt;,\n  \"maxSize\" :  &lt;number&gt;,\n  \"wiredTiger\" : {\n     \"metadata\" : {\n        \"formatVersion\" : &lt;num&gt;\n     },\n     \"creationString\" : &lt;string&gt;\n     \"type\" :  &lt;string&gt;,\n     \"uri\" :  &lt;string&gt;,\n     \"LSM\" : {\n        \"bloom filter false positives\" : &lt;number&gt;,\n        \"bloom filter hits\" : &lt;number&gt;,\n        \"bloom filter misses\" : &lt;number&gt;,\n        \"bloom filter pages evicted from cache\" : &lt;number&gt;,\n        \"bloom filter pages read into cache\" : &lt;number&gt;,\n        \"bloom filters in the LSM tree\" : &lt;number&gt;,\n        \"total size of bloom filters\" : &lt;number&gt;,\n        \"chunks in the LSM tree\" : &lt;number&gt;,\n        \"highest merge generation in the LSM tree\" : &lt;number&gt;,\n        \"queries that could have benefited from a Bloom filter that did not exist\" : &lt;number&gt;,\n        \"sleep for LSM checkpoint throttle\" : &lt;number&gt;,\n        \"sleep for LSM merge throttle\" : &lt;number&gt;\n        \"total size of bloom filters\" : &lt;number&gt;\n     },\n     \"block-manager\" : {\n         \"allocations requiring file extension\" : &lt;number&gt;,\n         \"blocks allocated\" : &lt;number&gt;,\n         \"blocks freed\" : &lt;number&gt;,\n         \"checkpoint size\" : &lt;number&gt;,\n         \"file allocation unit size\" : &lt;number&gt;,\n         \"file bytes available for reuse\" : &lt;number&gt;,\n         \"file magic number\" : &lt;number&gt;,\n         \"file major version number\" : &lt;number&gt;,\n         \"file size in bytes\" : &lt;number&gt;,\n         \"minor version number\" : &lt;number&gt;\n     },\n     \"btree\" : {\n         \"btree checkpoint generation\" : &lt;number&gt;,\n         \"column-store fixed-size leaf pages\" : &lt;number&gt;,\n         \"column-store internal pages\" : &lt;number&gt;,\n         \"column-store variable-size RLE encoded values\" : &lt;number&gt;,\n         \"column-store variable-size deleted values\" : &lt;number&gt;,\n         \"column-store variable-size leaf pages\" : &lt;number&gt;,\n         \"fixed-record size\" : &lt;number&gt;,\n         \"maximum internal page key size\" : &lt;number&gt;,\n         \"maximum internal page size\" : &lt;number&gt;,\n         \"maximum leaf page key size\" : &lt;number&gt;,\n         \"maximum leaf page size\" : &lt;number&gt;,\n         \"maximum leaf page value size\" : &lt;number&gt;,\n         \"maximum tree depth\" : &lt;number&gt;,\n         \"number of key/value pairs\" : &lt;number&gt;,\n         \"overflow pages\" : &lt;number&gt;,\n         \"pages rewritten by compaction\" : &lt;number&gt;,\n         \"row-store empty values\" : &lt;number&gt;,\n         \"row-store internal pages\" : &lt;number&gt;,\n         \"row-store leaf pages\" : &lt;number&gt;\n     },\n     \"cache\" : {\n        \"bytes currently in the cache\" : &lt;number&gt;,\n        \"bytes dirty in the cache cumulative\" : &lt;number&gt;,\n        \"bytes read into cache\" : &lt;number&gt;,\n        \"bytes written from cache\" : &lt;number&gt;,\n        \"checkpoint blocked page eviction\" : &lt;number&gt;,\n        \"data source pages selected for eviction unable to be evicted\" : &lt;number&gt;,\n        \"eviction walk passes of a file\" : &lt;number&gt;,\n        \"eviction walk target pages histogram - 0-9\" : &lt;number&gt;,\n        \"eviction walk target pages histogram - 10-31\" : &lt;number&gt;,\n        \"eviction walk target pages histogram - 128 and higher\" : &lt;number&gt;,\n        \"eviction walk target pages histogram - 32-63\" : &lt;number&gt;,\n        \"eviction walk target pages histogram - 64-128\" : &lt;number&gt;,\n        \"eviction walks abandoned\" : &lt;number&gt;,\n        \"eviction walks gave up because they restarted their walk twice\" : &lt;number&gt;,\n        \"eviction walks gave up because they saw too many pages and found no candidates\" : &lt;number&gt;,\n        \"eviction walks gave up because they saw too many pages and found too few candidates\" : &lt;number&gt;,\n        \"eviction walks reached end of tree\" : &lt;number&gt;,\n        \"eviction walks started from root of tree\" : &lt;number&gt;,\n        \"eviction walks started from saved location in tree\" : &lt;number&gt;,\n        \"hazard pointer blocked page eviction\" : &lt;number&gt;,\n        \"in-memory page passed criteria to be split\" : &lt;number&gt;,\n        \"in-memory page splits\" : &lt;number&gt;,\n        \"internal pages evicted\" : &lt;number&gt;,\n        \"internal pages split during eviction\" : &lt;number&gt;,\n        \"leaf pages split during eviction\" : &lt;number&gt;,\n        \"modified pages evicted\" : &lt;number&gt;,\n        \"overflow pages read into cache\" : &lt;number&gt;,\n        \"page split during eviction deepened the tree\" : &lt;number&gt;,\n        \"page written requiring cache overflow records\" : &lt;number&gt;,\n        \"pages read into cache\" : &lt;number&gt;,\n        \"pages read into cache after truncate\" : &lt;number&gt;,\n        \"pages read into cache after truncate in prepare state\" : &lt;number&gt;,\n        \"pages read into cache requiring cache overflow entries\" : &lt;number&gt;,\n        \"pages requested from the cache\" : &lt;number&gt;,\n        \"pages seen by eviction walk\" : &lt;number&gt;,\n        \"pages written from cache\" : &lt;number&gt;,\n        \"pages written requiring in-memory restoration\" : &lt;number&gt;,\n        \"tracked dirty bytes in the cache\" : &lt;number&gt;,\n        \"unmodified pages evicted\" : &lt;number&gt;\n     },\n     \"cache_walk\" : {\n        \"Average difference between current eviction generation when the page was last considered\" : &lt;number&gt;,\n        \"Average on-disk page image size seen\" : &lt;number&gt;,\n        \"Average time in cache for pages that have been visited by the eviction server\" : &lt;number&gt;,\n        \"Average time in cache for pages that have not been visited by the eviction server\" : &lt;number&gt;,\n        \"Clean pages currently in cache\" : &lt;number&gt;,\n        \"Current eviction generation\" : &lt;number&gt;,\n        \"Dirty pages currently in cache\" : &lt;number&gt;,\n        \"Entries in the root page\" : &lt;number&gt;,\n        \"Internal pages currently in cache\" : &lt;number&gt;,\n        \"Leaf pages currently in cache\" : &lt;number&gt;,\n        \"Maximum difference between current eviction generation when the page was last considered\" : &lt;number&gt;,\n        \"Maximum page size seen\" : &lt;number&gt;,\n        \"Minimum on-disk page image size seen\" : &lt;number&gt;,\n        \"Number of pages never visited by eviction server\" : &lt;number&gt;,\n        \"On-disk page image sizes smaller than a single allocation unit\" : &lt;number&gt;,\n        \"Pages created in memory and never written\" : &lt;number&gt;,\n        \"Pages currently queued for eviction\" : &lt;number&gt;,\n        \"Pages that could not be queued for eviction\" : &lt;number&gt;,\n        \"Refs skipped during cache traversal\" : &lt;number&gt;,\n        \"Size of the root page\" : &lt;number&gt;,\n        \"Total number of pages currently in cache\" : &lt;number&gt;\n     },\n     \"compression\" : {\n        \"compressed page maximum internal page size prior to compression\" : &lt;number&gt;,\n        \"compressed page maximum leaf page size prior to compression \" : &lt;number&gt;,\n        \"compressed pages read\" : &lt;number&gt;,\n        \"compressed pages written\" : &lt;number&gt;,\n        \"page written failed to compress\" : &lt;number&gt;,\n        \"page written was too small to compress\" : 1\n     },\n     \"cursor\" : {\n        \"bulk loaded cursor insert calls\" : &lt;number&gt;,\n        \"cache cursors reuse count\" : &lt;number&gt;,\n        \"close calls that result in cache\" : &lt;number&gt;,\n        \"create calls\" : &lt;number&gt;,\n        \"insert calls\" : &lt;number&gt;,\n        \"insert key and value bytes\" : &lt;number&gt;,\n        \"modify\" : &lt;number&gt;,\n        \"modify key and value bytes affected\" : &lt;number&gt;,\n        \"modify value bytes modified\" : &lt;number&gt;,\n        \"next calls\" : &lt;number&gt;,\n        \"open cursor count\" : &lt;number&gt;,\n        \"operation restarted\" : &lt;number&gt;,\n        \"prev calls\" : &lt;number&gt;,\n        \"remove calls\" : &lt;number&gt;,\n        \"remove key bytes removed\" : &lt;number&gt;,\n        \"reserve calls\" : &lt;number&gt;,\n        \"reset calls\" : &lt;number&gt;,\n        \"search calls\" : &lt;number&gt;,\n        \"search near calls\" : &lt;number&gt;,\n        \"truncate calls\" : &lt;number&gt;,\n        \"update calls\" : &lt;number&gt;,\n        \"update key and value bytes\" : &lt;number&gt;,\n        \"update value size change\" : &lt;num&gt;\n     },\n     \"reconciliation\" : {\n        \"dictionary matches\" : &lt;number&gt;,\n        \"fast-path pages deleted\" : &lt;number&gt;,\n        \"internal page key bytes discarded using suffix compression\" : &lt;number&gt;,\n        \"internal page multi-block writes\" : &lt;number&gt;,\n        \"internal-page overflow keys\" : &lt;number&gt;,\n        \"leaf page key bytes discarded using prefix compression\" : &lt;number&gt;,\n        \"leaf page multi-block writes\" : &lt;number&gt;,\n        \"leaf-page overflow keys\" : &lt;number&gt;,\n        \"maximum blocks required for a page\" : &lt;number&gt;,\n        \"overflow values written\" : &lt;number&gt;,\n        \"page checksum matches\" : &lt;number&gt;,\n        \"page reconciliation calls\" : &lt;number&gt;,\n        \"page reconciliation calls for eviction\" : &lt;number&gt;,\n        \"pages deleted\" : &lt;number&gt;\n     },\n     \"session\" : {\n        \"object compaction\" : &lt;number&gt;,\n     },\n     \"transaction\" : {\n        \"update conflicts\" : &lt;number&gt;\n     }\n  },\n  \"nindexes\" : &lt;number&gt;,\n  \"indexDetails\" : {\n     \"_id_\" : {\n        \"metadata\" : {\n           \"formatVersion\" : &lt;number&gt;\n        },\n        ...\n     },\n     ...\n  },\n  \"indexBuilds\" : [\n     &lt;string&gt;,\n  ],\n  \"totalIndexSize\" : &lt;number&gt;,\n  \"totalSize\" : &lt;number&gt;,\n  \"indexSizes\" : {\n          \"_id_\" : &lt;number&gt;,\n          \"&lt;indexname&gt;\" : &lt;number&gt;,\n          ...\n  },\n  \"scaleFactor\" : &lt;number&gt;\n  \"ok\" : &lt;number&gt;\n}","programmingLanguage":"JavaScript"}
  </script>
  <div class="css-16lmvu9">
   <div class="leafygreen-ui-196mwvg">
    <div class="leafygreen-ui-1b1bvay">
     <pre class="leafygreen-ui-11itue3" tabindex="0"><code class="lg-highlight-hljs-light javascript leafygreen-ui-9ybzas"><table class="leafygreen-ui-1tr4g10"><tbody><tr class=""><td class="leafygreen-ui-7razhx">{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"ns"</span> <!-- -->: &lt;<!-- -->string<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"size"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"timeseries"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"bucketsNs"</span> <!-- -->: &lt;<!-- -->bucketName<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"bucketCount"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"avgBucketSize"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numBucketInserts"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numBucketUpdates"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numBucketsOpenedDueToMetadata"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numBucketsClosedDueToCount"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numBucketsClosedDueToSize"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numBucketsClosedDueToTimeForward"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numBucketsClosedDueToTimeBackward"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numBucketsClosedDueToMemoryThreshold"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numCommits"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numWaits"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"numMeasurementsCommitted"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"avgNumMeasurementsPerCommit"</span>: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"count"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"avgObjSize"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"numOrphanDocs"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,<!-- -->      <span class="lg-highlight-comment">//</span><span class="lg-highlight-comment"> Available starting in </span><span class="lg-highlight-comment">MongoDB 6.0</span></td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"storageSize"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"freeStorageSize"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"capped"</span> <!-- -->: &lt;<!-- -->boolean<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"max"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"maxSize"</span> <!-- -->:  &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"wiredTiger"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"metadata"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"formatVersion"</span> <!-- -->: &lt;<!-- -->num<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"creationString"</span> <!-- -->: &lt;<!-- -->string<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"type"</span> <!-- -->:  &lt;<!-- -->string<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"uri"</span> <!-- -->:  &lt;<!-- -->string<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"LSM"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bloom filter false positives"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bloom filter hits"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bloom filter misses"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bloom filter pages evicted from cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bloom filter pages read into cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bloom filters in the LSM tree"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"total size of bloom filters"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"chunks in the LSM tree"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"highest merge generation in the LSM tree"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"queries that could have benefited from a Bloom filter that did not exist"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"sleep for LSM checkpoint throttle"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"sleep for LSM merge throttle"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"total size of bloom filters"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"block-manager"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"allocations requiring file extension"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"blocks allocated"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"blocks freed"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"checkpoint size"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"file allocation unit size"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"file bytes available for reuse"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"file magic number"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"file major version number"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"file size in bytes"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"minor version number"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"btree"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"btree checkpoint generation"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"column-store fixed-size leaf pages"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"column-store internal pages"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"column-store variable-size RLE encoded values"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"column-store variable-size deleted values"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"column-store variable-size leaf pages"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"fixed-record size"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"maximum internal page key size"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"maximum internal page size"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"maximum leaf page key size"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"maximum leaf page size"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"maximum leaf page value size"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"maximum tree depth"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"number of key/value pairs"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"overflow pages"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"pages rewritten by compaction"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"row-store empty values"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"row-store internal pages"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">         <span class="lg-highlight-string">"row-store leaf pages"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"cache"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bytes currently in the cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bytes dirty in the cache cumulative"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bytes read into cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bytes written from cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"checkpoint blocked page eviction"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"data source pages selected for eviction unable to be evicted"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walk passes of a file"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walk target pages histogram - 0-9"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walk target pages histogram - 10-31"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walk target pages histogram - 128 and higher"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walk target pages histogram - 32-63"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walk target pages histogram - 64-128"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walks abandoned"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walks gave up because they restarted their walk twice"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walks gave up because they saw too many pages and found no candidates"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walks gave up because they saw too many pages and found too few candidates"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walks reached end of tree"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walks started from root of tree"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"eviction walks started from saved location in tree"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"hazard pointer blocked page eviction"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"in-memory page passed criteria to be split"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"in-memory page splits"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"internal pages evicted"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"internal pages split during eviction"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"leaf pages split during eviction"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"modified pages evicted"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"overflow pages read into cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"page split during eviction deepened the tree"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"page written requiring cache overflow records"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"pages read into cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"pages read into cache after truncate"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"pages read into cache after truncate in prepare state"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"pages read into cache requiring cache overflow entries"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"pages requested from the cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"pages seen by eviction walk"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"pages written from cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"pages written requiring in-memory restoration"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"tracked dirty bytes in the cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"unmodified pages evicted"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"cache_walk"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Average difference between current eviction generation when the page was last considered"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Average on-disk page image size seen"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Average time in cache for pages that have been visited by the eviction server"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Average time in cache for pages that have not been visited by the eviction server"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Clean pages currently in cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Current eviction generation"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Dirty pages currently in cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Entries in the root page"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Internal pages currently in cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Leaf pages currently in cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Maximum difference between current eviction generation when the page was last considered"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Maximum page size seen"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Minimum on-disk page image size seen"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Number of pages never visited by eviction server"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"On-disk page image sizes smaller than a single allocation unit"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Pages created in memory and never written"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Pages currently queued for eviction"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Pages that could not be queued for eviction"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Refs skipped during cache traversal"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Size of the root page"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"Total number of pages currently in cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"compression"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"compressed page maximum internal page size prior to compression"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"compressed page maximum leaf page size prior to compression "</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"compressed pages read"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"compressed pages written"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"page written failed to compress"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"page written was too small to compress"</span> <!-- -->: <span class="lg-highlight-number">1</span></td></tr><tr class=""><td class="leafygreen-ui-7razhx">     }<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"cursor"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"bulk loaded cursor insert calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"cache cursors reuse count"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"close calls that result in cache"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"create calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"insert calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"insert key and value bytes"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"modify"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"modify key and value bytes affected"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"modify value bytes modified"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"next calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"open cursor count"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"operation restarted"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"prev calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"remove calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"remove key bytes removed"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"reserve calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"reset calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"search calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"search near calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"truncate calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"update calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"update key and value bytes"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"update value size change"</span> <!-- -->: &lt;<!-- -->num<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"reconciliation"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"dictionary matches"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"fast-path pages deleted"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"internal page key bytes discarded using suffix compression"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"internal page multi-block writes"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"internal-page overflow keys"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"leaf page key bytes discarded using prefix compression"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"leaf page multi-block writes"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"leaf-page overflow keys"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"maximum blocks required for a page"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"overflow values written"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"page checksum matches"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"page reconciliation calls"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"page reconciliation calls for eviction"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"pages deleted"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"session"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"object compaction"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"transaction"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"update conflicts"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->}</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  }<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"nindexes"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"indexDetails"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <span class="lg-highlight-string">"_id_"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <span class="lg-highlight-string">"metadata"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">           <span class="lg-highlight-string">"formatVersion"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <!-- -->}<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">        <!-- -->...</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     }<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     <!-- -->...</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  }<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"indexBuilds"</span> <!-- -->: <!-- -->[</td></tr><tr class=""><td class="leafygreen-ui-7razhx">     &lt;<!-- -->string<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <!-- -->]<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"totalIndexSize"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"totalSize"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"indexSizes"</span> <!-- -->: <!-- -->{</td></tr><tr class=""><td class="leafygreen-ui-7razhx">          <span class="lg-highlight-string">"_id_"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">          <span class="lg-highlight-string">"&lt;indexName&gt;"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">          <!-- -->...</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  }<!-- -->,</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"scaleFactor"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">  <span class="lg-highlight-string">"ok"</span> <!-- -->: &lt;<!-- -->number<!-- -->&gt;</td></tr><tr class=""><td class="leafygreen-ui-7razhx">}</td></tr></tbody></table></code></pre>
     <div class="leafygreen-ui-1bqcprk" data-testid="leafygreen-code-panel">
      <button aria-disabled="false" aria-label="Copy" class="leafygreen-ui-1c6zwke" data-testid="code_copy-button" tabindex="0">
       <div class="leafygreen-ui-xhlipt">
        <svg aria-label="Copy Icon" class="leafygreen-ui-1st74h4" height="16" role="img" viewbox="0 0 16 16" width="16">
         <path clip-rule="evenodd" d="M1 5.71428V10.2857C1 11.2325 1.76751 12 2.71429 12H5.75V7.10957C5.75 6.54414 5.97724 6.00244 6.38065 5.60623L8.67403 3.35381C8.77447 3.25516 8.88376 3.16757 9 3.09182V2.71429C9 1.76751 8.23249 1 7.28571 1H5.8V4.42857C5.8 5.13865 5.22437 5.71428 4.51429 5.71428H1ZM9 4.78571L7.25654 6.49804C7.24689 6.50752 7.23749 6.5172 7.22834 6.52708C7.22208 6.53383 7.21594 6.54068 7.20991 6.54762C7.07504 6.70295 7 6.90234 7 7.10957V7.79762H9H10.0095C10.4829 7.79762 10.8667 7.41386 10.8667 6.94047V4H10.1505C9.92587 4 9.7102 4.0882 9.54992 4.24562L9 4.78571ZM4.86667 1H4.15053C3.92587 1 3.7102 1.0882 3.54992 1.24562L1.25654 3.49804C1.09244 3.65921 1 3.87957 1 4.10957V4.79762H4.00952C4.48291 4.79762 4.86667 4.41386 4.86667 3.94047V1ZM7 12V8.71428H9H10.5143C11.2244 8.71428 11.8 8.13865 11.8 7.42857V4H13.2857C14.2325 4 15 4.76751 15 5.71429V13.2857C15 14.2325 14.2325 15 13.2857 15H8.71429C7.76751 15 7 14.2325 7 13.2857V12Z" fill="currentColor" fill-rule="evenodd">
         </path>
        </svg>
       </div>
      </button>
     </div>
    </div>
   </div>
  </div>
  <span class="leafygreen-ui-1qnjd6d" id="std-label-collStats-output">
  </span>
 </section>
 <section>
  <h2 class="contains-headerlink leafygreen-ui-19f71ei" weight="medium">
   Output
   <a class="headerlink leafygreen-ui-1kepx47" href="#output" title="Permalink to this heading">
    <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
     <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
     </path>
     <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
     </path>
    </svg>
    <div class="css-1btu0w3 evvkmar0" id="output">
    </div>
   </a>
  </h2>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.ns
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.ns" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.ns">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     The namespace of the current collection, which follows the format
     <code class="leafygreen-ui-1l06pbn">
      [database].[collection]
     </code>
     .
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.size
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.size" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.size">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     The total uncompressed size in memory of all records in a
collection. The
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.size" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        size
       </code>
      </span>
     </a>
     does not
include the size of any indexes associated with the collection,
which the
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.totalIndexSize" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        totalIndexSize
       </code>
      </span>
     </a>
     field reports.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     The
     <code class="leafygreen-ui-1l06pbn">
      scale
     </code>
     argument affects this value. Data compression does not
affect this value.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.timeseries
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.timeseries" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.timeseries">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.timeseries" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        timeseries
       </code>
      </span>
     </a>
     appears when you run the
     <code class="leafygreen-ui-1l06pbn">
      collStats
     </code>
     command on a
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/core/timeseries-collections/#std-label-manual-timeseries-collection">
      time series collection
      <!-- -->
      .
     </a>
    </p>
    <p class="leafygreen-ui-1kp3ins">
     This document contains data for internal diagnostic use.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.count
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.count" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.count">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     The number of objects or documents in this collection.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.avgObjSize
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.avgObjSize" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.avgObjSize">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     The average size of an object in the collection. The
     <code class="leafygreen-ui-1l06pbn">
      scale
     </code>
     argument does not affect this value.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.numOrphanDocs
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.numOrphanDocs" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.numOrphanDocs">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     The number of
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/glossary/#std-term-orphaned-document">
      orphaned documents
     </a>
     in the
collection.
    </p>
    <div>
     <p>
      <em>
       New
       <!-- -->
       in version
       <!-- -->
       6.0
      </em>
      .
     </p>
    </div>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.storageSize
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.storageSize" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.storageSize">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     The total amount of storage allocated to this collection for
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/glossary/#std-term-document">
      document
     </a>
     storage. The
     <code class="leafygreen-ui-1l06pbn">
      scale
     </code>
     argument affects this
value.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     If collection data is compressed (which is the
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/program/mongod/#std-option-mongod.--wiredTigerCollectionBlockCompressor">
      <code class="leafygreen-ui-1l06pbn">
       default for
WiredTiger
      </code>
     </a>
     ), the
storage size reflects the compressed size and may be smaller than
the value for
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.size" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        collStats.size
       </code>
       .
      </span>
     </a>
    </p>
    <p class="leafygreen-ui-1kp3ins">
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.storageSize" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        storageSize
       </code>
      </span>
     </a>
     does not include index size. See
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.totalIndexSize" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        totalIndexSize
       </code>
      </span>
     </a>
     for index sizing.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.freeStorageSize
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.freeStorageSize" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.freeStorageSize">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     <em>
      Unavailable for the In-Memory Storage Engine
     </em>
    </p>
    <p class="leafygreen-ui-1kp3ins">
     The amount of storage available for reuse. The
     <code class="leafygreen-ui-1l06pbn">
      scale
     </code>
     argument
affects this value.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     The field is only available if storage is available for reuse (i.e.
greater than zero).
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.nindexes
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.nindexes" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.nindexes">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     The number of indexes on the collection. All collections have at
least one index on the
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/glossary/#std-term-_id">
      _id
     </a>
     field.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.nindexes" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        nindexes
       </code>
      </span>
     </a>
     includes indexes currently being built in
its count.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.indexDetails
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.indexDetails" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.indexDetails">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     A document that reports data from the
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/core/wiredtiger/#std-label-storage-wiredTiger">
      WiredTiger
     </a>
     storage engine for each index in the collection. Other storage engines will
return an empty document.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     The fields in this document are the names of the indexes, while the
values themselves are documents that contain statistics for the
index provided by the storage engine. These statistics are for
internal diagnostic use.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.indexDetails" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        indexDetails
       </code>
      </span>
     </a>
     includes
details on indexes currently being built.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.indexBuilds
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.indexBuilds" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.indexBuilds">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     An array that contains the names of the indexes that are currently
being built on the collection. Once an index build completes, the
index does not appear in the
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.indexBuilds" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        indexBuilds
       </code>
       .
      </span>
     </a>
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.totalIndexSize
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.totalIndexSize" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.totalIndexSize">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     Sum of the disk space used by all indexes. The
     <code class="leafygreen-ui-1l06pbn">
      scale
     </code>
     argument
affects this value.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     If an index uses prefix compression (which is the
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/program/mongod/#std-option-mongod.--wiredTigerIndexPrefixCompression">
      <code class="leafygreen-ui-1l06pbn">
       default
for WiredTiger
      </code>
     </a>
     ), the
returned size reflects the compressed size for any such indexes when
calculating the total.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.totalIndexSize" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        totalIndexSize
       </code>
      </span>
     </a>
     includes indexes currently being
built in the total size.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.totalSize
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.totalSize" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.totalSize">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     The sum of the
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.storageSize" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        storageSize
       </code>
      </span>
     </a>
     and
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.totalIndexSize" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        totalIndexSize
       </code>
      </span>
     </a>
     . The
     <code class="leafygreen-ui-1l06pbn">
      scale
     </code>
     argument affects
this value.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.indexSizes
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.indexSizes" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.indexSizes">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     This field specifies the key and size of every existing index on
the collection. The
     <code class="leafygreen-ui-1l06pbn">
      scale
     </code>
     argument affects this value.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     If an index uses prefix compression (which is the
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/program/mongod/#std-option-mongod.--wiredTigerIndexPrefixCompression">
      <code class="leafygreen-ui-1l06pbn">
       default
for WiredTiger
      </code>
     </a>
     ), the
returned size reflects the compressed size.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.indexSizes" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        indexSizes
       </code>
      </span>
     </a>
     includes the sizes of indexes currently being built.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.scaleFactor
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.scaleFactor" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.scaleFactor">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     The
     <code class="leafygreen-ui-1l06pbn">
      scale
     </code>
     value used by the command.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     If you had specified a non-integer scale factor, MongoDB uses the
integer part of the specified factor. For example, if you specify a
scale factor of
     <code class="leafygreen-ui-1l06pbn">
      1023.999
     </code>
     , MongoDB uses
     <code class="leafygreen-ui-1l06pbn">
      1023
     </code>
     as the scale
factor.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.capped
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.capped" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.capped">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     This field will be "true" if the collection is
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/glossary/#std-term-capped-collection">
      capped
      <!-- -->
      .
     </a>
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.max
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.max" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.max">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     Shows the maximum number of documents that may be present in a
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/glossary/#std-term-capped-collection">
      capped collection
      <!-- -->
      .
     </a>
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.maxSize
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.maxSize" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.maxSize">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     Shows the maximum size of a
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/reference/glossary/#std-term-capped-collection">
      capped collection
      <!-- -->
      .
     </a>
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.wiredTiger
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.wiredTiger" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.wiredTiger">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.wiredTiger" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        wiredTiger
       </code>
      </span>
     </a>
     only appears when using the
WiredTiger storage engine. When using
     <a class="leafygreen-ui-tqgtui" href="/docs/manual/core/queryable-encryption/#std-label-qe-manual-feature-qe">
      Queryable Encryption
     </a>
     , WiredTiger data is redacted to only the
     <code class="leafygreen-ui-1l06pbn">
      url
     </code>
     field.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     This document contains data reported
directly by the WiredTiger engine and other data for internal
diagnostic use.
    </p>
   </dd>
  </dl>
  <dl class="data">
   <dt>
    <code class="leafygreen-ui-1l06pbn">
     collStats.inMemory
    </code>
    <a class="headerlink leafygreen-ui-1kepx47" href="#mongodb-data-collStats.inMemory" title="Permalink to this definition">
     <svg aria-label="Link Icon" class="leafygreen-ui-a30zj9" fill="none" height="12" role="img" viewbox="0 0 16 16" width="12" xmlns="http://www.w3.org/2000/svg">
      <path d="M6.039 9.953a3.596 3.596 0 0 1-.327-.38l1.45-1.445a1.553 1.553 0 0 0 2.496.423l2.885-2.87a1.57 1.57 0 0 0 .01-2.213 1.553 1.553 0 0 0-2.203-.01l-.379.377A.995.995 0 0 1 8.56 3.83a1.005 1.005 0 0 1 .006-1.418l.38-.377a3.542 3.542 0 0 1 5.024.023 3.58 3.58 0 0 1-.022 5.047l-2.884 2.871a3.542 3.542 0 0 1-5.025-.022Z" fill="currentColor">
      </path>
      <path d="M9.961 6.047c.12.12.228.248.327.38l-1.45 1.445a1.553 1.553 0 0 0-2.496-.423l-2.885 2.87a1.57 1.57 0 0 0-.01 2.213 1.553 1.553 0 0 0 2.203.01l.379-.377a.995.995 0 0 1 1.411.006 1.005 1.005 0 0 1-.006 1.418l-.38.377a3.542 3.542 0 0 1-5.024-.023 3.58 3.58 0 0 1 .022-5.047l2.884-2.871a3.542 3.542 0 0 1 5.025.022Z" fill="currentColor">
      </path>
     </svg>
     <div class="css-1btu0w3 evvkmar0" id="mongodb-data-collStats.inMemory">
     </div>
    </a>
   </dt>
   <dd>
    <p class="leafygreen-ui-1kp3ins">
     <a class="lg-ui-0001 leafygreen-ui-fgcsv5" href="#mongodb-data-collStats.inMemory" target="_self">
      <span>
       <code class="leafygreen-ui-1l06pbn">
        inMemory
       </code>
      </span>
     </a>
     only appears when using the in-memory
storage engine.
    </p>
    <p class="leafygreen-ui-1kp3ins">
     This document contains data reported
directly by the storage engine and other data for internal
diagnostic use.
    </p>
   </dd>
  </dl>
 </section>
</section>
