Skip to main content

◆ createResourceGroup() [1/2]

CreateResourceGroupResponse kinetica.Kinetica.createResourceGroup (CreateResourceGroupRequestrequest_)
inline

Creates a new resource group to facilitate resource management.

Parameters
request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

Definition at line 23224 of file KineticaFunctions.cs.

◆ createResourceGroup() [2/2]

CreateResourceGroupResponse kinetica.Kinetica.createResourceGroup (stringname,
IDictionary< string, IDictionary< string, string > >tier_attributes,
stringranking,
stringadjoining_resource_group = "",
IDictionary< string, string >options = null )
inline

Creates a new resource group to facilitate resource management.

Parameters
nameName of the group to be created. Must contain only letters, digits, and underscores, and cannot begin with a digit. Must not match existing resource group name.
tier_attributesOptional 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’.
  • MAX_MEMORY: 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.
The default value is an empty Dictionary.
rankingIndicates the relative ranking among existing resource groups where this new resource group will be placed. Supported values:
  • FIRST: Make this resource group the new first one in the ordering.
  • LAST: Make this resource group the new last one in the ordering.
  • BEFORE: Place this resource group before the one specified by adjoining_resource_group in the ordering.
  • AFTER: Place this resource group after the one specified by adjoining_resource_group in the ordering.
adjoining_resource_groupIf ranking is BEFORE or AFTER, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank. The default value is ”.
optionsOptional parameters.
  • MAX_CPU_CONCURRENCY: Maximum number of simultaneous threads that will be used to execute a request, per rank, for this group. The minimum allowed value is ‘4’.
  • MAX_DATA: 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’.
  • MAX_SCHEDULING_PRIORITY: Maximum priority of a scheduled task for this group. The minimum allowed value is ‘1’. The maximum allowed value is ‘100’.
  • MAX_TIER_PRIORITY: Maximum priority of a tiered object for this group. The minimum allowed value is ‘1’. The maximum allowed value is ‘10’.
The default value is an empty Dictionary.
Returns
Response object containing the result of the operation.

Definition at line 23353 of file KineticaFunctions.cs.

◆ CreateResourceGroupAsync() [1/2]

async System.Threading.Tasks.Task< CreateResourceGroupResponse > kinetica.Kinetica.CreateResourceGroupAsync (CreateResourceGroupRequestrequest_,
System.Threading.CancellationTokencancellationToken = default )
inline

Creates a new resource group to facilitate resource management.

(async)

Parameters
request_Request object containing the parameters for the operation.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 23240 of file KineticaFunctions.cs.

◆ CreateResourceGroupAsync() [2/2]

async System.Threading.Tasks.Task< CreateResourceGroupResponse > kinetica.Kinetica.CreateResourceGroupAsync (stringname,
IDictionary< string, IDictionary< string, string > >tier_attributes,
stringranking,
stringadjoining_resource_group = "",
IDictionary< string, string >options = null,
System.Threading.CancellationTokencancellationToken = default )
inline

Creates a new resource group to facilitate resource management.

(async)

Parameters
nameName of the group to be created. Must contain only letters, digits, and underscores, and cannot begin with a digit. Must not match existing resource group name.
tier_attributesOptional 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’.
  • MAX_MEMORY: 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.
The default value is an empty Dictionary.
rankingIndicates the relative ranking among existing resource groups where this new resource group will be placed. Supported values:
  • FIRST: Make this resource group the new first one in the ordering.
  • LAST: Make this resource group the new last one in the ordering.
  • BEFORE: Place this resource group before the one specified by adjoining_resource_group in the ordering.
  • AFTER: Place this resource group after the one specified by adjoining_resource_group in the ordering.
adjoining_resource_groupIf ranking is BEFORE or AFTER, this field indicates the resource group before or after which the current group will be placed; otherwise, leave blank. The default value is ”.
optionsOptional parameters.
  • MAX_CPU_CONCURRENCY: Maximum number of simultaneous threads that will be used to execute a request, per rank, for this group. The minimum allowed value is ‘4’.
  • MAX_DATA: 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’.
  • MAX_SCHEDULING_PRIORITY: Maximum priority of a scheduled task for this group. The minimum allowed value is ‘1’. The maximum allowed value is ‘100’.
  • MAX_TIER_PRIORITY: Maximum priority of a tiered object for this group. The minimum allowed value is ‘1’. The maximum allowed value is ‘10’.
The default value is an empty Dictionary.
cancellationTokenCancellation token to cancel the operation.
Returns
Task that returns the response object containing the result of the operation.

Definition at line 23472 of file KineticaFunctions.cs.