All Products
Search
Document Center

MaxCompute:Purge

Last Updated:Mar 25, 2026

PURGE permanently deletes backup data from a table or all tables in the current project. Deleted backup data cannot be restored.

Warning

PURGE is irreversible. Once deleted, backup data cannot be recovered by any means. Run SHOW HISTORY FOR TABLES first to confirm which backup versions will be affected.

Syntax

Delete backup data from a single table

purge table <table_name>;
ParameterDescription
table_nameThe name of the table whose backup data you want to delete.

Delete backup data from all tables in the current project

purge all;

Deletes backup data from every table in the current project.

What's next