Unix Technical Forum

RE: Massive Delete

This is a discussion on RE: Massive Delete within the Informix forums, part of the Database Server Software category; --> Can you use HPL to unload the rows you want to keep, drop/recreate the table and then use HPL ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 01:08 PM
Ford, Andrew G
 
Posts: n/a
Default RE: Massive Delete

Can you use HPL to unload the rows you want to keep, drop/recreate the
table and then use HPL to reload only the desired rows?

Of course this won't work if you need the table available 24/7.

If this won't work for you, get Art Kagel's dbdelete from the iiug
software repository, it does a nice job of deleting a large # of rows
quickly without causing long transactions.

Andrew Ford
x32368



-----Original Message-----
From: informix-list-bounces@iiug.org
[mailto:informix-list-bounces@iiug.org] On Behalf Of Tam OShanter
Sent: Tuesday, September 26, 2006 2:15 PM
To: informix-list@iiug.org
Subject: Massive Delete


Hello Again Friends,
Thanks for the help you've provided me so far.

So...
Here are some stats on a table I have:

total record count 20,454,537.00
total record count to be moved to DW and deleted 11,000,921.00

row size of 413 bytes.

How do I go about deleting this data without rendering my server
unusable?

I saw a suggestion of deleting records in 500 record batches, but that
is a
helluva lot of batches to get done what I want.

Any other ideas?

Thanks in advance for the advice.

Tam.


_______________________________________________
Informix-list mailing list
Informix-list@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:31 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com