Database Tuning (MOSC)

MOSC Banner

How do I remove workload capture files

in Database Tuning (MOSC) 5 commentsAnswered ✓

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.24.0.0.0

SUSE Linux Enterprise Server 15 SP6

When I do a DBMS_WORKLOAD_CAPTURE.START_CAPTURE the files go into a directory on the Linux server that I own and give oracle/dba permission to write to it. I am an application DBA, not oracle/dba. I can copy the cap and capfiles directories to another server but I can't remove them using rm -rf. They're owned by user oracle.

rm: cannot remove './capfiles/inst1/aa/wcr_80bsyh0000060.rec': Permission denied

I can't use sudo rm -f. I sudo into this account so I don't know the password.

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