Skip to main content

SET DEFAULT STORAGE VAULT

Note:

Storage vaults are an engine storage abstraction. VeloDB Cloud provisions warehouse storage as part of the warehouse lifecycle. Confirm any custom vault operation with VeloDB Cloud support before using this SQL. These statements do not create a warehouse or change its managed deployment type.

Description​

This statement is used to set the default storage vault in the warehouse. The default storage vault is used to store data for internal or system tables. VeloDB Cloud provisions a valid storage configuration when creating the warehouse. Once a default storage vault is set, it cannot be removed.

Syntax​

SET <vault_name> AS DEFAULT STORAGE VAULT

Required parameters​

Parameter NameDescription
<vault_name>The name of the storage vault. This is the unique identifier of the vault you want to set as the default storage vault.

Usage notes​

  1. Only ADMIN users can set the default storage vault.

Examples​

  1. Set the storage vault named s3_vault as the default storage vault.

    SET s3_vault AS DEFAULT STORAGE VAULT;

Enter to send · Shift+Enter for a new line