Solved

Trouble using dbms_audit_mgmt to set OS_MAX_FILE_SIZE

Posted on 2013-01-10
1
433 Views
Last Modified: 2013-01-10
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;
/
0
Comment
Question by:themeeper1
1 Comment
 
LVL 4

Accepted Solution

by:
schubach earned 500 total points
ID: 38763802
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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious sideā€¦
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now