Skip to navigationSkip to main contentSkip to footerScaleway DocsAsk our AI
Ask our AI

How to manage volumes

Before you start

To complete the actions presented below, you must have:

How to change the volume type

Important information

Since there are different types of volumes for Database Instances, make sure you are aware of the following information before changing the volume type:

  • When autobackup is enabled for your local or Block volumes, regular quota limitations for backups and snapshots do not apply. Refer to the Managed Databases FAQ page for more information.
  • When switching from a local volume to a Block volume, and if Autobackup is enabled, be aware that the snapshot type will change. Local volumes use logical backups, whereas Block Storage employs snapshots. Both types are priced at €0.03 per GB per month, but their distinct backup methods affect storage space differently, influencing the final monthly cost based on your usage.
  • Disk size cannot be reduced. Therefore, when switching from local to Block, the volume size remains the same by default.
  • When switching from a Block to a local volume, make sure to select a node with a local Storage with size equal or greater than your current Block Storage. If you choose a Database Instance type with a local volume larger than your current block volume, you will be billed for the full capacity of the Database Instance. It is possible to change your volume type anytime in the Scaleway console.
  1. Click PostgreSQL and MySQL under Databases on the side menu. A list of your Database Instances displays.

  2. Select the geographical region of the Instance you want to manage from the drop-down.

  3. Click the name of the Database Instance you want to edit. The database's Overview page displays.

  4. Scroll down to Volume settings, then click Change volume type.

    Important

    Before changing the volume type, make sure your Instance is in one of the following states:

    • READY (represented as "Running" in the Scaleway console)
    • DISK_FULL

    A pop-up appears.

  5. Select Block Storage from the drop-down menu.

  6. Click Update volume type to confirm.

    The Database Instance goes into the Initializing state and remains available during the process. The time it takes to complete the process may vary, depending on the size of the volume.

The volume changing process

During the process:

  • The Database Instance will display the initializing status, but remains available.
  • Changing the volume type can take a while, depending on the amount of data and the node type of the Database Instance. Data is synchronized between nodes in live, which means you can continue performing write operations.
    Tip
    • Avoid performing too many write operations during the data synchronization.
    • Delay batch or scheduled scripts if possible.
  • When all the data is synchronized, a switchover is performed between nodes of the cluster. This means that the database will be unavailable few dozen of seconds during at this time.

How to increase a Block Storage volume

  1. Click PostgreSQL and MySQL under Databases on the side menu. A list of your Database Instances displays.
  2. Select the geographical region of the Instance you want to manage from the drop-down.
  3. Click the name of the Database Instance you want to configure. The Database Instance overview page displays.
  4. Scroll down to Volume settings.
  5. Specify your volume capacity (in GB). The amount you define will be your new volume capacity.
    Important
    • You can increase your Block Storage volume to up to 10 TB.
    • Block volume sizes cannot be decreased.
  6. Click Increase volume size to confirm.
Still need help?

Create a support ticket
No Results