SET DEFAULT STORAGE VAULT
Description
This statement is used to set the default storage vault in Doris. The default storage vault is used to store data for internal or system tables. If the default storage vault is not set, Doris will not be able to operate normally. Once a default storage vault is set, it cannot be removed.
Syntax
SET <vault_name> DEFAULT STORAGE VAULT
Required Parameters
Parameter Name | Description |
---|---|
<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:
- Only ADMIN users can set the default storage vault.
Examples
-
Set the storage vault named s3_vault as the default storage vault.
SET s3_vault AS DEFAULT STORAGE VAULT;