Hi folks,
currently we're using the following commands in a script to get rid of old DB logs:
However ... I was wondering if this is the correct approach to this or if there's an official way using DB tools or DB settings to accomplish the same ...
Any ideas ?
Regards
Thomas
currently we're using the following commands in a script to get rid of old DB logs:
Code:
find /usr/oracle/DB/flash_recovery_area/DB/archivelog/ -name *.arc -mtime +2 -exec rm {} \;
su - oracle -c /usr/oracle/cleanlogs
However ... I was wondering if this is the correct approach to this or if there's an official way using DB tools or DB settings to accomplish the same ...
Any ideas ?
Regards
Thomas