Alternatively oracle with TRUNCATE DELETE

When a record is deleted in the table, under normal circumstances, the rollback (rollback segments) to store information that can be restored. If you do not COMMIT transaction,

ORACLE will restore the data to the state before deletion (precisely restored to the condition before the delete command)

When using TRUNCATE, rollback no longer store any information that can be restored. When the command is run, the data can not be restored, so few resources is called, the execution time will be very short.

 (  TRUNCATE only delete the whole table applies , TRUNCATE is DDL not DML)

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11124321.html
Recommended