> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# gpudb::AdminRebalanceRequest

> gpudb::AdminRebalanceRequest — Kinetica C++ API

<div className="kinetica-doxygen">
  <div className="contents">
    <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a12ddec404e39c247d808318977c10d6b">GPUdb::adminRebalance</a>. <a href="#details">More...</a></p>
    <p><code>#include \<<a className="el" href="/content/api/cpp/admin__rebalance_8h_source">gpudb/protocol/admin\_rebalance.h</a>></code></p>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Member Functions</h2>
        </td>
      </tr>

      <tr className="memitem:accc639d9d9d489bab32271992240373c" id="r_accc639d9d9d489bab32271992240373c">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#accc639d9d9d489bab32271992240373c">AdminRebalanceRequest</a> ()</td>
      </tr>

      <tr className="memdesc:accc639d9d9d489bab32271992240373c">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AdminRebalanceRequest" title="A set of parameters for GPUdb::adminRebalance.">AdminRebalanceRequest</a> object with default parameters. <br /></td>
      </tr>

      <tr className="separator:accc639d9d9d489bab32271992240373c">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>

      <tr className="memitem:a399dfc24652ffe53d86321def0acec89" id="r_a399dfc24652ffe53d86321def0acec89">
        <td className="memItemLeft" align="right" valign="top"> </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#a399dfc24652ffe53d86321def0acec89">AdminRebalanceRequest</a> (const std::map\< std::string, std::string > \&options\_)</td>
      </tr>

      <tr className="memdesc:a399dfc24652ffe53d86321def0acec89">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AdminRebalanceRequest" title="A set of parameters for GPUdb::adminRebalance.">AdminRebalanceRequest</a> object with the specified parameters. <br /></td>
      </tr>

      <tr className="separator:a399dfc24652ffe53d86321def0acec89">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <table className="memberdecls">
      <tr className="heading">
        <td colSpan="2">
          <h2 className="groupheader"> Public Attributes</h2>
        </td>
      </tr>

      <tr className="memitem:af7679883e061c7eef4e728cecaee8a1a" id="r_af7679883e061c7eef4e728cecaee8a1a">
        <td className="memItemLeft" align="right" valign="top">std::map\< std::string, std::string > </td>
        <td className="memItemRight" valign="bottom"><a className="el" href="#af7679883e061c7eef4e728cecaee8a1a">options</a></td>
      </tr>

      <tr className="memdesc:af7679883e061c7eef4e728cecaee8a1a">
        <td className="mdescLeft"> </td>
        <td className="mdescRight">Optional parameters. <br /></td>
      </tr>

      <tr className="separator:af7679883e061c7eef4e728cecaee8a1a">
        <td className="memSeparator" colSpan="2"> </td>
      </tr>
    </table>

    <h2 className="groupheader">Detailed Description</h2>

    <div className="textblock">
      <p>A set of parameters for <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a12ddec404e39c247d808318977c10d6b">GPUdb::adminRebalance</a>. </p>
      <p>Rebalance the data in the cluster so that all nodes contain an equal number of records approximately and/or rebalance the shards to be equally distributed (as much as possible) across all the ranks.</p>
      <p>The database must be offline for this operation, see <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a9458238afaafde877e568a92d45abb75">GPUdb::adminOffline</a></p>

      <ul>
        <li>If <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a12ddec404e39c247d808318977c10d6b">GPUdb::adminRebalance</a> is invoked after a change is made to the cluster, e.g., a host was added or removed, <a href="/content/concepts/tables/#sharding" target="_top">sharded data</a> will be evenly redistributed across the cluster by number of shards per rank while unsharded data will be redistributed across the cluster by data size per rank</li>
        <li>If <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a12ddec404e39c247d808318977c10d6b">GPUdb::adminRebalance</a> is invoked at some point when unsharded data (a.k.a. <a href="/content/concepts/tables/#random-sharding" target="_top">randomly-sharded</a>) in the cluster is unevenly distributed over time, sharded data will not move while unsharded data will be redistributed across the cluster by data size per rank</li>
      </ul>

      <p>NOTE: Replicated data will not move as a result of this call</p>
      <p>This endpoint's processing time depends on the amount of data in the system, thus the API call may time out if run directly. It is recommended to run this endpoint asynchronously via <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#a02ef4c58e395bbf2c83325cf592397af">GPUdb::createJob</a>. </p>
      <p className="definition">Definition at line <a className="el" href="/content/api/cpp/admin__rebalance_8h_source#l00045">45</a> of file <a className="el" href="/content/api/cpp/admin__rebalance_8h_source">admin\_rebalance.h</a>.</p>
    </div>

    <h2 className="groupheader">Constructor & Destructor Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#accc639d9d9d489bab32271992240373c">◆ </a></span>AdminRebalanceRequest() <span className="overload">\[1/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::AdminRebalanceRequest::AdminRebalanceRequest </td>
                  <td>(</td>

                  <td className="paramname">
                    <span className="paramname">
                      <span className="em" />
                    </span>
                  </td>

                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AdminRebalanceRequest" title="A set of parameters for GPUdb::adminRebalance.">AdminRebalanceRequest</a> object with default parameters. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/admin__rebalance_8h_source#l00050">50</a> of file <a className="el" href="/content/api/cpp/admin__rebalance_8h_source">admin\_rebalance.h</a>.</p>
      </div>
    </div>

    <h2 className="memtitle"><span className="permalink"><a href="#a399dfc24652ffe53d86321def0acec89">◆ </a></span>AdminRebalanceRequest() <span className="overload">\[2/2]</span></h2>

    <div className="memitem">
      <div className="memproto">
        <table className="mlabels">
          <tr>
            <td className="mlabels-left">
              <table className="memname">
                <tr>
                  <td className="memname">gpudb::AdminRebalanceRequest::AdminRebalanceRequest </td>
                  <td>(</td>
                  <td className="paramtype">const std::map\< std::string, std::string > &</td>
                  <td className="paramname"><span className="paramname"><span className="em">options\_</span></span></td>
                  <td>)</td>

                  <td />
                </tr>
              </table>
            </td>

            <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Constructs an <a className="el" href="/content/api/cpp/structgpudb_1_1AdminRebalanceRequest" title="A set of parameters for GPUdb::adminRebalance.">AdminRebalanceRequest</a> object with the specified parameters. </p>

        <div className="dl params">
          <div className="dt">Parameters</div>

          <div className="dd">
            <table className="params">
              <tr>
                <td className="paramdir">\[in]</td>
                <td className="paramname">options\_</td>

                <td>
                  Optional parameters.

                  <ul>
                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#aad19c9dbc992e925ba7c64427a3ea411">admin\_rebalance\_rebalance\_sharded\_data</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, <a href="/content/concepts/tables/#sharding" target="_top">sharded data</a> will be rebalanced approximately equally across the cluster. Note that for clusters with large amounts of sharded data, this data transfer could be time consuming and result in delayed query responses. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a>.
                    </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a6f0981e22d233d17c8582d9a71cdebcc">admin\_rebalance\_rebalance\_unsharded\_data</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, unsharded data (a.k.a. <a href="/content/concepts/tables/#random-sharding" target="_top">randomly-sharded</a>) will be rebalanced approximately equally across the cluster. Note that for clusters with large amounts of unsharded data, this data transfer could be time consuming and result in delayed query responses. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a>.
                    </li>

                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#a418d45847bdb24ada6f38b355c004278">admin\_rebalance\_table\_includes</a>: Comma-separated list of unsharded table names to rebalance. Not applicable to sharded tables because they are always rebalanced. Cannot be used simultaneously with <a className="el" href="/content/api/cpp/namespacegpudb#afbf6fb4173234e573b086d8c2cfd4d7d">table\_excludes</a>. This parameter is ignored if <a className="el" href="/content/api/cpp/namespacegpudb#a6f0981e22d233d17c8582d9a71cdebcc">rebalance\_unsharded\_data</a> is <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">false</a>. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#afbf6fb4173234e573b086d8c2cfd4d7d">admin\_rebalance\_table\_excludes</a>: Comma-separated list of unsharded table names to not rebalance. Not applicable to sharded tables because they are always rebalanced. Cannot be used simultaneously with <a className="el" href="/content/api/cpp/namespacegpudb#a418d45847bdb24ada6f38b355c004278">table\_includes</a>. This parameter is ignored if <a className="el" href="/content/api/cpp/namespacegpudb#a6f0981e22d233d17c8582d9a71cdebcc">rebalance\_unsharded\_data</a> is <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">false</a>. </li>
                    <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae62f6ea41e2acf4444ea531530a49bf6">admin\_rebalance\_aggressiveness</a>: Influences how much data is moved at a time during rebalance. A higher <a className="el" href="/content/api/cpp/namespacegpudb#ae62f6ea41e2acf4444ea531530a49bf6">aggressiveness</a> will complete the rebalance faster. A lower <a className="el" href="/content/api/cpp/namespacegpudb#ae62f6ea41e2acf4444ea531530a49bf6">aggressiveness</a> will take longer but allow for better interleaving between the rebalance and other queries. Valid values are constants from 1 (lowest) to 10 (highest). The default value is '10'. </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#ae6433e60a2b8ba7c4f155212e8d1eb29">admin\_rebalance\_compact\_after\_rebalance</a>: Perform compaction of deleted records once the rebalance completes to reclaim memory and disk space. Default is <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, unless <a className="el" href="/content/api/cpp/namespacegpudb#a3e18bc2f5dc73988f923a7e6ca228546">repair\_incorrectly\_sharded\_data</a> is set to <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a>.
                    </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a5fe14d7ad7823c108d68a4719fc6e4de">admin\_rebalance\_compact\_only</a>: If set to <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, ignore rebalance options and attempt to perform compaction of deleted records to reclaim memory and disk space without rebalancing first. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a>.
                    </li>

                    <li>
                      <a className="el" href="/content/api/cpp/namespacegpudb#a3e18bc2f5dc73988f923a7e6ca228546">admin\_rebalance\_repair\_incorrectly\_sharded\_data</a>: Scans for any data sharded incorrectly and re-routes the data to the correct location. Only necessary if <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ac2abe130ad4178e02001d86b4874e856">GPUdb::adminVerifyDb</a> reports an error in sharding alignment. This can be done as part of a typical rebalance after expanding the cluster or in a standalone fashion when it is believed that data is sharded incorrectly somewhere in the cluster. Compaction will not be performed by default when this is enabled. If this option is set to <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, the time necessary to rebalance and the memory used by the rebalance may increase. Supported values:

                      <ul>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
                        <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
                      </ul>

                      The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a>.
                    </li>
                  </ul>

                  The default value is an empty map.
                </td>
              </tr>
            </table>
          </div>
        </div>

        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/admin__rebalance_8h_source#l00233">233</a> of file <a className="el" href="/content/api/cpp/admin__rebalance_8h_source">admin\_rebalance.h</a>.</p>
      </div>
    </div>

    <h2 className="groupheader">Member Data Documentation</h2>
    <h2 className="memtitle"><span className="permalink"><a href="#af7679883e061c7eef4e728cecaee8a1a">◆ </a></span>options</h2>

    <div className="memitem">
      <div className="memproto">
        <table className="memname">
          <tr>
            <td className="memname">std::map\<std::string, std::string> gpudb::AdminRebalanceRequest::options</td>
          </tr>
        </table>
      </div>

      <div className="memdoc">
        <p>Optional parameters. </p>

        <ul>
          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#aad19c9dbc992e925ba7c64427a3ea411">admin\_rebalance\_rebalance\_sharded\_data</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, <a href="/content/concepts/tables/#sharding" target="_top">sharded data</a> will be rebalanced approximately equally across the cluster. Note that for clusters with large amounts of sharded data, this data transfer could be time consuming and result in delayed query responses. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a>.
          </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a6f0981e22d233d17c8582d9a71cdebcc">admin\_rebalance\_rebalance\_unsharded\_data</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, unsharded data (a.k.a. <a href="/content/concepts/tables/#random-sharding" target="_top">randomly-sharded</a>) will be rebalanced approximately equally across the cluster. Note that for clusters with large amounts of unsharded data, this data transfer could be time consuming and result in delayed query responses. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a>.
          </li>

          <li> <a className="el" href="/content/api/cpp/namespacegpudb#a418d45847bdb24ada6f38b355c004278">admin\_rebalance\_table\_includes</a>: Comma-separated list of unsharded table names to rebalance. Not applicable to sharded tables because they are always rebalanced. Cannot be used simultaneously with <a className="el" href="/content/api/cpp/namespacegpudb#afbf6fb4173234e573b086d8c2cfd4d7d">table\_excludes</a>. This parameter is ignored if <a className="el" href="/content/api/cpp/namespacegpudb#a6f0981e22d233d17c8582d9a71cdebcc">rebalance\_unsharded\_data</a> is <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">false</a>. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#afbf6fb4173234e573b086d8c2cfd4d7d">admin\_rebalance\_table\_excludes</a>: Comma-separated list of unsharded table names to not rebalance. Not applicable to sharded tables because they are always rebalanced. Cannot be used simultaneously with <a className="el" href="/content/api/cpp/namespacegpudb#a418d45847bdb24ada6f38b355c004278">table\_includes</a>. This parameter is ignored if <a className="el" href="/content/api/cpp/namespacegpudb#a6f0981e22d233d17c8582d9a71cdebcc">rebalance\_unsharded\_data</a> is <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">false</a>. </li>
          <li> <a className="el" href="/content/api/cpp/namespacegpudb#ae62f6ea41e2acf4444ea531530a49bf6">admin\_rebalance\_aggressiveness</a>: Influences how much data is moved at a time during rebalance. A higher <a className="el" href="/content/api/cpp/namespacegpudb#ae62f6ea41e2acf4444ea531530a49bf6">aggressiveness</a> will complete the rebalance faster. A lower <a className="el" href="/content/api/cpp/namespacegpudb#ae62f6ea41e2acf4444ea531530a49bf6">aggressiveness</a> will take longer but allow for better interleaving between the rebalance and other queries. Valid values are constants from 1 (lowest) to 10 (highest). The default value is '10'. </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#ae6433e60a2b8ba7c4f155212e8d1eb29">admin\_rebalance\_compact\_after\_rebalance</a>: Perform compaction of deleted records once the rebalance completes to reclaim memory and disk space. Default is <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, unless <a className="el" href="/content/api/cpp/namespacegpudb#a3e18bc2f5dc73988f923a7e6ca228546">repair\_incorrectly\_sharded\_data</a> is set to <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a>.
          </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a5fe14d7ad7823c108d68a4719fc6e4de">admin\_rebalance\_compact\_only</a>: If set to <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, ignore rebalance options and attempt to perform compaction of deleted records to reclaim memory and disk space without rebalancing first. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a>.
          </li>

          <li>
            <a className="el" href="/content/api/cpp/namespacegpudb#a3e18bc2f5dc73988f923a7e6ca228546">admin\_rebalance\_repair\_incorrectly\_sharded\_data</a>: Scans for any data sharded incorrectly and re-routes the data to the correct location. Only necessary if <a className="el" href="/content/api/cpp/classgpudb_1_1GPUdb#ac2abe130ad4178e02001d86b4874e856">GPUdb::adminVerifyDb</a> reports an error in sharding alignment. This can be done as part of a typical rebalance after expanding the cluster or in a standalone fashion when it is believed that data is sharded incorrectly somewhere in the cluster. Compaction will not be performed by default when this is enabled. If this option is set to <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">true</a>, the time necessary to rebalance and the memory used by the rebalance may increase. Supported values:

            <ul>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#af06ee317b8efa9d21bcaf360c74eeb37">admin\_rebalance\_true</a> </li>
              <li> <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a> </li>
            </ul>

            The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a0620989027a635c303f44b6f89cbad98">admin\_rebalance\_false</a>.
          </li>
        </ul>

        <p>The default value is an empty map. </p>
        <p className="definition">Definition at line <a className="el" href="/content/api/cpp/admin__rebalance_8h_source#l00362">362</a> of file <a className="el" href="/content/api/cpp/admin__rebalance_8h_source">admin\_rebalance.h</a>.</p>
      </div>
    </div>

    <hr />

    The documentation for this struct was generated from the following file:

    <ul>
      <li>gpudb/protocol/<a className="el" href="/content/api/cpp/admin__rebalance_8h_source">admin\_rebalance.h</a></li>
    </ul>
  </div>
</div>
