Need count of tables

Hi Friend ..
we are connecting through a db link to another prod database which is 10g and running golden gate to extract some data . I need to take the count of a few tables which are either update or inserts from their main schema in a day .
Can you please help me how to get the count of updates/inserts on a table in  a day without affecting the performance of that database .
Regards,
DBApps

985871 wrote:
Hi Friend ..
we are connecting through a db link to another prod database which is 10g and running golden gate to extract some data . I need to take the count of a few tables which are either update or inserts from their main schema in a day .
Can you please help me how to get the count of updates/inserts on a table in  a day without affecting the performance of that database .
Regards,
DBApps
If you would check the "reports' of the golden gate, they would also provide you this count. Other than that, Auditing comes to mind.
Aman....

Similar Messages

  • How to find the count of tables going for fts(full table scan in oracle 10g

    HI
    how to find the count of tables going for fts(full table scan) in oracle 10g
    regards

    Hi,
    Why do you want to 'find' those tables?
    Do you want to 'avoid FTS' on those tables?
    You provide little information here. (Perhaps you just migrated from 9i and having problems with certain queries now?)
    FTS is sometimes the fastest way to retrieve data, and sometimes an index scan is.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:9422487749968
    There's no 'FTS view' available, if you want to know what happens on your DB you need, like Anand already said, to trace sessions that 'worry you'.

  • Is it possible to add counter in table maintenance (automatically)?

    sap ver. 4.7
    is it possible to generate counter in table maintenance (automatically)?
    i mean without building dialog screen  / table control  .
    exmple  :
    the user insert .....
    name
    name
    name
    name
    i add as key (automatically)
    1
    2
    3
    4

    Hi,
    It is possible to do the same by not adding new dialog screen / table control .All table maintainance are infact module pool programs ...While creating a tabe maintainance we have an option of 2 step or 1 step ->these screen numbers are the ones which are displayed  in table maintainace SM30
    So we can infact do coding in PAI and PBO of these screens.
    But the main disadvantage is that if you re-generate the table maintainace the code in PAI and PBO gets deleted for that screen
    eg:if you table maintainance is assigned to function group ZFXNGROUP -> go to se38 -> see program SAPLZFXNGROUP
    just add SAPL to function group suffix to get the module pool and the view screen number(same as that given in table maintainace for step1 and step2) ..in the PBO /PAI write the necessary code to increment the counter..
    we can just do a loop at screen and hide the counter field while incrementing in the PAi/PBO logic as required
    But once again,regeneration of table maintainace in the screen overwrites the PBO/PAI..the best we can do is create subroutines and write the code in a new include..so that everytime the code is overwritten...we need to just write the subroutine name in flow logic since includes are not overwritten in regenerations
    Also if we use the same function group for multiple table maintainance we have different screens,Pls make sure you are not editting the wrong screens......
    Hope it helps
    Pls check and revert
    Regards
    Byju

  • URGENT NEED HELP : JOURNALING TABLES AND TRIGGERS GENERATION

    Hi
    I need generate journaling tables for any tables to audit the update, delete statements executed for the users. I captured an existant schema, then and I change the derfiniton of the target tables, setting the value of Journaling to "Server".
    But, when I generate the DDL statements, the triggers of the journaling tables don't appears in the sql file.
    ¿What is the error?
    I thing that Designer generates the triggers and the journal tables, ¿It's true?
    Thanks in advance.
    Xavi

    You have to use the "Generate Table API" menu option. This will generate the "journalling" triggers.
    HTH
    Roel

  • Select count(*) from table in oracle 11g with direct path read takes time

    select count(*) from table takes long time, even more than couple of hours..
    direct path read is the wait event which is almost is at 99%..
    can u someone provide some info on this.. on solution.. thankx

    knowledgespring wrote:
    table has millions of records... 130 millions..
    select count(*) from BIG_SIZE_TABLE; --- executed in sql plus command prompt.
    Rows     Execution Plan
    0  SELECT STATEMENT   MODE: ALL_ROWS
    0   SORT (AGGREGATE)
    0    TABLE ACCESS   MODE: ANALYZED (FULL) OF 'BIG_SIZE_TABLE' (TABLE)
    Elapsed times include waiting on following events:
    Event waited on                             Times   Max. Wait  Total Waited
    ----------------------------------------   Waited  ----------  ------------
    SQL*Net message to client                       1        0.00          0.00
    enq: KO - fast object checkpoint                1        0.01          0.01
    Disk file operations I/O                       18        0.00          0.00
    direct path read                            58921        0.34        418.54direct path read time waited is : 58921 total time waited: 418.54
    That 418 seconds - not the hours you reported earlier. Is it possible that your connection to the database broke ?
    On a typical system, by the way, you can usually turn one direct read for tablescan into 1MB, so your scan seems to have covered about 59 GB, which seems to be in the right sort of ballpark for 130M rows.
    we have another query and when we test the query execution using v$sql, is_bind_sensitive =N, how to make is_bind_sensitive=Y all the time.. There is a hint /*+ bind_aware */ - I'd have to check whether or not it's documented at present. It might help.
    I would be interested in hearing why you think the hint should be bind sensitive when the optimizer doesn't.
    Regards
    Jonathan Lewis

  • Need content in table cell to scroll

    I Need content in table cell to scroll, so the window stays a constant height. Help.

    Google for 'scrollable DIV' or 'iframe'. Scrollable DIVs are better.

  • I am hiving some table field descriptions I need in which table these table

    I am having table field descriptions : Order Value,Discount Value,Actual Margin,Actual Margin %.
    I need in which tables these fields are available.

    Hi Bunny:
    1. goto se15
    2. expand abap dictionary
    3. expand fields
    4. double click on table fields
    5. Just paste the description , which you are having in the SHORT DESCRIPTION input area, at the beside screen..like "Order value"
    6. press F8.
    you should get:
    Table Name       Short Description
    Table field                    Short Description
    TREC_FORC_COMPL  Temporary data for the receiving forecast
    TVALUE                         Order value in document currency
    EMBK             Legal Control: License Master - Header Data
    GAUFW                          Value consumed by orders
    Thanks,
    Naveen.I

  • Row/column counter for tables

    Hello,
    I know this is very basic, but so far examples I dug up don't really anything remotely to what I want.
    I have 3 databases. Well they are defined as "connections" in SQLDeveloper I hope that's the same I am still not used to Oracle abstractions.
    Each has several tables. All I want is loop through each of the 3 DBs and log row count and table count.
    Say DB1:
    Rows: Columns:
    Table1: x y
    Table2: x y
    I don't really care what's inside them. I found one example that did it but it listed some system tables that aren't part of my db. Changing "owner" didn't really help.
    From the value of the variable "Owner" means a database, is that correct?
    Oh and I also don't care if the code is "inefficient", tables aren't that big.
    Thanks in advance.
    Edited by: 940349 on Jun 14, 2012 6:22 AM

    not sure what you are planning to achieve, but you can use below query to get owner of table, table name , column name, number of tables by owner and number of column in a table (belonging to owner). This will require access to dba_tab_columns.
    select owner,table_name,count(*) over(partition by owner) count_table,column_name,count(*) over(partition by owner,table_name) count_column from dba_tab_columns;

  • How do I execute "Select count(*) from table " in OCI

    Hi,
    I am new to OCI and so this question may seem stupid. I would like to know how to execute the query "select count(*) from <table>" using OCI V8 functionality? Also after how do I get the result into a integer datatype? I have gone through most of the demo programs but is is of little help to me.
    Thanks in advance...
    Regards,
    Shubhayan.

    Hi,
    Here is sample code to give you some idea how to do it. If you want some more info let me know.
    Pankaj
    ub4 count;
    // Prepare the statement.
    char szQry = "SELECT count() FROM T1";
    if(OCI_ERROR == OCIStmtPrepare(pStmthp, pErrhp, (unsigned char*)szQry, strlen(szQry), OCI_NTV_SYNTAX , OCI_DEFAULT) )
         cout << "Error in OCIStmtPrepare" << endl;
         exit(1);
    // Bind the output parameter.
    OCIDefine *pDefnpp;
    if(OCI_ERROR == OCIDefineByPos ( pStmthp, &pDefnpp, pErrhp, 1,
    &count, sizeof(ub4), SQLT_INT,
    (dvoid *) 0, (ub2 *) 0, (ub2 *) 0,
                        OCI_DEFAULT) )
         cout << "Error in OCIDefineByPos" << endl;
         exit(1);
    if(OCI_ERROR == OCIStmtExecute(pSvchp, pStmthp, pErrhp, 1, 0, NULL, NULL, OCI_DEFAULT) )
         cout << "Error in OCIStmtExecute" << endl;
         exit(1);

  • Need to create Table Maintenance with more than 400 characters

    I need to create table maintenance in which one filed have more than 400 characters. CHAR type support between 1-255 & STRING type not supported by Table Maintenance. Is there any alternative type or solution for that?

    Hi,
    If  you assign TMG to the table, it will throw error as unable to display the field on screen. why because it can able to display upto 255 char length only.
    For this requirement you have 2 solutions :
    1) Create multiple fields and your Z table, split the data and store them as required.
    2) Create a TEXT ID and store it as a long text using FM CREATE_TEXT.
    or
    This type of text should be treated as Long Text.
    And the steps are:
    1. Create Text Object Using SE75.
    2. Create Text ID Using SE75.
    3. Now you have to Save the text with FM SAVE_TEXT.
    For example:
    The Most simple solution for it can be that Divide the field REMARKS of size 1000 in multiples of 200 characters like REMARK1, REMARK2....REMARKn.
    Now you can create two FMs :
    zset_data: To Store 1000 char long data in Table
    Here you will divide the data of Variable (type char1024) in multiples of 200 and will store in REMARK1, REMARK2.....
    zget_data: To Get 1000 char long data back from Table
    Here you will concatenate REMARK1, REMARK2..... and will store in Variable of Type char1024.
    This is the best solution if Table is not going to be maintained by Table Maintenance Generator.
    regards,
    ravi

  • I need to know table for field CLASS , which is coming in cl30n

    Hi,
          I have to create a report customer meterial price.For this I need  one coloumn i.e  Finished Good material(coming from cl30n transaction and field name CLASS). I want to know in which table this field  "CLASS" is getting stored.AS I am getting 
    structure CLSELINPUT  where this field is stored but I need to know table .
    Regards.

    Hi Ian ,
                  Thanks for your support.I need to fetch spare part meterial on basis of this class .which is the correct  table to get spare parts details and how we can link klah with it.
    Regards.

  • How about get item count of table in formGroup.vm

    JHeadstart Team:
    I want change maxColumns=" 1" or" 2" by item count of table .but I do not know how about get item count of table .
    #if (${JHS.current.group.columns} > 10)
    #set ($majin = 2)
    #else
    #set ($majin = 1)
    #end
    <af:panelForm rows="1" maxColumns="$majin" width="${JHS.current.group.formWidth}" id="${JHS.current.group.shortName}FormItems">
    majin
    #FORM_ITEMS()
    </af:panelForm>

    You can do this using the following syntax:
    #if (${JHS.current.itemContainer.items.size()}>10)
    maxColumns="2"
    #else
    maxColumns="1"
    #end
    Steven Davelaar,
    Jheadstart Team

  • Row count for tables from 2 different databases

    Hi,
    i wrote a query to get counts from all the tables in one schema to another schema. this generates the select count (*) from tables and gives me the counts, but i want to get the counts such as
    table1 -- 100 -- DB1
    table1 - 110
    table2 - 230 - DB2
    table2 - 230 etc...
    here is my query that works but display of the output is the way i wanted. can someone help me getting the output as above described.
    select 'select ''PTO'', count(*) as '||(table_name)||'_count'||' from '||table_name||';'from dba_tables
    where owner = 'TEST'
    union all
    select 'select ''PFO'', count(*) as '||(table_name)||'_count'||' from '||table_name||';'from [email protected]
    where owner = 'TEST';
    thanks...

    DUPLICATE post
    count of rows in a schema tables

  • Need Store DB tables to query to get the latest scanned price at register

    Need Store DB tables to query to get the latest scanned price at register.
    Please provide a sample sql script that will help me do this. I need to have this informatino for several items at a time.
    Thanks,
    Edited by: user10133807 on Jan 13, 2012 9:22 AM
    Edited by: user10133807 on Jan 13, 2012 9:23 AM

    Hi,
    You can find multiple items saled price at the register by running below quary
    select distinct DC_DY_BSN,ID_ITM_POS,MO_PRN_PRC from TR_LTM_SLS_RTN;
    Thanks,
    MG

  • Do i need to activate table

    Do i need to activate table after table index is activated? because now i see warning message at index that Index was not created at DB level.

    Hi Rob,
       Thanks for your answer, unfortunately i deleted one index from standard table, but when i created and activated (both index and table), i could not see index description in the pop-up box of list of indexes. do you have any idea that why i could not see index short text.

Maybe you are looking for

  • Is it possible to use your iPod Touch 4th Gen from your computer?

    I have an iPod Touch 4th Gen. And I broke the screen, the sent it in to get fixed... the people put the screen on wrong. It worked for a while, then it stopped working. I was trying to use it one day, and I accedentaly put on the curtain mode. So now

  • Output error message in VK11

    Hi, I need to put an authority check before saving in Tcode VK11. I used BADI SD_COND_SAVE_A to put the checking. I needed to output a message then go back to the same screen with the entered values in the screen still in it. How Can I make the progr

  • How to use Tools Error Console

    I was recently trying to troubleshoot a problem of access a secure bank site [SSL problem] and trying to use the error console to figure out what was wrong. It makes little sense to a common end user of Java such as myself. What does one do with the

  • Profiles assigned to EARLYWATCH ID in client 066

    Hello, Can someone please post the profiles (including authorization objects with values) assigned to user ID EARLYWATCH in client 066. Thank you, SG

  • IMovie stops importing after 7 seconds or so

    I am trying to import some video that is being passed thru my digital camcorder from a dvd. I have done this before several months ago but today it stops importing after about 7 seconds. I don't have FileVault turned on so that isn't the problem. Eve