Skip to main content

Constants for the fields of the /create/resourcegroup request.

Option fields

options

Constants for options.

pub const MAX_CPU_CONCURRENCY: &str = “max_cpu_concurrency”;

Maximum number of simultaneous threads that will be used to execute a request, per rank, for this group.

pub const MAX_DATA: &str = “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.

pub const MAX_SCHEDULING_PRIORITY: &str = “max_scheduling_priority”;

Maximum priority of a scheduled task for this group.

pub const MAX_TIER_PRIORITY: &str = “max_tier_priority”;

Maximum priority of a tiered object for this group.

ranking

Constants for ranking.

pub const AFTER: &str = “after”;

Place this resource group after the one specified by adjoining_resource_group in the ordering.

pub const BEFORE: &str = “before”;

Place this resource group before the one specified by adjoining_resource_group in the ordering.

pub const FIRST: &str = “first”;

Make this resource group the new first one in the ordering.

pub const LAST: &str = “last”;

Make this resource group the new last one in the ordering.

tier_attributes

Constants for tier_attributes.

pub const MAX_MEMORY: &str = “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.