Number of Times the table has been accessed

Hi,
How to find the number of the times the table has been accessed or read ?
Regards,

You can do it with 9i
http://www.mpi-inf.mpg.de/departments/d5/teaching/ss05/is05/oracle/server.920/a96521/audit.htm
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com

Similar Messages

  • Last time the table has been accessed flag

    Is there any easier way to "log" when was the last time every table has been accessed than this ones:
    -Audit all on every table and just check sys.aud$ when was the last time the table has a session rec (action# = 103)
    -Place a trigger on every table to log the last access
    If you wonder why I need it is beacause I have around 200 tables, some of them quite heavy, and probably half of them are not being used anymore so I want to backup and delete those tables from the database.
    Thanks

    Easier than
    audit select on table <your_table> by access;and later query DBA_AUDIT_TRAIL?
    Don't think so.

  • Determine the number of times the document has been printed

    Hi all,
    I have a form here ( SAPSCRIPT), there is certain field to show how many times the document
    has been printed, i use NAST-ANZAL, but it seems to display no correct value.
    Am I using the riht field anyway? Or missing something?
    Thanks ,,
    AUD

    Hi,
    Check for the field NAST-VSTAT.
    IF NAST-VSTAT = '1' meaning that document  is printed.
    Refer below example from NAST entries.  4000010000 document is printed 4 times.
    OBJKY                          KSCHL SPRAS PARNR      PARVW USNAM        VSTAT
    4000010000                     ZSGI  E                      XXXXXXX                             1
    4000010000                     ZSGI  E                      XXXXXXX                             1
    4000010000                     ZSGI  E                      XXXXXXX                              1
    4000010000                     ZSGI  E                      XXXXXXX                             1
    Rgds,
    Arun

  • Does anyone know if there is a way for the number of time a song has been played on your iPhone/iPod be transferred to the songs on your iTunes number of plays?

    I mainly just use my iTunes for organizing and adding new songs. Most of the time I listen to my music on my iPhone. I wish it would keep track of how many times I play a song in my music and transfer it to the computer under the 'number of times played' column. It would help out so much! Does anyone know if there is a way for the number of time a song has been played on your iPhone/iPod be transferred to the songs on your iTunes number of plays?

    Hi @imobl,
    You sound like an Apple support guy who hasn't been able to answer my questions.
    To respond to some of the points you made,
    - I did not ignore Ocean20's suggestion. If you has read my post, you would have known that I took my phone to the apple service centre where they tried this restore on THEIR machines. I am assuming that Apple guys know how not to block iTunes. So I actually do not understand your point about me trying the hosts file changes on my machine. Do you not believe that apple tested this issue with the correct settings?
    - you also give a flawed logic of why the issue is a hardware issue. You mentioned that If I thought that the issue was with the software, i should try a restore and getting it to work. The problem is that my error (23), and many others comes up when the restore fails. And you would be astonished to know that not all errors are hardware errors. Sometimes even software errors prevent restores. Funnily enough Apple itself mention that 'in rare cases, error 23 could be hardware related'.
    - all Apple has done so far is replicate the issue. I don not know how anyone can conclude that the issue is a hardware issue.
    And by the way, I am not certain that this is a software bug. Again if you read my Posts, you will notice I only want a confirmation,/proof that the issue is hardware related as they mention..
    Please refrain do. Responding if there is nothing to add.

  • Number of times main memory has been unloaded in last 24 hours "0"

    Hello Experts,
    I am getting  error "BIA server is overloaded"  in RSDDBIAMON2 tcode.  
    Description is below:
    BIA server is overloaded
    Message no. RSD_TREX154
    Diagnosis
    The SAP NetWeaver BI Accelerator server is overloaded. Either there has recently been a forced unload of the BIA main memory, ort he total volume of loaded data exceeds the limit of 50% of the available main memory.
    Both these situations negatively impact the stability of the BIA server.
    Procedure
    You have two options:
    Decrease the volume of data in the BIA: Delete BIA indexes that you do not currently need or that you do not urgently require.
    Contact your BIA hardware partner and carry out a new sizing for the BIA hardware.
    Procedure for System Administration
    By default, this message only appears as a warning in processes that index large volumes of data in the BIA. You can use administration parameters to specify this warning as an error message as well. This causes all index processes to terminate if the error occurs.
    To do this, execute program RSDDTREX_ADMIN_MAINTAIN with parameters Object= DONT_IGNORE_BIA_OVERLOAD, Value = X, and INSERT/UPDATE = X.
    Diagnois says
    1) The total volume of loaded data exceeds the limit of 50% of the available main memory,I have already checked the disk used for storing the indexes  and it is not more than 50% of the BW Accelerator main memory.
    2)There has recently been a forced unload of the BIA main memory:  As per error details  Number of times main memory has been unloaded in last 24 hours: '0'  ie no unloaded had happened in last 24 hours.
    Please help me how i can solve this erro as there is not unload happened and also disk usage under control.
    Regards,
    Akshay

    hi,
    1) You can check the traces via the trex standalone tool trexadmin or transaction TREXADMIN. You must provide more details to get an analyze. Was there running a lot of process chains at this time? Have you checked the memory monitoring of the BWA blades?
    2) transaction TREXADMIN -> tab version..
    You can try going through SAP notes which help with high memory issues.
    Sometimes, the rfc server sometimes takes a lot of memory and doesn't free it afterwards.
    Thanks,
    Sheen

  • My computer struggles to log in. I have to shut it down each time the computer has been shut and asleep for a few hours. The first day it happened my desktop photo was reset.

    My computer struggles to log in. I have to shut it down each time the computer has been shut and asleep for a few hours. The first day it happened my desktop photo was reset.

    Have you tried a PRAM reset?
    http://support.apple.com/kb/HT1379
    Ciao.

  • How Do I Assess The Number Of Times A Page Has Been Hit?

    Can anyone identify the schema, table and field that when queried identify the number of times an individual page has been accessed?
    I want to create a 'hit counter'. Ideally the field would identify all accesses, not by IP address or username or any other denominator.

    portal30.wwlog_activity_logs
    Portal logs activity in two tables wwlog_activity_log1 and wwlog_activity_log2. It toggles between these two tables every week by default. The wwlog_activity_logs is a view connecting both of these tables.
    Be prepared to do some homework to figure out how to identify the actual page(s) you want to log. It's not clear cut and also be aware that you can't get down to the actual tab pressed within a page without some custom coding... and also, portal purges logged data every two weeks by default.

  • How do i count the number of times a cell has been referenced by other cells' formulae?

    Hello,
    I have a spreadsheet of recipes and ingredients that use checkboxes to let me know which recipes I can make based on the ingredients I have on-hand, using a formula like this one: =IF(AND('Spirits' :: A42,Mixers :: A18,Mixers :: A41,'Spirits' :: A25 ),Table 3 :: $A$2,Table 3 :: $A$3). If I've checked all of the boxes for ingredients that are required for any one of my recipes, the cell that the formula is in returns something like "YES"; otherwise, it returns a blank. It works well enough, but I'd like to include a cell next to each ingredient with a formula that will look through the hundreds of recipes, which all use a formula like the one above, and return a count of the number of times the ingredient's cell is referenced in those formulas. That way, I'll know which ingredients are the most commonly used in my eclectic collection of recipes. I thought something like =COUNTIF('Recipes' :: A2:A343, "=A2") would work, but it doesn't look at the cell references in the formulas, so no, it doesn't work. Any ideas? I'm using Numbers 2.3

    Hello
    There's no formula to inspect other formula in Numbers. So what you asked cannot be achived in such a way you described.
    A simple alternative method would be to build recipe-ingredient matrix as follows.
    E.g.
    Table definitions:
    Recipes
    A1    Recipe \ Ingredient
    A2    A
    A3    B
    A4    C
    A5    D
    A6    E
    A7    F
    A8    # recipes / ingredient
    B1    X1
    B2    TRUE
    B3    FALSE
    B4    TRUE
    B5    FALSE
    B6    TRUE
    B7    FALSE
    B8    =COUNTIF(B,TRUE)
    C1    X2
    C2    TRUE
    C3    TRUE
    C4    FALSE
    C5    TRUE
    C6    TRUE
    C7    TRUE
    C8    =COUNTIF(C,TRUE)
    D1    X3
    D2    FALSE
    D3    TRUE
    D4    FALSE
    D5    TRUE
    D6    FALSE
    D7    TRUE
    D8    =COUNTIF(D,TRUE)
    E1    X4
    E2    FALSE
    E3    FALSE
    E4    FALSE
    E5    FALSE
    E6    FALSE
    E7    TRUE
    E8    =COUNTIF(E,TRUE)
    F1    Y1
    F2    TRUE
    F3    FALSE
    F4    TRUE
    F5    TRUE
    F6    TRUE
    F7    FALSE
    F8    =COUNTIF(F,TRUE)
    G1    Y2
    G2    FALSE
    G3    TRUE
    G4    TRUE
    G5    FALSE
    G6    FALSE
    G7    TRUE
    G8    =COUNTIF(G,TRUE)
    H1    Y3
    H2    TRUE
    H3    TRUE
    H4    FALSE
    H5    TRUE
    H6    TRUE
    H7    FALSE
    H8    =COUNTIF(H,TRUE)
    I1    Y4
    I2    FALSE
    I3    FALSE
    I4    FALSE
    I5    FALSE
    I6    FALSE
    I7    TRUE
    I8    =COUNTIF(I,TRUE)
    J1    in-stock?
    J2    =SUMIF(B2:E2,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F2:I2,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B2:I2,TRUE)
    J3    =SUMIF(B3:E3,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F3:I3,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B3:I3,TRUE)
    J4    =SUMIF(B4:E4,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F4:I4,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B4:I4,TRUE)
    J5    =SUMIF(B5:E5,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F5:I5,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B5:I5,TRUE)
    J6    =SUMIF(B6:E6,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F6:I6,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B6:I6,TRUE)
    J7    =SUMIF(B7:E7,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F7:I7,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B7:I7,TRUE)
    J8   
    X
    A1    Ingredient
    A2    X1
    A3    X2
    A4    X3
    A5    X4
    B1    in-stock?
    B2    TRUE
    B3    TRUE
    B4    TRUE
    B5    FALSE
    C1    code
    C2    =IF(B2,1,0)
    C3    =IF(B3,1,0)
    C4    =IF(B4,1,0)
    C5    =IF(B5,1,0)
    Y
    A1    Ingredient
    A2    Y1
    A3    Y2
    A4    Y3
    A5    Y4
    B1    in-stock?
    B2    TRUE
    B3    FALSE
    B4    TRUE
    B5    FALSE
    C1    code
    C2    =IF(B2,1,0)
    C3    =IF(B3,1,0)
    C4    =IF(B4,1,0)
    C5    =IF(B5,1,0)
    In "Recipe" table, the first row is header row and the last row is footer row.
    Hope this may help,
    H

  • No of times the program has been executed in the last 6 months

    Hi,
    How to get the information on the number of times the 'z' programs has been executed and the users who executed them?
    Thank you,
    Chandra

    Hi Chandra ,
      I dont think this is stored.
    If the requirement is there then the program it self must have code to update a custom table with the details of when and who executed it , this table can later be accessed to get all the details.
    Regards
    Arun

  • Priority in queue based on the number of times the caller has called

    Hi,
    One of my customer has requirement to to prioritize the call from caller if the same caller has called thrice within 24 hours.
    UCCX version is 7.0. It is standalone.
    Please let me know if it can be achieved?
    Thanks,
    Vinay

    Hi
    Yes - I've done this on CCX7.0.
    I basically just queried the contactcalldetail table after validating the CLI is sensible for calls from the same number in the last few days.
    I added a new DSN to point at the CRA DB. You would need a Premium UCCX license.
    Aaron
    Please rate helpful posts..

  • Firefox vers 5, crashes continually. Plus, it doesn't hold my home page. Needs reset every time the app has been closed. So with each crash, another home page reset. How can these issues be corrected. I know how to set the Home Page in the Option tab.

    Closing Firefox 5.0 resets Home Page to /www.searchqu.com. I know how to set it in the options tab.Earlier versions never had this issue. Plus, I return after being away to find that a "crash error" apologizing for the inconvenience. How2 can this be corrected?

    See these posts:
    https://support.mozilla.com/en-US/questions/790833
    https://support.mozilla.com/en-US/questions/816181
    Check and tell if its working.

  • How many times a program has been run?

    Is there a transaction or table or something that tracks how many times a program has been run?   The number of times the program has been run plus using the programs' attributes for last changed would help me a lot.  We need this for an archiving study to determine of the client has set up the configuration correctly since they went live and have been executing the correct programs.  Thanks and mucho rewards if someone has an answer.  FYI - I have done a forum search and could find nothing on this topic.  I have looked at the tables TADIR and no help, as well as transaction STAT.

    I know ST03N transaction can be used extensively to determine how the programs were executed or even to know who all are using a particular transaction...
    I tried to find if we can find the number of executions of a program through this transaction, I could not find myself...
    try if you can find it through this tcode.
    Phani

  • Adding a counter that keeps track of the total number of times a loop has run, even if LabVIEW has been restarted.

    Hi all,
    I am writing a VI for measuring data and inserting it into a database. The measurements are controlled by a loop that runs once every minute. I want to give each measurement a unique id number and store this too in the database.
    To do this, I want to add a counter to this loop so that I can count the number of times the loop has executed in total. This is, even if the VI, LabVIEW or even th PC is restarted, I want the counter to keep track of the number of executions. If say, the loope executes two times and then the VI is stopped and restarted, I want the following number on the counter to be three.
    Does anyone have an idea about how to do this? I am gratefule for any help!
    Clara
    Message Edited by Clara G on 05-11-2010 08:21 AM
    Solved!
    Go to Solution.

    Not allowed to give away code but I can describe one of my "Totalizers" used to keep track of how much stuff has passed through a fliter so we know when to change it.
    THe Total izer is implemented as an Action Engine.
    It has three actions (methods)
    1) Init - Opens an ini file and reads the last values read and cahces these in shift registers. It also inits a timer so we now how long since the last file I/O.
    2) Update - Uses the data passed by the caller to update the totals. It also checks how long since the last save and if more than one minute it writes to the ini file (forced write).
    3) Read - returns the totals for display and evealuating if a an alarm should be triggered to change the filter.
    Note:
    THe pre-LV 8.6 version of the ini file exposed methods to allow writing to the file. The new ini functions do not expose that functionality and require closing the file.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Where is the Document Number of a Journal after the Journal has been deleted in GL?

    hi, guys,
    can anyone tell me where is the Document Number going after the journal has been deleted in GL? can it be reused by another journal? or it is killed and dead in database?
    thanks.
    Ejw

    They possibly still exist on the hard drive if you haven't overwritten that space already.
    Your only hope is to try a file recovery program like Data Rescue 3 or some sort like that.
    (note: the product linked to is an example of the suggested kind of software that may help you; it is not in any way my recommendation or endorsement of the product. I haven't used this product and can't comment on its effectiveness).

  • No Of times a workbook has been run

    How to get the statistics on Number of times a workbook has been run.
    Thanks
    Vinoth.

    Hello Vinoth
    Take a look at the table called EUl5_QPP_STATS. Providing the gathering of statistics has not been disabled (most administrators do not know how to do this) you can query this table.
    Here's some scripts that look back over a period of 18 months:
    SELECT
    QPP.QS_DOC_OWNER                 WORKBOOK_OWNER,
    QPP.QS_DOC_NAME                  WORKBOOK_NAME,
    QPP.QS_DOC_DETAILS               WORKSHEET_NAME,
    QPP.QS_CREATED_BY                RUN_BY,
    TRUNC(MAX(QPP.QS_CREATED_DATE))  LAST_USED_DATE,
    COUNT(QPP.QS_ID)                 TIMES_USED
    FROM
    EUL5_QPP_STATS QPP
    WHERE
    QPP.QS_CREATED_DATE >= ADD_MONTHS(SYSDATE, -18)
    GROUP BY
    QPP.QS_DOC_OWNER,
    QPP.QS_DOC_NAME,
    QPP.QS_CREATED_BY,
    QPP.QS_DOC_DETAILS
    ORDER BY 1,2,3;
    If you have set up a naming standard with your company, you can usually ignore any Workbook Name that begins with Workbook. These are the ad-hoc workbooks created on a one-off basis. To exclude these you can amend the query as follows:
    SELECT
    QPP.QS_DOC_OWNER WORKBOOK_OWNER,
    QPP.QS_DOC_NAME WORKBOOK_NAME,
    QPP.QS_DOC_DETAILS WORKSHEET_NAME,
    QPP.QS_CREATED_BY RUN_BY,
    TRUNC(MAX(QPP.QS_CREATED_DATE)) LAST_USED_DATE,
    COUNT(QPP.QS_ID) TIMES_USED
    FROM
    EUL5_QPP_STATS QPP
    WHERE
    QPP.QS_CREATED_DATE >= ADD_MONTHS(SYSDATE, -12)
    AND QPP.QS_DOC_NAME NOT LIKE 'Workbook%'
    GROUP BY
    QPP.QS_DOC_OWNER,
    QPP.QS_DOC_NAME,
    QPP.QS_CREATED_BY,
    QPP.QS_DOC_DETAILS
    ORDER BY 1,2,3;
    Note how in the above query I switched it to only query 12 months.
    You can also further amend the query to join it back to EUL5_DOCUMENTS to only report workbooks that currently exist as a saved workbook. Here is that query:
    SELECT
    QPP.QS_DOC_OWNER WORKBOOK_OWNER,
    QPP.QS_DOC_NAME WORKBOOK_NAME,
    QPP.QS_DOC_DETAILS WORKSHEET_NAME,
    QPP.QS_CREATED_BY RUN_BY,
    TRUNC(MAX(QPP.QS_CREATED_DATE)) LAST_USED_DATE,
    COUNT(QPP.QS_ID) TIMES_USED
    FROM
    EUL5_QPP_STATS QPP,
    EUL5_DOCUMENTS DOC
    WHERE
    QPP.QS_CREATED_DATE >= ADD_MONTHS(SYSDATE, -12)
    AND QPP.QS_DOC_NAME NOT LIKE 'Workbook%'
    AND DOC.DOC_NAME = QPP.QS_DOC_NAME
    GROUP BY
    QPP.QS_DOC_OWNER,
    QPP.QS_DOC_NAME,
    QPP.QS_CREATED_BY,
    QPP.QS_DOC_DETAILS
    ORDER BY 1,2,3;
    Hope this helps
    Michael

Maybe you are looking for

  • Vb 2010 data source configuration wizard and sql server 2012

    I am having a problem using the Data Source Configuration Wizard in vb 2010 express to connect to a remote SQL server database. The weird thing is that I can connect to it just fine if I manually dimension the sqlcommand, sqlconnection and set up the

  • Making JTable columns 2- n scrollable, not the first column, how?

    Id like for my JTable's first column to always be visible, and columns 2->n to be scrollable. The table also follows the sortable table model found from the swing examples...so if the user sorts any of the columns, all the other columns should sort a

  • Frequent screen freezes with os 10.8.3

    I am experiencing frequent screen freezes with OS 10.8.3 on my 27" iMac, Late 2009. Sometimes while using Safari, sometimes while using Photoshop CS5.1, Sketchup 8, or other software. Rarely does it coincide with a processor intensive operation. I ha

  • Linking my Palm TX to Palm desktop on my Windoews 8 laptop

    I have successfully loaded Palm Desktop on my Windows 8 laptop & based on the advice on your support page I am trying to link my Palm TX using Bluetooth. The laptop recognises the TX as a hand held PC and requests me to enter a password but the TX do

  • Downloading Sales BOM

    Hello SAP GURU, Currently I'm trying to download the Sales BOMs from R/3 to CRM however I'm facing a lot of difficulties.  I'm able to download the materials, however I'm not able to download the BOM (product relationship) itself.  The first thing I