Skip to main content
SET DEFAULT STORAGE VOLUME sets a storage volume as the default storage volume. After creating a storage volume for an external data source, you can set it as the default storage volume of your cluster. This feature is supported from v3.1.
CAUTION
  • Only users with the ALTER privilege on a specific storage volume can perform this operation.
  • The default storage volume cannot be dropped or disabled.
  • You must set the default storage volume for a shared-data cluster because the database stores the system statistics information in the default storage volume.

Syntax

Parameters

Examples

Example 1: Set the storage volume my_s3_volume as the default storage volume.

Relevant SQL statements