otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Database Administration Database installation, creation, administration and related topics.

Tags: , , , , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old November 29th, 2007, 12:10
Junior Member
 
Join Date: May 2007
Posts: 19
Thanks: 1
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
miks is on a distinguished road
Re: Purging and Archiving

I have written my own purge package to purge data from the most heavily used tables. The main offenders of disk space are the i_transaction, i_transmission, i_log, i_log_detail, audit_trail and audit_data_info. I pass a parameter into the process to purge data that is beyond X days old. For the i_transaction and i_transmission tables, I null out the XML_BLOB field. The remaining tables, I delete the rows all together. The time frame for keeping data is up to your own preference. Some like to keep as long as 90 days, some like it as low as 21 days. I use the Oracle job scheduler to run the process once a week on the weekends. For very heavy usage, this can be run nightly.

I have found that purging the data is good for keeping storage requirements down. However, I haven't see any great benefit to improve on performance issues, particularly the areas you are seeing. Your problems have little to do with the large transaction type tables in need of purging.

Regardless, purging is still a necessary evil that you should have your DBA setup.

Hope this helps a bit.

- Mike
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Archive Schema is not populated during Purging prasad Database Administration 3 February 26th, 2008 16:44



All times are GMT. The time now is 20:58.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37