Generating a Node Count Estimate
Estimate the number of HeatWave nodes required to run a workload, which depends on the size of the tables and columns to be loaded, and the compression achieved in memory for this data.
When you start the service, database tables, on which HeatWave queries are run, have to be loaded to the HeatWave cluster memory. Under-provisioning the HeatWave cluster results in a data load or query execution failure due to space limitations. Over-provisioning the HeatWave cluster results in additional costs for unneeded resources. Based on the database tables you intend to load to memory, machine learning intelligently estimates the number of HeatWave nodes you require.
Using the Console
Use the Console to generate a node count estimate while adding a HeatWave cluster to a DB system, or any time later to adjust the number of nodes as the data increases or decreases in size.
- The data you intend to load into the HeatWave cluster present in the DB system.
- Optionally, log into your DB system and
run
ANALYZE TABLE
on tables you intend to load into the HeatWave cluster. Estimates should generally be valid without runningANALYZE TABLE
, but runningANALYZE TABLE
ensures that estimates are as accurate as possible.
Node Count Estimate Table Errors
While estimating node count, you may encounter table errors if certain conditions are not met.
Table 11-2 Node Count Estimate Table Errors
Table Error | Description |
---|---|
TOO MANY COLUMNS TO LOAD | The table has too many columns. The column limit is 1017. |
ALL COLUMNS MARKED AS NOT SECONDARY | There are no columns to load. All table columns are
defined as NOT SECONDARY .
|
CONTAINS VARLEN COLUMN WITH >65532 BYTES | A VARLEN column exceeds the 65532 byte
limit. See VARLEN Encoding.
|
ESTIMATION COULD NOT BE CALCULATED | The estimate could not be calculated. For example, a
table estimate may not be available if statistics for
VARLEN columns are unavailable.
|
UNABLE TO LOAD TABLE WITHOUT PRIMARY KEY | A table must be defined with a primary key before it can be loaded into HeatWave cluster. |