Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to delete these old flooded audit files?

BingLiuMar 15 2013 — edited Mar 18 2013
we have ORACLE database 11.1, Solaris 10.10, database audit is turned on, there are flooded amount of *.aud files under adump directory, we need keep them for 30 days, then delete them.

but the problem is use this command "find . -name "*.aud" -mtime 30 -print -exec rm -f {} \; " does not work, because too many files (100 per minute).


adump> ls -l |wc -l
2877939

rm *.aud
-bash: /usr/bin/rm: Arg list too long




any idea or command I can use to purge these old files?


Thanks,
This post has been answered by jgarry on Mar 15 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 15 2013
Added on Mar 15 2013
21 comments
34,966 views