How to find insert,update on schema

Hi,
I want to monitor insert,update or delete perform onparticular schema of the database .
your early repsone is appriciated.
Thanks in advance.

user647572 wrote:
Thanks for your kind response .. it is very useful to me ...
sorry but i am using below query and
EXTENDED_TIMESTAMP as timestamp with timezone data type...
SELECT SQL_TEXT
FROM
DBA_COMMON_AUDIT_TRAIL
where EXTENDED_TIMESTAMP between to_date('20101016 10:30', 'yyyymmdd hh24:mi')
and to_date('20101016 11:00', 'yyyymmdd hh24:mi')
AND OBJECT_SCHEMA = 'JISPBILCORBILLINGPRD501'
AND UPPER(SQL_TEXT) LIKE UPPER('INSERT%')
it is taking more time to display result.
This is normal situation.Check sys.aud$ table,how much record contain this table?
You can delete old audit records as
DELETE FROM sys.aud$ WHERE timestamp# < SYSDATE -40;>
Please give me suggestion on it..

Similar Messages

  • How to find latest updated tables in current schema.

    Hi,
    I am in 3rd line support work, jobs(unix shell scripts) are running on daily at scheduled time.
    Regarding to my work, i need to found latest updated tables.
    How to find latest updated tables in current schema.
    please guide me.
    Thanks and Regards,
    Venkat.

    duplicate thread
    Answers on other thread: How to find latest updated tables in current schema.

  • Can following query be used to find inserted update records.

    hi,
    i am using query1) to insert data query2) to update the record
    query1)
    INSERT INTO [t1]
               ( id
                ,createddatetime
               ,updateddatetime)
         VALUES
               (1
               ,GETDATE()
               ,GETDATE()) 
    query2)
    update t1 set updatedatetime=getdate() where id=@t1
    please tel me will two date cols get same time , that is, will i be able to 
    write following to find inserted/updated rows
    if exists(select * from t1 where createddt1=updateddt2)
    begin 
    select 'inserted'
    end 
    else
    begin 
    select 'updated'
    end
    yours sincerely

    Depending on how you execute both the queries there's a small chance date value comparison may not wok as expected as datetime also has timepart until milliseconds precision. So if you want to retrieve details on records inserted and updated you may use
    something like below
    query 1
    DECLARE @dt datetime
    SET @dt = GETDATE()
    INSERT INTO [t1]
    ( id
    ,createddatetime
    ,updateddatetime)
    VALUES
    (1
    ,@dt
    ,@dt)
    query2
    DECLARE @dt datetime
    SET @dt = GETDATE()
    update t1 set updatedatetime=@dt where id=@t1
    then you can do below to get inserted updated detailsif exists(select * from t1 where createddt1=updateddt2)begin select 'inserted'end elsebegin select 'updated'end
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to find  latest updating row in a table

    Hi
    How to find latest updating row in a table

    ADF 7 wrote:
    SELECT *  FROM Table WHERE lastupdTimestamp = (SELECT MAX(lastupdTimestamp) FROM Table)lastupdtimestamp - holds and date an time of an records when it last updation takes place in table.
    lastupdtimestamp is a column in my table.And how will this make sense in the scenario I've described, where UserA does an update before UserB, but commits the update after UserB's commited update? And add UserC and UserD and a 1000 more users to this scenario where concurrent updates happen.
    What actual time does this lastupdtimestamp contain and represent? And why? How is that lastupdtimestamp used in business logic and processing? Or is it just a silly-bugger-let's-add-somekind-of-time column to that table that essentially meaningless?
    Not saying that one should never add such a timestamp based column. Simply that one needs to understand WHAT it contains and it needs to be SENSIBLY used within the data model.
    However, in my experience such columns are often slapped on afterwards, never featured in the actual data model designed, and is then used without a second though that the database and its data is a multi-user and multi-process system. And things happen at the same time. And things overlap (serialisation is the exception - not the rule).

  • As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 also how we can insert,update,delete records in list using ECMA script.

    As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
    Thanks and Regards, Rangnath Mali

    Hi,
    According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
    To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
    of the List object.
    To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
    failedCallback). 
    And to delete a list item, call the deleteObject() function on the object. 
    There is an MSDN article about the details steps of this topic, you can have a look at it.
    How to: Create, Update, and Delete List Items Using JavaScript
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How do we track how many records INSERT/UPDATE/DELETE per day

    Hi All,
    We have around 150 tables in database. so many members/persons can access these table and every one can have rights to do INSERT,DELETE,UPDATE the records. I wanted to know How many records are UPDATED,INSERTED,DELETED for a day. is it possible to find out.
    I have some questions please clarify the doubts.
    1> If we create any table, this table gets store in All_OBJECTS/USER_OBJECTS, tabs/tab/user_tables...... we can find out table name,columns what tables were created in database.
    2> if we enter records/ delete records / update records in a table. we can able to find corresponding table. Apart from corresponding table . is there any way to find out records.
    above i said that if i create any table it will store in objects table.

    Schedule a periodic DBMS_STATS.FLUSH_DATABASE_MONITORING_INFO and query USER_TAB_MODIFICATIONS. This view shows DML activity against each table and is updated when database monitoring info is flushed. The flush is automatic but if you need control over the frequency of updates, you can explicitly call the FLUSH.
    In 9i you have to "ALTER TABLE table_name MONITORING ;" before you can use this method.
    In 10g, this is enabled by default unless STATISTICS_LEVEL is set to BASIC.
    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_4465.htm#sthref2375
    and
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#ADMIN01508
    Another useful view is V$SEGMENT_STATISTICS (or the faster view V$SEGSTAT) which provides information in the same manner as in the V$SYSTAT / V$SESSTAT views.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • How to find Patch UPDATE in Oracle !!!

    Hi all,
    How to find whether particular version of ORACLE DATABASE server is updated with specific PATCH UPDATE in it ?. or is their any way ( do we any views which shows the patch which has been applied) after applying patches ??.
    Your response is highly appreciated
    Thanks
    Sravan

    Thanks Human Fly
    Actually what I meant was currently am in the process of applying patch
    "Oracle Critical Patch Update - October 2005 " multiple security vulnerabilities for a particular version of ORACLE DATABASE server. It should be fixed by applying this patch.
    So what I need to know is , is their any way to find whether this particular patch has been applied.
    Thanks
    Sravan

  • How to Find the Explicitly Created Schemas in the Database?

    Hi,
    I am Using Oracle 11g Database R1 on Windows 2003 Server R2 , My Doubt is How Can i find the list of Schemas are explicitly created in the Database , We can Query this Tables DBA_USER Or SYS.USER$ to find the List of Available Schemas ( But it shows all implicity + Explicitly Created Schemas), I need the exact list of Schema Which created explicitly in the Database is there any Data Dictionary Views is Available , Please Advice .....
    Thank You
    Shan

    But yes, you can get from below SQL :
    select a.username,a.created from dba_users a,v$database b
    where a.created > b.created;
    Means, users which created after creation of database date.

  • How to find invalid views across schemas

    I just started on a project that, well let's put it this way, has a messy database. It has multiple schemas and contains many views, synonyms and database links.
    I want to add a column to a table, but I want to make sure
    this doesn't invalidate any views somewhere in the database.
    Is there a way to check for invalid views across multiple schemas? Or better yet, how to find out beforehand what views in what schemas look at the table?
    Thanks,
    Tim

    To find out, where the table is used you can select:
    select owner,name,type
    from all_dependencies
    where referenced_owner = (select user from dual)
    and referenced_name = 'TABLENAME'
    and referenced_type = 'TABLE'
    It not only shows Views but also show�s if the table is used inside a trigger and so on.
    To find out, what objects are invalid:
    select owner, object_name, object_type
    from all_objects
    where status = 'INVALID';
    regards
    Anna

  • How to perform insert, update and delete in a table component

    hi all,
    i am using a table component in my page. I want to retreive data from multiple tables as well as perform insertion, updation and deletion operation.The changes should be affected in the corresponding tables. can anyone provide a solution for my problem.
    Thanks in advance
    regards,
    prasant

    There is a great tutorial for insert, update and delete records in a table.
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/inserts_updates_deletes.html
    Hope it helps.
    Thanks,
    Moumita

  • How to find newly updated rows in a table

    Hi..
    How to know newly updated rows in a table.
    Thanks in advance
    pal

    Or other good thing would be to add LAST_UPDATED column to your table, that can reflect the time the row gets updated.
    G

  • HOw to improve insert/update/select  for nested table.

    Hi All,
    I think this is my second thread for nested table.
    i just want to know what are the different ways available to improve the insert/update/select operation on Nested table.
    Thanks in advance.

    By not using a nested table for data storage in the first place...
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:8135488196597
    Perhaps Parallel Query/DML might give some relief.

  • How can perform insert /update /delete in one single mapping.

    Hi,
    I want to is there any logic by which we can create 2-3 pipeline in a mappings like pipelines will work for insert / update /delete or storing soem rejected data according to conditional flag.
    I tried it in a mapping but problem is that when target load order is like ins then upd then delete/reject . if new rec will come then control will pass through ins target . but if rec needs to update or delete then again control is going to ins target not update / delete target.
    We have already given the all conditional flags in filter after lookup and before target .
    all possibilities we checked but didnt got success.
    last option is separate the mappings for insert / update/delete.....etc.
    Is there any solution for this type of problem.
    reply plz if any body have solutions.
    ---Umesh

    Hi Umesh,
    I understand from your query that you want to load target with insert, update and delete rows after runnng the mappping...
    If you are looking for the same then you can use one of the Oracle fetures Oracle Streams: Change Data Capture.
    the Url is:
    http://www.oracle.com/technology/products/bi/db/10g/pdf/twp_cdc_cookbook_0206.pdf
    If any other help required do reply.
    Regards
    Tarang Jain

  • HT4623 how to find software update on my iphone 3?

    I'm trying to find software updates on my Iphone 3 in order to update my IOS can't seem to find the location.
    Thanks

    you don't have iOS 5...that's why you can't find it.

  • Qosmio G20 - How to find a update for the video card?

    hi i cant find the update for video card and when i run games he side to me your video card drivers are too old.update them.
    my laptop:(toshiba Qosmio G20)
    my vidoe card:(NVIDIA GeForce Go 6600)
    Operating System:(Microsoft Windows XP Professional)

    same problem when i go to nvidia i see new update but when i want to download it i cant there is problem and that apicture:
    <a href="http://img162.imageshack.us/i/18718370.jpg/" target="_blank"><img src="http://img162.imageshack.us/img162/9370/18718370.th.jpg" border="0" alt="Free Image Hosting at www.ImageShack.us" /></a><br /><br /><a href="http://img604.imageshack.us/content.php?page=blogpost&files=img162/9370/18718370.jpg" title="QuickPost"><img src="http://imageshack.us/img/butansn.png" alt="QuickPost" border="0"></a> Quickpost this image to Myspace, Digg, Facebook, and others!

Maybe you are looking for

  • Minimize All Open Windows

    Hello: I am using Photoshop CS2 on Win XP machine and was wondering if there was a keystroke to minimizing all open windows or can that be set up in custom keystrokes.

  • Query on Microsoft Windows 8.1 Pro Upgrade Licensing

    I am upgrading from Windows XP OEM to Windows 8.1 Upgrade paper license. Does these upgraded paper of  Windows 8.1 would still be valid if I discard OEM machine after 1-2 year? Or upgrade license would be legally invalid once actual machine will be d

  • Invoice Verification - Issue/ Documents Posted to Dummy PC ( Frieght Cost)

    HI friends, I was observed that Users are posting the freight for indirect PO directly to Freight GL, it goes to Dummy Profit Center. The actual process is Freight cost which is not captured in PO & is with Invoice has to enter in unplanned delivery

  • Disabling automount of 2nd local hd-partition?

    Hello! This question is regarding a MacBook Core Duo running Leopard (10.5.8) - not the G4 mentioned in sig-line. I have several partitions on my internal hard drive (currently 2 versions Mac OS and bootcamp for multi-boot purposes). For several reas

  • Form compile error solaris

    Created one Custom form in Windows NT it is working file I tried to compile solaris machine, at the time of compilation it is giving following errror FRM-18108 failed to load the following objects Source Module:APPSTAND Source Object: STANDARD_PC_AND