13.3. Deleting a Custom Storage (axe.drop_storage) #

When you delete a custom storage, it is unregistered from the metadata catalog. However, the root storage directory and the Parquet files stored in it remain intact.

Before deleting a storage, delete all analytical tables and schemas it contains.

Required privileges: Superuser or the Postgres Pro AXE administrator.

For more information about access management, refer to Chapter 12.

Execute the following command on the Postgres Pro AXE server:

  SELECT axe.drop_storage('storage_name');

Where storage_name is the name of the storage that must be deleted.

Example 13.3. Deleting a Custom Storage

  SELECT axe.drop_storage('axe_storage');

FAQ