How do I know if SELECT stmnt was issued on a specific Table?

Hi,
I have a Reporting environment where the tables get populated by selective information from production database through batch scripts. These tables have become HUGE over time and the management wants to know if any user is using the table or else drop them. A USER will only issue a SELECT command and is not responsible for any INSERT/UPDATE/DELETE so querying the table DBA_TAB_MODIFICATIONS isn't of much help.
My question is: Is there a way to find out if any of the tables under concern had been queried (using SELECT) in the recent past???
Thanks in advance!
Arindam

Hello,
Best option is to use fine-grained auditing and once collected information you can drop that policy ; Using full fledged auditing will be an overkill.
GRANT SELECT ON dba_fga_audit_trail TO <username>;
grant exexute on dbms_fga to <username>;
declare
BEGIN
   DBMS_FGA.add_policy (object_schema => 'SCHEMA_NAME',
                        object_name => 'TABLE_NAME',
                        policy_name => 'TABLE_DML',
                        enable => TRUE,
                        statement_types => 'SELECT',
                        audit_trail => DBMS_FGA,
                        audit_column_opts => DBMS_FGA.any_columns
END;
/http://www.oracle-base.com/articles/10g/Auditing_10gR2.php#fine_grained_auditing
Regards

Similar Messages

  • I just rented a movie yesterday and went to transfer it from my pc to my ipad.  it says the movie has already been transfered to another device.  how do i know what device it was transferred to?

    I just rented a movie yesterday and went to transfer it from my pc to my ipad.  it says the movie has already been transfered to another device.  how do i know what device it was transferred to?

    Hello, I am having the same problem

  • HT201328 How do I know if my iPhone was unlocked after I did what was said

    How do I know if my iPhone was unlocked after I did what was said

    If you go the "your iPhone is now unlocked" message after restoring it, it's probably unlocked, but the only certain way to know is to try a SIM from a different carrier.
    Regards.

  • How can we know that size of dimension is more than fact table?

    how can we know that size of dimension is more than fact table?
    this was the question asked for me in interview

    Hi Reddy,
      This is common way finding the size of cube or dimensions or KF.
    Each keyfiure occupies 10 Bytes of memory
    Each Char occupies 6 Bytes of memory
    So in an Infocube the maximum number of fields are 256 out of which 233 keyfigure, 16 Dimesions and 6 special char.
    So The maximum capacity of a cube
    = 233(Key figure)10 + 16(Characteristics)6 + 6(Sp.Char)*6
    In general InfoCube size should not exceed 100 GB of data
    Hope it answer your question.
    Regards,
    Varun

  • How we will know that dimension size is more than the fact table size?

    how we will know that dimension size is more than the fact table size?

    Hi,
    Let us assume that we are going to take Division and distribution channel in a dimension and assume we have 20 distinct values for Division in R/3 and 30 Distinct values for Distribution channel .So Maximum, we can get 20 * 30 records in dimension table and we can take rough estimation of records in the cube by observing the raw data in source system.
    With rgds,
    Anil Kumar Sharma .P

  • How/can I use boe search 4 all reports that use specific tables

    How/can I use boe search 4 all reports that use specific tables
    can this be done with query builder
    or
    is there a way to search all sql of all reports for specific strings and report names so that I can find all report sql that uses table1  for example?

    Hi Bart!
    You can use VBScript to extract the dataprovider within the reports (Search for SDK Desktop Intelligence).
    If you can wait a few days longer, I can provide my script.
    ciao Hakan

  • How can I know when the laptop was last used?

    I left my laptop at the office, which is also my parents' house over the weekend. How can I know if someone else had used it while I was gone? Is there a log somewhere I can read or check?

    Console.app and check your browser(s) history. 

  • How can i know the number of lines in field-symbol internal table

    how can i know the number of lines in field-symbol internal table

    Hi,
    If your field symbol has been defined as an internal table :
    Use std describe as
    Data: l type i.
    describe <fs> lines l.
    'l' will contain the number of lines as needed.
    FYI
    The size of this storage area in a field symbols depends on the number of table lines which is not fixed, but determined dynamically at runtime.
    Regards,
    Amit

  • HT1212 I lost my itouch, how do I use "activation lock" feature? How do I know if my itouch was an ios7?

    I lost my Itouch and read that if it was an ios7, that I can activate a feature that will lock it. Im not talking about the basic features of "play sound" or "lost mode" that are under the "locate my iphone" feature in icloud. I read that there is another feature called "activation lock" that only ios7 can do that prevents the thief from selling it or reseting it to factory settings.  I have my serial number so how can I find out if my lost itouch was an ios7? Thanks!

    Only the 5G iPod can get iOS 7. iOS 7 was released in September of this year. Onyy you would know if you have a 5G iPod and if you updated it to iOS 7

  • How do you know if a Mac was stolen?

    I know this isn't the right place for this question but none of the other sections were suitable either.
    I'm considering buying a used MacBook Pro from Craigslist. Because some of the prices are so cheap though, I became suspicious. I figure... If someone is going to sell their MacBook Pro for a couple hundred, there must be a reason, right? My guess is that some of them must be stolen because by having a cheap price, they're bound to get rid of it quickly.
    Anyways, I just want to know if there's anyway of testing/checking to see if a Mac was stolen or not before purchasing it. Also, if there's a way of doing a quick diagnostics on it to make sure it's in good running condition.
    Thanks.

    I purchased a MBP around Christmas and while on my search I came across a few (3+) MBPs that were offered for sale at incredible deals. The general description was they were purchased as gifts to the seller and he didn't need them because he already had a computer. Somebody else went to check out one of these computers was able to discover that the seller purchased these computers with a solen credit card.
    My guess is that once the CC company reports the theft to Apple, the serial number associated with the machine will show up on their data base and if you needed to repair your unit, it would/could bring up the stolen flag.

  • BP_EVENT_RAISE : How do I know if the event was raised successfully ?

    Hi All,
    I need to start a process chain after an event Z_MYEVENT.
    In BI7
    1) For the pc Z_MYPC, the start process variant -> direct scheduling -> After Event -> specified the event Z_MYEVENT, parameter: blank
    2) In SM62 under BckProcEvts I created a background processing event Z_MYEVENT.
    3) Then created a function module that calls BP_EVENT_RAISE. When I run the fm I pass Z_MYEVENT as the Event Id parameter.
    The BP_EVENT_RAISE runs without any error. sy-subrc = 0 after execution.
    But my process chain wont start!! I can start it manually though.
    What could be wrong ? How do I make sure that the event was actually triggered or not ? my "Event History" tab in SM62 does not list any events - does this mean that the event was not at all raised ?
    any help would be appreciated.
    Thanks in advance,
    rithesh

    Hi,
    I did try triggering the event manually in SM64. But no luck!
    Now I did the following:
    Created another program ( Z_CHAIN_START)  that calls "RSPC_API_CHAIN_START" to start the process chain and this program does start the pc.
    Then I scheduled this program Z_CHAIN_START in sm37 to run after the event Z_MYEVENT.
    Now when I run the program that triggers the event it does work perfectly. PC gets started. That indicates the event is raised correctly.
    But somehow the PC does not get triggered directly when the event is raised. Any idea what could be wrong ?
    Thanks for all your replies.

  • How do i know if my iphone was reported stolen

    how can I find out if my I phone was reported stolen?

    There are various websites. Here is one;
    Online Stolen Property Database | Online Lost & Found Database | Stolen Lost & Found Online
    Also try contacting the carrier.

  • How do i know if my macbook was set up with 'find my mac' if i do not have the laptop?

    my macbook was stolen and i am not sure whether 'find my mac' was set up on it. i went to the apple store and had lessons multiple times that i had paid for - i was told by the police that this might have been set up for me, but i do not remember.
    thanks!

    It was not. You have to do that yourself.
    What To Do If Your iDevice Is Lost Or Stolen
    What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • How do I know if my iPhone was 32G or 64G with the serial number?

    My iPhone was broken (couldn't it turn on) and Apple gave me a new one which is 32G, but I remember the one I bought was 64G. Can I find out which model I bought by knowing the serial number? Thanks!

    Nowhere on line that I know of, no. It's possible that if you call Apple Support and give them the serial number of your original iPhone, Support could look up the configuration. Or you can look on the original receipt.
    Regards.

  • HT201328 How do i know the unlocking process was completed after following the above steps?

    I got my unlock code from AT&T just don't know if my phone is unlocked.

    There's no such thing as unlock code.
    What did you get from AT&T exactly?

Maybe you are looking for

  • Mini DisplayPort to Dual-Link DVI Adapter

    Hi, I am using the Apple Mini DisplayPort to Dual-Link DVI adapter to connect my 30" Apple Cinema Display (Aluminum) to my MacBook Pro 13" Retina, I am passing through the Belkin Thunderbolt Dock, so I connect the Dock to the MBP via the Thunderbolt

  • Error in invoking target 'agent nmo nmb emsubagent'

    I'm working on 10gR2 installation on HP-UX 11.23. Installer gives the following error: Error in invoking target 'agent nmo nmb emsubagent' of makefile '/opt/app/oracle/product/10.2.0/db_1/sysman/lib/ins_sysman.mk'. In the log file INFO: Calling Actio

  • I cant get my camera to work on safari or firefox

    everytime i try to get my camera on safari or firefox i cant click the option for permition.. but it wokrs on photoboot...

  • Date and Time adjustments for multiple photos

    Hello, thanks for providing the space for new users, and thanks in advance for your assistance. I am currently moving out of apple aperture/iphoto and across to lightroom 5. The OCD part of me likes to have my library organized, and I noticed that wh

  • 5800 browser problem

    While using ovi store mobile website,after the browser switches to fullscreen mode,when i try to comeback to normal mode,the options and back buttons disappear!! My firmware is v51 and it used happen in v50 too.i thought nokia would've solved this is