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

# alterResourceGroup

<div className="kinetica-javadoc">
  <ul className="member-list">
    <li>
      <div className="section detail" id="alterResourceGroup(com.gpudb.protocol.AlterResourceGroupRequest)">
        <h3>alterResourceGroup</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupResponse" title="class in com.gpudb.protocol">AlterResourceGroupResponse</a></span> <span className="element-name">alterResourceGroup</span><wbr /><span className="parameters">(<a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest" title="class in com.gpudb.protocol">AlterResourceGroupRequest</a> request)</span> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>
        <div className="block">Alters the properties of an existing resource group to facilitate resource management.</div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>request</code> - <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest" title="class in com.gpudb.protocol"><code>Request</code></a> object containing the parameters for the operation.</div>
          <div className="dt">Returns:</div>
          <div className="dd"><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupResponse" title="class in com.gpudb.protocol"><code>Response</code></a> object containing the results of the operation.</div>
          <div className="dt">Throws:</div>
          <div className="dd"><code><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></code> - if an error occurs during the operation.</div>
        </div>
      </div>
    </li>

    <li>
      <div className="section detail" id="alterResourceGroup(java.lang.String,java.util.Map,java.lang.String,java.lang.String,java.util.Map)">
        <h3>alterResourceGroup</h3>
        <div className="member-signature"><span className="modifiers">public</span> <span className="return-type"><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupResponse" title="class in com.gpudb.protocol">AlterResourceGroupResponse</a></span> <span className="element-name">alterResourceGroup</span><wbr /><span className="parameters">(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> name, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>>> tierAttributes, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> ranking, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a> adjoiningResourceGroup, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link">Map</a>\<<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>,<wbr /><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" className="external-link">String</a>> options)</span> throws <span className="exceptions"><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></span></div>
        <div className="block">Alters the properties of an existing resource group to facilitate resource management.</div>

        <div className="dl notes">
          <div className="dt">Parameters:</div>
          <div className="dd"><code>name</code> - Name of the group to be altered. Must be an existing resource group name or an empty string when used in conjunction with <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#IS_DEFAULT_GROUP"><code>IS\_DEFAULT\_GROUP</code></a>.</div>

          <div className="dd">
            <code>tierAttributes</code> - Optional map containing tier names and their respective attribute group limits. The only valid attribute limit that can be set is max\_memory (in bytes) for the VRAM and RAM tiers. For instance, to set max VRAM capacity to 1GB per rank per GPU and max RAM capacity to 10GB per rank, use: {"{"}'VRAM':{"{"}'max\_memory':'1000000000'{"}"}, 'RAM':{"{"}'max\_memory':'10000000000'{"}"}{"}"}.

            <ul>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.TierAttributes#MAX_MEMORY"><code>MAX\_MEMORY</code></a>: Maximum amount of memory usable at one time, per rank, per GPU, for the VRAM tier; or maximum amount of memory usable at one time, per rank, for the RAM tier. </li>
            </ul>

            The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
          </div>

          <div className="dd">
            <code>ranking</code> - If the resource group ranking is to be updated, this indicates the relative ranking among existing resource groups where this resource group will be placed. Supported values:

            <ul>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Ranking#EMPTY_STRING"><code>EMPTY\_STRING</code></a>: Don't change the ranking. </li>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Ranking#FIRST"><code>FIRST</code></a>: Make this resource group the new first one in the ordering. </li>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Ranking#LAST"><code>LAST</code></a>: Make this resource group the new last one in the ordering. </li>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Ranking#BEFORE"><code>BEFORE</code></a>: Place this resource group before the one specified by <code>adjoiningResourceGroup</code> in the ordering. </li>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Ranking#AFTER"><code>AFTER</code></a>: Place this resource group after the one specified by <code>adjoiningResourceGroup</code> in the ordering. </li>
            </ul>

            The default value is <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Ranking#EMPTY_STRING"><code>EMPTY\_STRING</code></a>.
          </div>

          <div className="dd"><code>adjoiningResourceGroup</code> - If <code>ranking</code> is <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Ranking#BEFORE"><code>BEFORE</code></a> or <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Ranking#AFTER"><code>AFTER</code></a>, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank. The default value is ''.</div>

          <div className="dd">
            <code>options</code> - Optional parameters.

            <ul>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#MAX_CPU_CONCURRENCY"><code>MAX\_CPU\_CONCURRENCY</code></a>: Maximum number of simultaneous threads that will be used to execute a request, per rank, for this group. The minimum allowed value is '4'. </li>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#MAX_DATA"><code>MAX\_DATA</code></a>: Maximum amount of data, per rank, in bytes, that can be used by all database objects within this group. Set to -1 to indicate no upper limit. The minimum allowed value is '-1'. </li>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#MAX_SCHEDULING_PRIORITY"><code>MAX\_SCHEDULING\_PRIORITY</code></a>: Maximum priority of a scheduled task for this group. The minimum allowed value is '1'. The maximum allowed value is '100'. </li>
              <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#MAX_TIER_PRIORITY"><code>MAX\_TIER\_PRIORITY</code></a>: Maximum priority of a tiered object for this group. The minimum allowed value is '1'. The maximum allowed value is '10'. </li>

              <li>
                <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#IS_DEFAULT_GROUP"><code>IS\_DEFAULT\_GROUP</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#TRUE"><code>TRUE</code></a>, this request applies to the global default resource group. It is an error for this field to be <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#TRUE"><code>TRUE</code></a> when the <code>name</code> field is also populated. Supported values:

                <ul>
                  <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#TRUE"><code>TRUE</code></a> </li>
                  <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#FALSE"><code>FALSE</code></a> </li>
                </ul>

                The default value is <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#FALSE"><code>FALSE</code></a>.
              </li>

              <li>
                <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#PERSIST"><code>PERSIST</code></a>: If <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#TRUE"><code>TRUE</code></a> and a system-level change was requested, 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 href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#TRUE"><code>TRUE</code></a> </li>
                  <li><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#FALSE"><code>FALSE</code></a> </li>
                </ul>

                The default value is <a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupRequest.Options#TRUE"><code>TRUE</code></a>.
              </li>
            </ul>

            The default value is an empty <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Map.html" title="class or interface in java.util" className="external-link"><code>Map</code></a>.
          </div>

          <div className="dt">Returns:</div>
          <div className="dd"><a href="/content/api/java/com/gpudb/protocol/AlterResourceGroupResponse" title="class in com.gpudb.protocol"><code>Response</code></a> object containing the results of the operation.</div>
          <div className="dt">Throws:</div>
          <div className="dd"><code><a href="/content/api/java/com/gpudb/GPUdbException" title="class in com.gpudb">GPUdbException</a></code> - if an error occurs during the operation.</div>
        </div>
      </div>
    </li>
  </ul>
</div>
