Skip to main content
VeloDB Cloud 26.x·Apache Doris 4.x (≤ 4.0 supported)·"Since X.Y" tags refer to Doris versionsversion mapping →

DROP STORAGE POLICY

Description

Delete a storage policy. For detailed descriptions of storage policies, please refer to the "Storage Policy" chapter.

Syntax

DROP STORAGE POLICY <policy_name>

Required Parameters

<policy_name>

The name of the storage policy

Permission Control

The user executing this SQL command must have at least the following permissions:

PrivilegeObjectNotes
ADMIN_PRIVGlobal

Example

  1. Delete a storage policy named policy1

    DROP STORAGE POLICY policy1