My Oracle Support Banner

How to delete 'millions of rows' without creating rollback (Doc ID 117954.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version 9.2.0.8 and later
Information in this document applies to any platform.
***Checked for relevance on 23-Dec-2013***

Purpose

Demostrate how to delete or purge from a table with millions of rows very fast without generating undo or redo. e.g. all changes will be generated in your rollback segment. So it can be, that one 'delete' - this means one transaction! - cannot be hold in your rollback segment. The result is a broken job and ORACLE feedback in an ORA error message.  To resolve this, a small PL/SQL procedure with dynamic SQL is generated.

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.