Database Administration (MOSC)

MOSC Banner

Who is cleaning out my .trc files?

edited Jan 9, 2019 1:12PM in Database Administration (MOSC) 3 commentsAnswered ✓

Oracle 12.1.0.2 SE-2 on Oracle Linux 6 and Windows 2012.

While investigating another issue (isn't that always the case?) I noticed that in $ORACLE_BASE/diag/rdbms/<orasid>/<orasid>/trace, the oldest .trc files only go back one month, give or take a day.  This is consistent across 12 databases on 6 servers.  The only exception is one very idle test database, where the oldest trc file is from Nov 20, 2018 - not quite 2 months old.

Missing these files isn't in itself a problem.  In fact I was considering putting in a script to do housekeeping.  But I was surprised to see that something seems to be doing the housekeeping already.  I have certainly not scheduled any jobs to delete old trace files.  Have I missed something like perhaps adrci being invoked by default somewhere in the database?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center