Friday, July 8, 2011

Remove old trace files or unnecessary files

As OS administrator, DBA should be check filesystem, clean up unnecessary and old trace files.
Below command will delete files older than 7 days.

find *.trc -mtime +7 -type f -local -exec rm  {} \;

No comments:

Post a Comment

Cannot access dba_directories inside procedure

 Recently I faced one of familiar Oracle error ORA -00942 : table or view does not exist   I got it in while compiling procedure, becaus...