Rediger

Del via


Scale storage performance

This article provides step-by-step instructions to perform scaling operations on the performance aspects of the storage attached to an Azure Database for PostgreSQL flexible server.

If your server uses Premium SSD disk, you can use a performance tier higher than the original baseline to meet higher demand. The provisioned disk size sets the baseline performance tier. For more information, see Performance tiers for managed disks.

If your server uses Premium SSD v2 disk, you can also adjust the IOPS and throughput of your disk independently. For more information, see Premium SSD v2 performance.

Steps to scale storage performance tier (Premium SSD)

Important

If you increase the performance tier of your disk, you can only decrease it to a lower tier 12 hours after the last increase. This restriction ensures stability and performance after any changes to your server's configuration.

Any attempt to decrease the performance tier within 12 hours of increasing it results in the following error:

Code: PerformanceTierCannotBeDowngradedBefore12HoursError
Message: Unable to downgrade storage tier: A higher tier was explicitly set on the server at <mm/dd/yyyy hh:mm:ss AM|PM +00:00>. Tier can only be downgraded after 12 hours

Using the Azure portal:

  1. Select your Azure Database for PostgreSQL flexible server.

  2. In the resource menu, select Compute + storage.

    Screenshot showing how to select the Compute + storage page.

  3. If you want to increase the performance tier of the disk allocated to your server, expand the Performance tier dropdown and select the tier that suits your needs. The smallest tier that you can assign to a disk depends on the allocated size of the disk. The smallest tier is the baseline performance tier of a disk of that size. If you increase the performance tier, you increase the maximum IOPS and throughput of the disk. To learn about the baseline performance tiers set for each size of a disk, and the tiers to which you can upgrade, see what Premium SSD disk performance tiers can be changed.

    Screenshot showing where to select a different storage performance tier for Premium SSD disks.

  4. Select Save.

    Screenshot showing the Save button enabled after changing performance tier for a Premium SSD disk.

  5. A notification shows that a deployment is in progress.

    Screenshot showing a deployment is in progress to scale the performance tier of a Premium SSD disk.

  6. When the scale process completes, a notification shows that the deployment succeeded.

    Screenshot showing that the deployment to scale the performance tier of the Premium SSD disk succeeded.

Steps to scale storage IOPS (Premium SSD v2)

Using the Azure portal:

  1. Select your Azure Database for PostgreSQL.

  2. In the resource menu, select Compute + storage.

    Screenshot showing how to select the Compute + storage page.

  3. If you want to change the IOPS assigned to the disk allocated to your server, type the desired value in the IOPS (operations/sec) text box. The range of IOPS that you can assign to a disk depends on the allocated size of the disk. For more information, see Premium SSD v2 - IOPS.

    Screenshot showing where to specify a different number of IOPS for Premium SSD v2 disks.

  4. Select Save.

    Screenshot showing the Save button enabled after changing IOPS for a Premium SSD v2 disk.

Important

The operation to change the IOPS assigned to Premium SSD v2 disks is always an online operation. It doesn't cause any downtime for your server.

  1. A notification shows that a deployment is in progress.

    Screenshot showing a deployment is in progress to scale the IOPS of a Premium SSD v2 disk.

  2. When the scale process completes, a notification shows that the deployment succeeded.

    Screenshot showing that the deployment to scale the IOPS of the Premium SSD v2 disk succeeded.

Steps to scale storage throughput (Premium SSD v2)

Using the Azure portal:

  1. Select your Azure Database for PostgreSQL flexible server.

  2. In the resource menu, select Compute + storage.

    Screenshot showing how to select the Compute + storage page.

  3. If you want to change the throughput assigned to the disk allocated to your server, type the desired value in the Throughput (MB/sec) text box. The range of throughput that you can assign to a disk depends on the size of the disk and the IOPS assigned. For more information, see Premium SSD v2 - Throughput.

    Screenshot showing where to specify a different number of throughput for Premium SSD v2 disks.

  4. Select Save.

    Screenshot showing the Save button enabled after changing throughput for a Premium SSD v2 disk.

Important

The operation to change the throughput assigned to Premium SSD v2 disks is always an online operation. It doesn't cause any downtime for your server.

  1. A notification shows that a deployment is in progress.

    Screenshot showing a deployment is in progress to scale the throughput of a Premium SSD v2 disk.

  2. When the scale process completes, a notification shows that the deployment succeeded.

    Screenshot showing that the deployment to scale the throughput of the Premium SSD v2 disk succeeded.