How Do I Delete Table Data Efficiently?

Yes. TRUNCATE is more efficient than DELETE for deleting massive data.

For details, see "TRUNCATE" in the Data Warehouse Service (DWS) Developer Guide.

Function

TRUNCATE quickly removes all rows from a table. It has the same effect as an unqualified DELETE but since it does not actually scan the table it is faster. This is most effective on large tables.

Functions

Examples