The WARM UP COMPUTE GROUP statement is used to warm up data in a compute group to improve query performance. The warming operation can either retrieve resources from another compute group or specify particular tables and partitions for warming. The warming operation returns a job ID that can be used to track the status of the warming job.
WARM UP COMPUTE GROUP <destination_compute_group_name> WITH COMPUTE GROUP <source_compute_group_name>; WARM UP COMPUTE GROUP <destination_compute_group_name> WITH <warm_up_list>; warm_up_list ::= warm_up_item [AND warm_up_item...]; warm_up_item ::= TABLE <table_name> [PARTITION <partition_name>];
destination_compute_group_name: The name of the destination compute group that is to be warmed up.
source_compute_group_name(Optional) The name of the source cluster from which resources will be warmed up.
warm_up_list: (Optional) A list of specific items to warm up, which can include tables and partitions.
table_name: The name of the table is used to warmup.
partition_name: The name of the partition is used to warmup.
WARM UP COMPUTE GROUP destination_group_name WITH COMPUTE GROUP source_group_name;
WARM UP COMPUTE GROUP destination_group WITH
TABLE sales_data
AND TABLE customer_info
AND TABLE orders PARTITION q1_2024;
WARM UP, COMPUTE GROUP, CACHE