ALTER TIER Syntax
Parameters
<tier name>
<tier name>
Name of the storage tier to alter.
| Name | Description |
|---|---|
VRAM | Alter the VRAM tier. |
RAM | Alter the RAM tier. |
DISK[n] | Alter the specified disk tier. |
PERSIST | Alter the persist tier. |
COLD[n] | Alter the specified cold storage tier. |
WITH OPTIONS
WITH OPTIONS
Optional indicator that a comma-delimited list of
tier property name /
tier property value assignments will follow.| Property | Description |
|---|---|
capacity | Size, in bytes, of a rank in this tier; for RAM, disk, & persist tiers. |
high_watermark | High watermark eviction threshold for a rank in this tier; for VRAM, RAM, disk, & persist tiers. |
low_watermark | Low watermark eviction threshold for a rank in this tier; for VRAM, RAM, disk, & persist tiers. |
wait_timeout | Timeout, in seconds, for reading from or writing to this tier; for cold storage tiers. |
persist | Whether to save this change to the database configuration so that it will stay in effect after a database restart; default is true. |
rank | Specific rank in this tier to apply the change to; default is to apply the change to all ranks in the tier. |
Examples
To alter the capacity of the RAM tier on rank 0 to 500MB temporarily (until the database is restarted):ALTER TIER Capacity on a Rank Temporarily Example
SHOW Tier Capacity on a Rank Example
Tier Capacity on a Rank Output
ALTER TIER Eviction Thresholds Permanently Example
SHOW Tier Eviction Thresholds Example
Tier Eviction Thresholds Output