Trouble using dbms_audit_mgmt to set OS_MAX_FILE_SIZE

Hello, I'm having some trouble trying to use dbms_audit_mgmt to set the OS_MAX_FILE_SIZE to 1gb. I copied the following from the oracle documentation but this statement keeps on erroring out. Any ideas why?

BEGIN
DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_PROPERTY(
       audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_OS,
       audit_trail_property  =>  DBMS_AUDIT_MGMT.OS_FILE_MAX_SIZE,
       audit_trail_property_value =>  102400 /* 1000MB*/ );
END;
/
themeeper1Asked:
Who is Participating?
 
schubachConnect With a Mentor Commented:
What error are you getting?  I don't know if you accidentally left out a zero in copying your code to this forum, or if it is related to your problem, but 102400kb is not 1000MB.  I think that you meant 1024000.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.