Resizing compute and storage in Timescale Cloud

Timescale Cloud allows you to resize compute (CPU/RAM) and storage independently at any time. This is extremely useful when users have a need to increase storage (for instance) but not compute. The Timescale Cloud console makes this very easy to do for any service.

Before you modify the compute or storage settings for a Cloud Service, please note the following limitations and when a change to these settings results in momentary downtime.

Storage: Storage changes are applied with no downtime, typically available within a few seconds. Other things to note about storage changes:

  • At the current time, storage can only be increased in size.
  • Storage size changes can only be made once every six (6) hours.
  • Storage can be modified in various increments between 10GB and 10TB.

Compute: Modifications to the compute size of your service (increases or decreases) can be applied at any time, however, please note the following:

  • There is momentary downtime while the compute settings are applied. In most cases, this downtime is less than 30 seconds.
  • Because this requires an interruption to your service, you should plan accordingly to have the settings applied at an appropriate service window.

View service operation details

To modify the compute or storage of your Service, first select the Service that you want to modify. This displays the service details, which list four tabs across the top: Overview, Operations, Metrics, and Logs. Select Operations.

Display the current service resources

Under the Operations tab, you can perform the same basic operations as before (Reset password, Pause service, Delete service). There is now a second, advanced section on the left labeled Resources. Selecting this option displays the current resource settings for the Service.

Modify service resources

When you have navigated to the current Service resources, you can modify either the compute (CPU/Memory) or disk size. When you change these settings, the current and new hourly charges are displayed immediately so that you can verify how the changes impact your costs.

Changes to disk size do not cause any downtime. However, the platform currently only supports increasing disk size (not decreasing it), and you can increase disk size once every six hours.

When you're satisfied with the changes, click Apply (storage resizes only) or Apply and Restart (when modifying compute resources).

Compute resources and disk size

You can use the Timescale Cloud console to change how much CPU and memory resources your service has available, as well as change the disk size for your service. You can adjust this manually as required, or for disk size you can use autoscaling.

Change resource allocations manually

When you change the disk size, the changes are applied with no downtime, and the new size generally becomes available within a few seconds. You can change the disk size once every six hours, and you can only increase the size, not decrease it. You can have a disk up to 16 TB in size.

You can change the CPU and memory allocation for your service at any time, with minimal downtime, usually less than thirty seconds. The new resources become available as soon as the service restarts. You can change the CPU and memory allocation up or down, as frequently as required.

warning

Changing your compute settings usually requires a short downtime. Make sure you plan for this before you begin!

Changing resource allocations manually

  1. In the Timescale Cloud console, from the Services list, click the name of the service you want to modify.
  2. In the Service details page, navigate to the Operations tab, and click Resources.
  3. In the Resize CPU / memory field, select the new CPU and memory allocation.
  4. In the Increase disk size field, adjust the slider to the new disk size.
  5. Review the new allocations and costs in the comparison chart.
  6. Click Apply to save your changes. If you have changed the CPU and memory allocation, your service goes down briefly while the changes are applied.

Configure autoscaling for disk size

Disk size autoscaling is enabled by default on most services. When you consume 95% or more of your existing disk space, disk size is automatically increased to the next size available, up to a configurable limit.

Autoscaling can change the disk size once every six hours. When the increase is requested, the new limit is applied, and then the used space is optimized. The optimization process does not require downtime, and in most cases it happens very quickly. However, if you have a lot of existing data, optimization can take longer, and in some cases this could create a delay longer than six hours.

Autoscaling can only increase disk size, not decrease it. You can have a disk up to 10 TB in size.

Configuring autoscaling for disk size

  1. In the Timescale Cloud console, from the Services list, click the name of the service you want to modify.
  2. In the Service overview page, navigate to the Operations tab, and click Autoscaling.
  3. Toggle Enable storage autoscaling to turn autoscaling on or off.
  4. In the Storage autoscaling limit field, adjust the slider to set the maximum disk size. Autoscaling can not increase the disk size higher than this limit.
  5. Review the new allocations and costs in the comparison chart.
  6. Click Apply to save your changes. The new disk size generally becomes available within a few seconds.

Found an issue on this page?

Report an issue!

Related Content