<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="mysql-cluster-ndbinfo-blocks">
      </a>
      25.6.17.5 The ndbinfo blocks Table
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045090455968">
  </a>
  <p>
   The
   <code class="literal">
    blocks
   </code>
   table is a static table which
        simply contains the names and internal IDs of all NDB kernel
        blocks (see
   <a class="ulink" href="/doc/ndb-internals/en/ndb-internals-kernel-blocks.html" target="_top">
    NDB Kernel Blocks
   </a>
   ). It
        is for use by the other
   <a class="link" href="mysql-cluster-ndbinfo.html" title="25.6.17 ndbinfo: The NDB Cluster Information Database">
    <code class="literal">
     ndbinfo
    </code>
   </a>
   tables (most of which
        are actually views) in mapping block numbers to block names for
        producing human-readable output.
  </p>
  <p>
   The
   <code class="literal">
    blocks
   </code>
   table contains the following
        columns:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <code class="literal">
       block_number
      </code>
     </p>
     <p>
      Block number
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       block_name
      </code>
     </p>
     <p>
      Block name
     </p>
    </li>
   </ul>
  </div>
  <h5>
   <a name="idm46045090445728">
   </a>
   Notes
  </h5>
  <p>
   To obtain a list of all block names, simply execute
   <code class="literal">
    SELECT block_name FROM ndbinfo.blocks
   </code>
   .
        Although this is a static table, its content can vary between
        different NDB Cluster releases.
  </p>
 </div>
 <br/>
</div>
