Auditing Feature Of Oracle 10g

How do i choose to audit on particular tables or rather objects? i tried with the default settings which enable all actions on all database objects which creates a lot of unwanted audit data.
i tried the code:
alter system set audit_trail=DB scope=SPFILE;
this audits all actions on all objects which i dont want.
i also tried this:
noaudit insert,delete,select by sys2----this is the username that i use
even this does not limit audit data.

I had read the documentation related to auditing completely. Actually the problem was i had previously given the command:
audit all by sys2(username that i use)
so everything was being audited even after i disabled auditing completely and enabled again.
For a complete reset of auditing options,use the commmand:
delete from sys.audit$;
now do the following:
connect sys/manager as sysdba;
alter system set audit_trail=DB scope=SPFILE;
audit +<action>+ on +<tablename>+ by action;
perform audit only on selected objects and selected actions.
shutdown
startup
and you are ready to go.
Finely Grained Auditing not supported in XE i guess. Coz i searched alot and maybe this is what i concluded.
Just shared this in case it could be helpful to some one else.
Thank you.

Similar Messages

  • What are the new features of Oracle 10g over Oracle9i

    Hi Grus..
    i want to know what are the new features of oracle 10g over Oracle 9i as well oracle 11g over 10g.. can any one give me the detailed document.
    Because I'm struggling each and every time while the interviewer asked above question.
    It's very helpful for me if any one give me the detailed document regarding above question
    Thanks In Advance
    Arun
    Edited by: Arun on Oct 23, 2010 10:19 AM

    Hi,
    Just check below link..would be helpful..
    http://www.oracle.com/global/ap/openworld/ppt_download/database_manageability%2011g%20overview_230.pdf
    and
    Each release of Oracle has many differences, and Oracle 10g is a major re-write of the Oracle kernel from Oracle 9i. While there are several hundred new features and other differences between 9i and 10g, here are the major differences between Oracle9i and Oracle10g:
    Major changes to SQL optimizer internals
    Oracle Grid computing
    AWR and ASH tables incorporated into Oracle Performance Pack and Diagnostic Pack options
    Automated Session History (ASH) materializes the Oracle Wait Interface over time
    Data Pump replaces imp utility with impdp
    Automatic Database Diagnostic Monitor (ADDM)
    SQLTuning Advisor
    SQLAccess Advisor
    Rolling database upgrades (using Oracle10g RAC)
    dbms_scheduler package replaces dbms_job for scheduling
    and you need to refer oracle documentation for sql, plsql references where you will know particular enhancements made...
    thanks
    Prasanth
    Edited by: Onenessboy on Oct 23, 2010 10:22 AM

  • New features for oracle 10g DBA

    hi all,
    i want to download new features for oracle 10g dba in free, but i cant found it free.so if somebody know anylink which provide it free or if somebody have it.plz let me know.i need it on urgent basis.
    Ihsan DBA from Pak

    http://www.oracle.com/pls/db102/to_toc?pathname=server.102%2Fb14214%2Ftoc.htm&remark=portal+%28Getting+Started%29
    Could you not download from here?

  • Need help on fga audit feature in oracle

    Hi Guys,
    Can any one provide me the steps to implement fga audit feature. About how to add policy and enable it for one column. How and where(which table) to insert these record to audit further.
    Thanks in advance!
    Regards,
    KLR
    Edited by: kolipaka on Jan 10, 2013 4:55 PM
    Edited by: kolipaka on Jan 10, 2013 4:56 PM

    Google
    http://www.oracle-base.com/articles/10g/auditing-10gr2.php
    http://www.oracle.com/technetwork/database/security/index-083815.html
    http://www.toadworld.com/KNOWLEDGE/KnowledgeXpertforOracle/tabid/648/TopicID/FGAEX/Default.aspx

  • New features in Oracle 10g

    Hi,
    is someone able to say what new features will be included in Oracle 10g from Workspace Manager point of view? I've looked on http://otn.oracle.com/oramag/webcolumns/2003/techarticles/new_features_preview.pdf but there is nothing about OWM. Particularly I'm interested in:
    1. Possibility of historical data archiving and reloading - see topic Historic data in version enabled tables
    2. More sophisticated support for database export/import (there is possible to export/import full database only)
    3. Java API for OWM - see topic Java API for OWM?
    Thanks
    Ondrej

    1. Possibility of historical data archiving
    This is not available in 10G
    2. More sophisticated support for database export/import (there is possible to export/import full database only)
    Table level import//export is supported in 10G
    3. Java API for OWM
    No Java API support in 10G
    regards
    Arun

  • PL/SQL New Features for Oracle 10g

    Hi,
    If anybody asks what are the new features in PL/SQL for Oracle 10g version, what would be the answer?
    Thanks,
    Mrinmoy

    user3001930 wrote:
    Hi,
    If anybody asks what are the new features in PL/SQL for Oracle 10g version, what would be the answer?
    Thanks,
    MrinmoyI would say: Who cares about 10g features nowadays. And they I would tell them about the new 11g features (that I remember).

  • Partition option not enabled feature in oracle 10g

    Hi,
    I have installed Oracle 10g on Linux 32 bit.
    But when I am adding a table with Paritiion its showing Partition not enabled.
    How to enable the Partitioning option without dropping the database.
    Kindly any help will be needful for me

    Hi,
    Means I dont have to drop the existing database?
    If I do Custom installation to Add Partitiong option under which meanu Partition option will fall?
    Do i need to perform the following steps:
    If it is not enabled in the database then :
    - Shutdown all databases that use this ORACLE_HOME
    - Run the following
    $ cd $ORACLE_HOME/rdbms/lib
    $ make -f ins_rdbms.mk part_on
    $ make -f ins_rdbms.mk ioracle
    - Startup the database and check the value for partitioning option in the
    v$option view, it should be TRUE now

  • Oracle text in oracle 10g

    Hi friends,
    thinking about migration from oracle 9i to oracle 10g. We use Oracle Text indexes on text columns of some tables. Is there any advantage with oracle 10g intermedia? Which are the most significant changes?
    Thanks for answers.

    The following links describe the new Text features in Oracle 10g and 11g.
    http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/whatsnew.htm#i969790
    http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/whatsnew.htm#sthref6

  • Oracle 10g cd's

    please i want oracle 10g cd's
    if you can tell me send me to
    [email protected]

    Got these informations in OCP Oracle database 10g new features for administrators study guide :
    "In addition to the new installation features, the Oracle 10g installer includes many performance and management enhancements over 9i. Oracle 10g groups the products into separate CDs so that you need to use only one CD at a time. The following are some of the CDs that ship with
    Oracle 10g; all these are included in one DVD:
    Oracle Database 10g
    Oracle Database 10g Companion CD
    Oracle Database 10g Client
    Oracle Cluster Ready Services
    Oracle Database Documentation Library
    The installation completes in about 20 minutes and requires only one CD. The EM Webstage and Apache, which were installed with Oracle 9i, are no longer installed with the Oracle 10g database.
    Oracle 10g has a simplified software install and database creation; the disk requirement for software is now less."

  • Difference between oracle 8i and oracle 10g

    Hi,
    i need to know the difference between oracle 8i and oracle 10g. Also, to know the depreciated and delimited features in oracle 10g, as compared to oracle 8i.
    Earlier response is appreciated.

    Differences between 9i and 10g are detailed here: http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
    Differences between 9i and 8i are detailed here:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96531/toc.htm

  • How to disable RECYCLE BIN functionality on Oracle 10g R2

    Hi,
    I installed Oracle 10g R2 in windows 2003, then log in SQL * plus with sys as sysdba, try to use the following command to disable the RECYCLE BIN functionality which is new feature in Oracle 10g R2.
    SQL> alter system set "_RECYCLEBIN"=FALSE SCOPE=BOTH;
    I got the error: illegal option for ALTER SYSTEM
    What do I miss? any comments are appreciative.
    Grace

    SQL> alter system set recyclebin=off;
    System altered.
    SQL> alter system set recyclebin=on;
    System altered.
    SQL>Best regards
    Maxim

  • SQLLIB18.LIB in Oracle 10g

    Hello All,
    My application has oracle 7.3 as database.Now we want to migrate our database on Oracle 10g. Problem I am facing is there is a file SQLLIB18.LIB in oracle 7.3.
    I am not able to find it on oracle 10g client.Can anyone tell me which file in oracle 10g client is similar to or compatible to SQLLIB18.LIB of oracle 7.3.
    Any response will be highly appreciated.
    Thanks in advance.
    Ankur Bhardwaj

    The following links describe the new Text features in Oracle 10g and 11g.
    http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/whatsnew.htm#i969790
    http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/whatsnew.htm#sthref6

  • Using ASM in Oracle 10g

    Hi all,
    I'd like to learn using ASM (Automatic Storage Management) feature in Oracle 10g using a single PC. As far as I know, I need hardware of disk array.
    Is it possible to use ASM feature in Oracle 10g in a normal PC? or by using the normal IDE harddisk? or by using external USB hardisk? or by using any software emulator?
    I would highly appreciate any guideline.
    Thanks in advance.
    Ahmed B.

    You can find the for windows also on the same site. Below is the link:
    http://www.idevelopment.info/data/Oracle/DBA_tips/Automatic_Storage_Management/ASM_22.shtml

  • General formula in Oracle 10g

    Hi,
    I use Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod.
    I want to develop a way to deal with complex expressions using SQL. I can't use listagg, so I use xmlagg. I created a query, which runs within 8-15 secs. It returns 20000 rows. When I slightly modify the query (should run within 80-150 secs and return 200000 rows), it keeps running and running... Is it because I use XML functions (I don't really understand the way XML functions work, I only use it)? I put these two queries in question separated by lines. Any hints on how to improve the performance of the query wouldl be appreciated. Any hints on how to replace the complex replace expression in the query would be also great.
    Thanks,
    Gabor
    How to make it look like a code? How can I display the /[B/] (but without /) expression in the code?
    with dim_mut as (select 1 as mut_id, '([A]+)-([C]+[D])' as keplet from dual
    union select 2 as mut_id, '([A]+[B])*([C]+[D])' as keplet from dual
    ), dim_mut_komp as (
    select 1 as mut_id,1 as mut_komp_id,1 as mut_sorszam,'[A]' as mut_azonosito from dual
    union select 1,2,2,'[B]' from dual
    union select 1,3,3,'[C]' from dual
    union select 1,4,4,'[D]' from dual
    union select 2,5,1,'[A]' from dual
    union select 2,6,2,'[B]' from dual
    union select 2,7,3,'[C]' from dual
    union select 2,8,4,'[D]' from dual
    ), sp8 as (select 1 as mut_komp_id from dual
    union select 2 from dual
    union select 3 from dual
    union select 4 from dual
    union select 5 from dual
    union select 6 from dual
    union select 7 from dual
    union select 8 from dual),
    sp10 as (select 0 as sorszam from dual
    union select 1 from dual
    union select 2 from dual
    union select 3 from dual
    union select 4 from dual
    union select 5 from dual
    union select 6 from dual
    union select 7 from dual
    union select 8 from dual
    union select 9 from dual),
    dim_mut_value as
    select /*+ no_merge */s1.mut_komp_id,
    s2.sorszam+s3.sorszam*10+s4.sorszam*100+s5.sorszam*1000 as sorszam,
    ceil(dbms_random.value(1,100)) as ertek
    from sp8 s1,
    sp10 s2,
    sp10 s3,
    sp10 s4,
    sp10 s5
    select count(*) from (
    select
    replace(
    replace(
    replace(
    replace(
    keplet,
    substr(azonositok,1,instr(azonositok,';',1,1)-1),
    substr(ertekek,1,instr(ertekek,';',1,1)-1)
    substr(azonositok,instr(azonositok,';',1,1)+1,instr(azonositok,';',1,2)-instr(azonositok,';',1,1)-1),
    substr(ertekek,instr(ertekek,';',1,1)+1,instr(ertekek,';',1,2)-1-instr(ertekek,';',1,1))
    substr(azonositok,instr(azonositok,';',1,2)+1,instr(azonositok,';',1,3)-1-instr(azonositok,';',1,2)),
    substr(ertekek,instr(ertekek,';',1,2)+1,instr(ertekek,';',1,3)-1-instr(ertekek,';',1,2))
    substr(azonositok,instr(azonositok,';',1,3)+1,instr(azonositok,';',1,4)-1-instr(azonositok,';',1,3)),
    substr(ertekek,instr(ertekek,';',1,3)+1,instr(ertekek,';',1,4)-1-instr(ertekek,';',1,3))
    ) as kifejezes,
    substr(azonositok,1,instr(azonositok,';',1,1)-1) as azonosito1,
    substr(ertekek,1,instr(ertekek,';',1,1)-1) as ertek1
    substr(azonositok,instr(azonositok,';',1,1)+1,instr(azonositok,';',1,2)-instr(azonositok,';',1,1)-1) as azonosito2,
    substr(ertekek,instr(ertekek,';',1,1)+1,instr(ertekek,';',1,2)-1-instr(ertekek,';',1,1)) as ertek2
    substr(azonositok,instr(azonositok,';',1,2)+1,instr(azonositok,';',1,3)-1-instr(azonositok,';',1,2)) as azonosito3,
    substr(ertekek,instr(ertekek,';',2,1)+1,instr(ertekek,';',1,3)-1-instr(ertekek,';',1,2)) as ertek3
    substr(azonositok,instr(azonositok,';',1,3)+1,instr(azonositok,';',1,4)-1-instr(azonositok,';',1,3)) as azonosito4,
    substr(ertekek,instr(ertekek,';',1,3)+1,instr(ertekek,';',1,4)-1-instr(ertekek,';',1,3)) as ertek4,
    keplet,
    ertekek,
    azonositok,
    dbms_aw.eval_number(
    replace(
    replace(
    replace(
    replace(
    keplet,
    substr(azonositok,1,instr(azonositok,';',1,1)-1),
    substr(ertekek,1,instr(ertekek,';',1,1)-1)
    substr(azonositok,instr(azonositok,';',1,1)+1,instr(azonositok,';',1,2)-instr(azonositok,';',1,1)-1),
    substr(ertekek,instr(ertekek,';',1,1)+1,instr(ertekek,';',1,2)-1-instr(ertekek,';',1,1))
    substr(azonositok,instr(azonositok,';',1,2)+1,instr(azonositok,';',1,3)-1-instr(azonositok,';',1,2)),
    substr(ertekek,instr(ertekek,';',1,2)+1,instr(ertekek,';',1,3)-1-instr(ertekek,';',1,2))
    substr(azonositok,instr(azonositok,';',1,3)+1,instr(azonositok,';',1,4)-1-instr(azonositok,';',1,3)),
    substr(ertekek,instr(ertekek,';',1,3)+1,instr(ertekek,';',1,4)-1-instr(ertekek,';',1,3))
    ) as vegeredmeny
    from (
    select m.mut_id,
    mv.sorszam,
    xmlagg(xmlelement(e,mv.ertek||';') order by mk.mut_sorszam).extract('//text()') as ertekek,
    xmlagg(xmlelement(e,mk.mut_azonosito||';') order by mk.mut_sorszam).extract('//text()') as azonositok,
    m.keplet
    from dim_mut m,
    dim_mut_komp mk,
    dim_mut_value mv
    where m.mut_id=mk.mut_id and mk.mut_komp_id=mv.mut_komp_id
    group by m.mut_id,m.keplet, mv.sorszam
    with dim_mut as (select 1 as mut_id, '([A]+[B])-([C]+[D])' as keplet from dual
    union select 2 as mut_id, '([A]+[B])*([C]+[D])' as keplet from dual
    ), dim_mut_komp as (
    select 1 as mut_id,1 as mut_komp_id,1 as mut_sorszam,'[A]' as mut_azonosito from dual
    union select 1,2,2,'[B]' from dual
    union select 1,3,3,'[C]' from dual
    union select 1,4,4,'[D]' from dual
    union select 2,5,1,'[A]' from dual
    union select 2,6,2,'[B]' from dual
    union select 2,7,3,'[C]' from dual
    union select 2,8,4,'[D]' from dual
    ), sp8 as (select 1 as mut_komp_id from dual
    union select 2 from dual
    union select 3 from dual
    union select 4 from dual
    union select 5 from dual
    union select 6 from dual
    union select 7 from dual
    union select 8 from dual),
    sp10 as (select 0 as sorszam from dual
    union select 1 from dual
    union select 2 from dual
    union select 3 from dual
    union select 4 from dual
    union select 5 from dual
    union select 6 from dual
    union select 7 from dual
    union select 8 from dual
    union select 9 from dual),
    dim_mut_value as
    select /*+ no_merge */s1.mut_komp_id,
    s2.sorszam+s3.sorszam*10+s4.sorszam*100+s5.sorszam*1000+s6.sorszam*10000 as sorszam,
    ceil(dbms_random.value(1,100)) as ertek
    from sp8 s1,
    sp10 s2,
    sp10 s3,
    sp10 s4,
    sp10 s5,
    sp10 s6
    select count(*) from (
    select
    replace(
    replace(
    replace(
    replace(
    keplet,
    substr(azonositok,1,instr(azonositok,';',1,1)-1),
    substr(ertekek,1,instr(ertekek,';',1,1)-1)
    substr(azonositok,instr(azonositok,';',1,1)+1,instr(azonositok,';',1,2)-instr(azonositok,';',1,1)-1),
    substr(ertekek,instr(ertekek,';',1,1)+1,instr(ertekek,';',1,2)-1-instr(ertekek,';',1,1))
    substr(azonositok,instr(azonositok,';',1,2)+1,instr(azonositok,';',1,3)-1-instr(azonositok,';',1,2)),
    substr(ertekek,instr(ertekek,';',1,2)+1,instr(ertekek,';',1,3)-1-instr(ertekek,';',1,2))
    substr(azonositok,instr(azonositok,';',1,3)+1,instr(azonositok,';',1,4)-1-instr(azonositok,';',1,3)),
    substr(ertekek,instr(ertekek,';',1,3)+1,instr(ertekek,';',1,4)-1-instr(ertekek,';',1,3))
    ) as kifejezes,
    substr(azonositok,1,instr(azonositok,';',1,1)-1) as azonosito1,
    substr(ertekek,1,instr(ertekek,';',1,1)-1) as ertek1
    substr(azonositok,instr(azonositok,';',1,1)+1,instr(azonositok,';',1,2)-instr(azonositok,';',1,1)-1) as azonosito2,
    substr(ertekek,instr(ertekek,';',1,1)+1,instr(ertekek,';',1,2)-1-instr(ertekek,';',1,1)) as ertek2
    substr(azonositok,instr(azonositok,';',1,2)+1,instr(azonositok,';',1,3)-1-instr(azonositok,';',1,2)) as azonosito3,
    substr(ertekek,instr(ertekek,';',2,1)+1,instr(ertekek,';',1,3)-1-instr(ertekek,';',1,2)) as ertek3
    substr(azonositok,instr(azonositok,';',1,3)+1,instr(azonositok,';',1,4)-1-instr(azonositok,';',1,3)) as azonosito4,
    substr(ertekek,instr(ertekek,';',1,3)+1,instr(ertekek,';',1,4)-1-instr(ertekek,';',1,3)) as ertek4,
    keplet,
    ertekek,
    azonositok,
    dbms_aw.eval_number(
    replace(
    replace(
    replace(
    replace(
    keplet,
    substr(azonositok,1,instr(azonositok,';',1,1)-1),
    substr(ertekek,1,instr(ertekek,';',1,1)-1)
    substr(azonositok,instr(azonositok,';',1,1)+1,instr(azonositok,';',1,2)-instr(azonositok,';',1,1)-1),
    substr(ertekek,instr(ertekek,';',1,1)+1,instr(ertekek,';',1,2)-1-instr(ertekek,';',1,1))
    substr(azonositok,instr(azonositok,';',1,2)+1,instr(azonositok,';',1,3)-1-instr(azonositok,';',1,2)),
    substr(ertekek,instr(ertekek,';',1,2)+1,instr(ertekek,';',1,3)-1-instr(ertekek,';',1,2))
    substr(azonositok,instr(azonositok,';',1,3)+1,instr(azonositok,';',1,4)-1-instr(azonositok,';',1,3)),
    substr(ertekek,instr(ertekek,';',1,3)+1,instr(ertekek,';',1,4)-1-instr(ertekek,';',1,3))
    ) as vegeredmeny
    from (
    select m.mut_id,
    mv.sorszam,
    xmlagg(xmlelement(e,mv.ertek||';') order by mk.mut_sorszam).extract('//text()') as ertekek,
    xmlagg(xmlelement(e,mk.mut_azonosito||';') order by mk.mut_sorszam).extract('//text()') as azonositok,
    m.keplet
    from dim_mut m,
    dim_mut_komp mk,
    dim_mut_value mv
    where m.mut_id=mk.mut_id and mk.mut_komp_id=mv.mut_komp_id
    group by m.mut_id,m.keplet, mv.sorszam
    Edited by: BluShadow on 04-Oct-2012 09:12
    added {noformat}{noformat} tags for code readability. Please read: {message:id=9360002} to learn to do this yourself.

    The following links describe the new Text features in Oracle 10g and 11g.
    http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/whatsnew.htm#i969790
    http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/whatsnew.htm#sthref6

  • SQL Query (Oracle 10g)

    Hi All,
    Please find the following requirement.
    Requirement -
    There are 2 standalone database named database A and
    database B used by 2 separate application. Database A
    has schema S1 and Database B has schema S2.
    Schema S1 has around 40 master tables which get updated
    very frequently. This 40 tables are also present in S2
    also.
    We want the both the 40 tables to be in sync every
    hourly or half any hour.
    eg. If records are added/updated deleted in S1.emp then
    same should be done in S2.emp and visa versa also.
    We dont want to use dblink,materialised views or
    scripts. Is there any feature in Oracle 10G like
    replication or Streams where in this can be done.
    Incase if are not able to replicate both ways then at
    least one way can we replicate ? like any records are
    added/updated deleted in S1.emp then same should be done
    in S2.emp and similarly in the other 39 tables.
    Thank you
    Message was edited by:
    User71408

    Can anyone provide a SQl query to create a
    schema/user named 'test' with username as 'system'
    and password as 'manager'system user is created during database creation, it's internal Oracle admin user that shouldn't be used as schema holder.
    In Oracle database, Oracle user is schema holder there's no seperate schema name to be defined other than username.

Maybe you are looking for

  • How can I write to a ntfs formatted drive?

    I know there are some third party apps for a fee but this seems like a simple enough and popular request that Apple should address. Can you tell me if apple has a solution for this? I appreciate your help. Thanks, John

  • My Book Live Duo appears to have died. How do I determine what failed

    Drive is making a squealing noise. Seems to make a noise with or without the drives.I cannot access the drive over the network. I have attempted to reinstall the software and find the drive with the search utility. The indicator light starts blue and

  • Macbook pro retina battery problems

    so basically my macbook pro is only lasting 2 hours on battery, its supposed to last up to 7.  I only light work that dosent work the macbooks battery too hard, i use low brightness, and i dont have crazy stuff installed i keep it clean. I called app

  • Hiding .swf file

    Hi, If I try to use behaviour show and hide elements, all is OK except .swf files. No matter how, the file is still visible in Live wiew, in Firefox or IE. Only when I put it on the server, it works fine. see the problem: http://www.uciteljska.net/kv

  • Battery down after 15 mins.

    My kids (with help from M&D) just bought themselves each a used 14 in. iBook G4. The machines are exactly the same except for a slight difference in RAM and HD size. I installed the OS from the same 10.4 disc the night we bought them. My son was comp