> ## 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.

# alterTier

<div className="kinetica-doxygen">
  <div id="ae73f596fa5539fff857b7312f5627a52" />

  <h2 className="memtitle"><span className="permalink"><a href="#ae73f596fa5539fff857b7312f5627a52">◆ </a></span>alterTier() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">AlterTierResponse</a> gpudb::GPUdb::alterTier </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierRequest">AlterTierRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alters properties of an existing <a href="/content/rm/concepts/#storage-tiers" target="_top">tier</a> to facilitate <a href="/content/rm/concepts/" target="_top">resource management</a>. </p>
      <p>To disable <a href="/content/rm/concepts/#watermark-based-eviction" target="_top">watermark-based eviction</a>, set both <a className="el" href="/content/api/cpp/namespacegpudb#a698971465a627d3e0cc83af7f40e4b1c">high\_watermark</a> and <a className="el" href="/content/api/cpp/namespacegpudb#a7170f7b48a6c8a4f7c81262fcfed673e">low\_watermark</a> to 100.</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">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierRequest">Request</a> object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a1a309e9177463c0e04236d41d7862a7d" />

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

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">AlterTierResponse</a> & gpudb::GPUdb::alterTier </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierRequest">AlterTierRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">AlterTierResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alters properties of an existing <a href="/content/rm/concepts/#storage-tiers" target="_top">tier</a> to facilitate <a href="/content/rm/concepts/" target="_top">resource management</a>. </p>
      <p>To disable <a href="/content/rm/concepts/#watermark-based-eviction" target="_top">watermark-based eviction</a>, set both <a className="el" href="/content/api/cpp/namespacegpudb#a698971465a627d3e0cc83af7f40e4b1c">high\_watermark</a> and <a className="el" href="/content/api/cpp/namespacegpudb#a7170f7b48a6c8a4f7c81262fcfed673e">low\_watermark</a> to 100.</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">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="ad0ef8535f3d31c0ed146d697ef1e524e" />

  <h2 className="memtitle"><span className="permalink"><a href="#ad0ef8535f3d31c0ed146d697ef1e524e">◆ </a></span>alterTier() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">AlterTierResponse</a> gpudb::GPUdb::alterTier </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alters properties of an existing <a href="/content/rm/concepts/#storage-tiers" target="_top">tier</a> to facilitate <a href="/content/rm/concepts/" target="_top">resource management</a>. </p>
      <p>To disable <a href="/content/rm/concepts/#watermark-based-eviction" target="_top">watermark-based eviction</a>, set both <a className="el" href="/content/api/cpp/namespacegpudb#a698971465a627d3e0cc83af7f40e4b1c">high\_watermark</a> and <a className="el" href="/content/api/cpp/namespacegpudb#a7170f7b48a6c8a4f7c81262fcfed673e">low\_watermark</a> to 100.</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">name</td>
              <td>Name of the tier to be altered. Must be an existing tier group name: vram, ram, disk\[n], persist, cold\[n]. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a84a36879b48735a4305c4b100116ec6f">alter\_tier\_capacity</a>: Maximum size in bytes this tier may hold at once, per rank. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a698971465a627d3e0cc83af7f40e4b1c">alter\_tier\_high\_watermark</a>: Threshold of usage of this tier's resource that once exceeded, will trigger watermark-based eviction from this tier. The minimum allowed value is '0'. The maximum allowed value is '100'. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7170f7b48a6c8a4f7c81262fcfed673e">alter\_tier\_low\_watermark</a>: Threshold of resource usage that once fallen below after crossing the <a className="el" href="/content/api/cpp/namespacegpudb#a698971465a627d3e0cc83af7f40e4b1c">high\_watermark</a>, will cease watermark-based eviction from this tier. The minimum allowed value is '0'. The maximum allowed value is '100'. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3823dab89a8e56d4107ef8b972f5f385">alter\_tier\_wait\_timeout</a>: Timeout in seconds for reading from or writing to this resource. Applies to cold storage tiers only. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a03ee64646f0352c7ccd149aefb04a410">alter\_tier\_persist</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a6b8337e1aa0cf172804f9cea33667000">true</a> the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6b8337e1aa0cf172804f9cea33667000">alter\_tier\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ace135c6229542d6a76a58883f4380db5">alter\_tier\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6b8337e1aa0cf172804f9cea33667000">alter\_tier\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a55d8e4c06f440717ae7f42553b677a2f">alter\_tier\_rank</a>: Apply the requested change only to a specific rank. The minimum allowed value is '0'. The maximum allowed value is '10000'. </li>
                </ul>

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

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a13674a20aec621b0560ea8d896b270f8" />

  <h2 className="memtitle"><span className="permalink"><a href="#a13674a20aec621b0560ea8d896b270f8">◆ </a></span>alterTier() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">AlterTierResponse</a> & gpudb::GPUdb::alterTier </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">name</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <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>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">AlterTierResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Alters properties of an existing <a href="/content/rm/concepts/#storage-tiers" target="_top">tier</a> to facilitate <a href="/content/rm/concepts/" target="_top">resource management</a>. </p>
      <p>To disable <a href="/content/rm/concepts/#watermark-based-eviction" target="_top">watermark-based eviction</a>, set both <a className="el" href="/content/api/cpp/namespacegpudb#a698971465a627d3e0cc83af7f40e4b1c">high\_watermark</a> and <a className="el" href="/content/api/cpp/namespacegpudb#a7170f7b48a6c8a4f7c81262fcfed673e">low\_watermark</a> to 100.</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">name</td>
              <td>Name of the tier to be altered. Must be an existing tier group name: vram, ram, disk\[n], persist, cold\[n]. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a84a36879b48735a4305c4b100116ec6f">alter\_tier\_capacity</a>: Maximum size in bytes this tier may hold at once, per rank. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a698971465a627d3e0cc83af7f40e4b1c">alter\_tier\_high\_watermark</a>: Threshold of usage of this tier's resource that once exceeded, will trigger watermark-based eviction from this tier. The minimum allowed value is '0'. The maximum allowed value is '100'. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a7170f7b48a6c8a4f7c81262fcfed673e">alter\_tier\_low\_watermark</a>: Threshold of resource usage that once fallen below after crossing the <a className="el" href="/content/api/cpp/namespacegpudb#a698971465a627d3e0cc83af7f40e4b1c">high\_watermark</a>, will cease watermark-based eviction from this tier. The minimum allowed value is '0'. The maximum allowed value is '100'. </li>
                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3823dab89a8e56d4107ef8b972f5f385">alter\_tier\_wait\_timeout</a>: Timeout in seconds for reading from or writing to this resource. Applies to cold storage tiers only. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a03ee64646f0352c7ccd149aefb04a410">alter\_tier\_persist</a>: If <a className="el" href="/content/api/cpp/namespacegpudb#a6b8337e1aa0cf172804f9cea33667000">true</a> the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a6b8337e1aa0cf172804f9cea33667000">alter\_tier\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#ace135c6229542d6a76a58883f4380db5">alter\_tier\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a6b8337e1aa0cf172804f9cea33667000">alter\_tier\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a55d8e4c06f440717ae7f42553b677a2f">alter\_tier\_rank</a>: Apply the requested change only to a specific rank. The minimum allowed value is '0'. The maximum allowed value is '10000'. </li>
                </ul>

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

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1AlterTierResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
