How to check the query hits?

Hi all

We got an apps that queries a table EMP, using select * from EMP where fname like '% SCOTT %' and Lname like '% TIGER % ';


How to list all the success encountered by the query in the day? It is available in the flashback query or archived newspapers or the anywere in the database?


Thank you very much
Kinz

>
What is FGA-difficulty world area?
>
Fine grain auditing
http://www.Oracle.com/technetwork/database/security/index-083815.html

http://www.Oracle-base.com/articles/10G/auditing-10gR2.php

http://www.Oracle-base.com/articles/11g/auditing-enhancements-11gr2.php

Tags: Database

Similar Questions

  • How to check the size of the tablespace by query?

    How to check the size of the tablespace by query?

    Run this query...

    SELECT
    A.tablespace_name 'space ',.
    A.bytes / (1024 * 1024) "Total_Size (MB).
    Sum (B.bytes) / (1024 * 1024) "free_space (MB).
    NVL (Round (Sum (B.bytes) * 100 / A.bytes), 1) "%Free."
    Round ((A.bytes - SUM (B.bytes)) * 100/A.bytes) '% Used_Space '.
    FROM dba_free_space B,.
    (SELECT tablespace_name, SUM (bytes) bytes
    FROM dba_data_files
    A GROUP BY nom_tablespace)
    WHERE B.tablespace_name (+) = A.tablespace_name
    GROUP OF A.tablespace_name, A.bytes
    UNION ALL
    SELECT
    A.tablespace_name 'space ',.
    B.bytes / (1024 * 1024) "Total_Size (MB).
    Sum (A.bytes_free) / (1024 * 1024) "free_space (MB).
    NVL (Round ((Sum (B.bytes) - A.bytes_used) * 100 / B.bytes), 1) "%Free."
    Round ((Sum (B.bytes) - A.bytes_free) * 100 / B.bytes) '% Used_Space '.
    FROM dba_temp_files B,.
    (SELECT tablespace_name, bytes_free, bytes_used
    V $ temp_space_header
    GROUP BY tablespace_name, bytes_free, bytes_used) has
    WHERE B.tablespace_name (+) = A.tablespace_name
    GROUP OF A.tablespace_name, B.bytes, A.bytes_free, A.bytes_used
    ORDER BY DESC 4;

  • How to check the plan and statistics of queries written in block PLSQL

    Hi all

    I have a production database (11.2.0.3.0) on which I will only select access on the tables and sign in plsql from another schema. I do not have access to the file system, I can connect only with sqlplus.

    I have a procedure which is having 2-3 requests each have the array of objects used in type from clause. I want to check the plan and the stats of these queries. Can you help me please?

    Thanks and greetings

    Alexander gelin

    Alexandre Gelin says:

    Thanks Karthick_Arp. I use the same method until now, but it's tricky. I don't know how to get the query statistics.

    You can define STATISTICS_LEVEL = ALL at the level of the session

    ALTER session set statistics_level = all;

    You can then run your package

    And then

    Select * from table (dbms_xplan.display_cursor (SQL_ID, null, 'ALLSTATS LAST'));

    This you will get estimated and actual statistics with buffer and reading.

  • How to check the locks in the database

    Hello

    oracleDatabase version: 11 GR 2
    OS: Solaris

    How to check the locks on database objects .it can be any lock?
    None Select sql query to check the levlel of objects of database locks? what basis locks occur?

    Please explain on the locks or share notes MOS?

    Rgds,
    Sam.

    Check below sql.

    Select s1.username. '@' || S1.machine
    || ' (SID =' | s1.sid | block him ') '
    || S2. UserName | '@' || S2.machine | ' (SID =' | s2.sid |) ') ' AS blocking_status
    v $ lock l1, v$ session s1, v$ lock l2, s2 of v$ session
    where s1.sid = l1.sid and s2.sid = l2.sid
    and l1. BLOCK = 1 and l2.request > 0
    and l1.id1 = l2.id1
    and l2.id2 = l2.id2;

    http://psoug.org/snippet/locks-view-locked-Objects_866.htm
    http://www.DBA-Oracle.com/t_locked_rows_user_locks.htm

  • How to check the table (null / not null) on the screen?

    Hello all :)


    I am beginner in JDEV

    I have problem with table.
    When you view the table, I want to know if the existing data in the table are empty or not (check the query zero / non-zero)? How to do

    someone help me... :))

    THX
    agungdmt

    Hello

    If you use ADF BC, access the iterator and call getEstimatedRowCound

    Table richeTableau = get JSF component binding to table

    TableBinding JUCtrlHierBinding = (JUCtrlHierBinding) (table.getValue ()) .getWrappedData ((CollectionModel));
    DCIteratorBinding iter = tableBinding.getIteratorBinding ();

    int count = iter.getEstimatedRowCount ();

    You can do the same thing in EL

    #{bindings.iteratorName.estimatedRowCount > 0}--> true if given

    Frank

  • How to check the space on the asm and raw device?

    Hi all

    I want to know how to check the space on the device of the DSO.
    We use a feature of the asm, which is on a raw partition.
    Our archive is full. I need to check the space on asm archve partiotion.
    How can I check the destination space archive?
    We are using partition raw device for crs and voting system.
    How can we check the space on the raw device and how do know us which device is currently in use and are not in service

    Thanks in advance

    4 - 5 raw partitions...
    What version of oracle?
    Install the OCR + VOTE in gross unit better than OCFS2. If you use 10g to 11 GR 1 material.

    If use 11 GR 2, take the OCR + VOTE in ASM disk group.

    You can check what raw OCR device:
    $ ocrcheck

    VOTEDISK:
    $ crsctl query css votedisk

    On 10g if using the raw device for OCR + votedisk: recommend 1 file = 250M
    11g recommend 1 file = 512M

    Good luck

  • How to check the status of FNDSM

    Hello

    How to check the TM FNDSMListenerStatus, I know that we can use the APPS_sid is the MT listener, y at - it another way to check the status of the FNDSM listener,.

    Thank you

    Hello

    OS, you can use tnsping to check the status of auditor of th.

    Of the database, run the following query and make sure that it returns something:

    SQL> select CONCURRENT_QUEUE_NAME
    from FND_CONCURRENT_QUEUES
    where CONCURRENT_QUEUE_NAME like 'FNDSM%';
    

    You can also check:

    Note: 735148.1 - Troubleshooting problem competitor Manager Start Up associated with Service Manager
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=735148.1

    Kind regards
    Hussein

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?

    https://checkcoverage.Apple.com/Jo/en/;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

  • How to check the balance on the gift card itunes

    How to check the balance on the gift card itunes

    Redeem it

  • Satellite A200 - how to check the temperature of the processor fan?

    Hi all

    I have a Satellite A200 that my teenagers use a little, or abuse a little! Recently, it would not start up. I suspect the fan and pulled out the fan cleaned and tested the fan on a PSU, worked out well. He put it back together, ran startup repair and now the computer is operating normally. The fan is however not appear to come at all. In the Device Manager it tells me it works very well. I'm all good with the mechanical side of the House, but I'm a quamby operating system! How to check the temp CPU or fan?

    Thought that replace the fan but don't want to go that far just to get no results. Currently using the vacuum on low like an external fan and didn't want to just run the laptop with no cooling for fear of permanent damage. Although children watch movies with her on their doona may have already reached this!

    Any advice would be appreciated.

    Hey mate,

    How to clean the fan exactly? It s advisable to use the jet of compressed air. This could blow the dust of fans cooling and, therefore, it of not necessary to disassemble the laptop.

    In addition if the fan doesn't work anymore it of necessary to replace. You can order spare parts at an authorized service provider.

  • How to check the print queue in Windows 8

    Difficulty controlling the queue with your new Windows 8? Here's a great video on how to do it:

    Hope this helps to understand how to check the print queue in Windows 8. If you have problems, let me know, I'll see what I can do to help.

  • HP Photosmart 7525: How to check the version of the firmware of the HP PhotoSmart 7525 is up-to-date?

    How to check the version of the firmware of the HP Photosmart 7525 is up-to-date? And where can I go to download the latest firmware?

    Hello

    Follow these steps to check the update of firmware for your printer:

    http://support.HP.com/us-en/product/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5286642/document/c03312867/

    Note: the printer must be connected to your network to check the updates, if it is connected with a USB key follow the steps in the tehse to connect the * beep * to your wireless network:

    1. In the wireless menu, tap Settings.

  • How to check the size of the file to a text file.

    How to check the size of the file to a text file.

    Please explain to me.

    I'm new in LabVIEW. and have no idea about that...;

    Hi prashant,

    go to the file e/s palette and then the advanced palette which is a search palletteand sub getfilesize.vi... but this function gives the result in bytes...

    Thank you and best regards,

    srikrishnaNF

  • HP G42 notebook: how to check the heat sensor

    my laptop fire but there is no system message...

    and performance down... could be heat sensor not properly detect...

    How to check the heat sensor...

    my laptop G-42-355tu

  • How to check the use of the ram?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    Yes, Yes... and no. All applications on your computer uses RAM, not only the pagefile or system (kernel).

    What are you really trying to do?

    See http://www.petri.co.il/pagefile_optimization.htm , especially the part under "How Pagefile your system use?"

Maybe you are looking for

  • Cables HDMI Apple work - others do not?

    After struggling for several days, trying to use a new Air 2 with an adapter of lightning AV HDMI Out WITHOUT success, I joined the forum to get answers. Of course, I tried two HDMI cables different and two tv sets different. Of course, I replaced th

  • system is not able to run the Apple Application Support service

    I can't install itunes on windows 7 32 bit. Any suggestions on Apple Support do not work. The system is not able to run the Apple Application Support service. Any suggestiones?

  • Z600: computer does not start after the installation of the 5 TB SATA drive

    My z600 refurbished does not start after the installation of a SATA of Toshiba 5 to disk.  After removing the drive, the computer starts.  I have my computer too old to handle a 5 TB drive, I something wrong or is the DOA drive?

  • Incorrect detection of type Macbook

    My Macbook pro is detected as a 'Macbook Air' (got "about this Mac" in the menu system). This has an impact on performance, stability, reliability, drivers, etc.. ? How to solve this problem? OS: 10.10.5

  • How to empty a mailbox

    original title: mailbox capacity How can I change the mailbox is not the ability