DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Retention Software

  1. #1
    Join Date
    Jan 2001
    Posts
    515
    Does anyone know of a software product that can be set up to log into the database and delete old records from the database on a regular schedule. For example, I want records deleted from table a,b, and c that are more then 90 days old. Or I want records deleted out of another database where col1 = ' y' and the record is more then a day old. Is there a software product that can do this automatically?

  2. #2
    Join Date
    Dec 2000
    Location
    Virginia, USA
    Posts
    455
    Why not use OEM and create a Job that fires the trigger ever day.

  3. #3
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    Why don't you write a plsql procedure and use the dbms_job package to schedule it. That would be the one way.

    The second is write a shell/batch sql script and schedule it using the crontab on unix and at on windows.

    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


  4. #4
    Join Date
    Aug 2001
    Posts
    134

    Please
    Write an example of dbms_job or steps for create and use of job in OEM.
    Jani

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width