Link to home
Start Free TrialLog in
Avatar of A_HASSAN
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?
Avatar of David VanZandt
David VanZandt
Flag of United States of America image

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
Avatar of A_HASSAN
A_HASSAN

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
Avatar of David VanZandt
David VanZandt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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?