How to perform Bulk delete oe optimize delete operation

This forum contains ProfileStage posts and now focuses at newer versions Infosphere Information Analyzer.

Moderators: chulett, rschirm

Post Reply
om.ranjan
Participant
Posts: 13
Joined: Mon Jan 09, 2006 4:46 am

How to perform Bulk delete oe optimize delete operation

Post by om.ranjan »

Hi,

I have to delete million of record every quarter from a database (Purge operation), It will read from file and get unique ID record which need to be deleted from ORACLE database table.

in this regards
How to perform Bulk delete?

Thanks,
Ranjan
RANJAN
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No such thing if you have to provide selective keys. The best you can do is to find the optimum balance between array size and transaction size. The first will be a function of your row size; the second should be an integer multiple of the first.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

How about partitioning your database according to this key, then a delete operation could involve just removing one or more database partitions.
om.ranjan
Participant
Posts: 13
Joined: Mon Jan 09, 2006 4:46 am

Post by om.ranjan »

ArndW wrote:How about partitioning your database according to this key, then a delete operation could involve just removing one or more database partitions. ...
No partitioning has been used.

Thanks,
Ranjan
RANJAN
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Then it would makes sense to talk with your DBAs about enabling partitioning in order to make maintenance, such as this delete, a simple matter.
Post Reply