A_HASSAN
asked on
Purging OID logs "$ORACLE_HOME/ldap/log"
Dear Experts,
I have noticed that the oracle OID logs are increasing in "$ORACLE_HOME/ldap/log" I am think of copying /dev/null (using the Oracle user) as a cron job weekly to all log files in this location while the system is running, does that have any imapct?
I have noticed that the oracle OID logs are increasing in "$ORACLE_HOME/ldap/log" I am think of copying /dev/null (using the Oracle user) as a cron job weekly to all log files in this location while the system is running, does that have any imapct?
Impact upon performance, not materially. It's a good habit to establish your retention needs and to script for a "lean" file system. Personally, I would write the task using dbms_scheduler instead of cron. HTH
ASKER
I have really very poor knowledge in the dbms_scheduler, can you please guide me what the code should be in the dbms_scheduler?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes I have the oracle enterprise manager running, and I am using it to run the gather_shema_stats job daily, what will be the code to place to purge the LDAP logs?