Creating Compute Profiles - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549

The CREATE COMPUTE PROFILE statement defines the resource policy for a set of compute cluster instances.

Only users granted CREATE COMPUTE PROFILE privilege can create a compute profile.

Example:

CREATE COMPUTE PROFILE ShippingCluster01_Resources
IN Research_Group, INSTANCE = TD_COMPUTE_SMALL
USING
MIN_COMPUTE_COUNT  ( 1 ) 
MAX_COMPUTE_COUNT  ( 2 ) 
SCALING_POLICY  ('STANDARD') 
INSTANCE_TYPE  ('STANDARD') 
INITIALLY_SUSPENDED  ('FALSE') 
START_TIME  ('') 
END_TIME  ('') 
COOLDOWN_PERIOD  ( 30 );

Parameters:

Parameter Description
COOLDOWN_PERIOD [Optional] Specifies how long in minutes the compute cluster continues to run after the end time so that queries can complete before the compute cluster hibernates.
MIN_COMPUTE_COUNT [Optional] Minimum number of expected active compute clusters in the compute group, an integer in the range [1, max_compute_count]. These compute clusters are primary.
See the values of min_compute_count and max_compute_count with this command:
SELECT * FROM DBC.COMPUTEGROUPSVX;

Default: 1

MAX_COMPUTE_COUNT [Optional] Maximum number of compute clusters in the compute group, an integer 1 or greater. These compute clusters are secondary—automatic scaling brings them up and down.

Default: 1

INITIALLY_SUSPENDED [Optional]
  • True: The compute cluster instances are initially hibernated until the user manually resumes the compute cluster:
    RESUME COMPUTE FOR compute_profile_name IN COMPUTE GROUP compute_group_name;
  • False: The compute cluster instances are not suspended. Run the SUSPEND command to suspend them:
    SUSPEND COMPUTE FOR compute_profile_name IN COMPUTE GROUP compute_group_name;

Default: False

INSTANCE
  • TD_COMPUTE_SMALL (default)
  • TD_COMPUTE_MEDIUM
  • TD_COMPUTE_LARGE
  • TD_COMPUTE_1X_LARGE
  • TD_COMPUTE_2X_LARGE
START_TIME and END_TIME [Optional] Start and End times can be specified for when the compute cluster is operational in crontab format.
SCALING_POLICY
  • STANDARD (default): Creates primary compute clusters and adds them to a compute group. Turns on automatic scaling if there are secondary compute clusters.
  • EXTENDED: Creates both primary and secondary compute clusters.

    Adds primary compute clusters to a compute group.

    Suspends secondary compute clusters to reduce compute cluster provisioning time during automatic scaling.

    Recommended for compute groups that scale up and down frequently and where elapsed time is important.