Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Trouble using dbms_audit_mgmt to set OS_MAX_FILE_SIZE

Posted on 2013-01-10
1
437 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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to recover a database from a user managed backup

856 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