How to track rows'  histtory?

Hi all,
I would link to track changes made onto some columns to have a complete history of changes made.
I know I can use triggers to populate my own ad-hoc tables, and Oracle Workspace can (automatically ?) track these changes.
Which way is the more convenient? Would workspace manager be too much resource-consuming?
Should I look to something different?
Thanks in advance,
andrea

The impact of Workspace Manager is probably on par with the impact of a custom trigger solution, maybe a bit more if you're doing a lot of full scans of the tables. It's quite reasonable for most OLTP apps, though.
On the other hand, the result strikes me as far more useful than either DB_EXTENDED auditing or custom triggers. Having millions upon millions of records of changes to dozens or hundreds of tables in a single table in the SYS schema makes any sort of data analysis incredibly difficult. Answering questions like "What was the customer's address and all their open orders at 3:35 PM two weeks ago when the order processing system assessed their discount and sales tax?" is quite tedious with that sort of layout. Pretty quickly, you get into a situation where your auditing is useless because there is no practical way to extract the signal from the noise. Maintaining a bunch of custom triggers and history tables, keeping them structurally in sync with the source table is a pain-- you inevitably forget to add a column to the history table when it gets added to the main table at some point. You often end up writing a framework to manage the history that Workspace Manager already provides-- you want to purge some but not all historical data (i.e. keep year end data forever, month end data for 5 years, and transaction level detail for 1 year). And with custom triggers, unlike Workspace Manager, you don't have the ability to have a session pretend it's a year and a half ago and run a particular function, which is invaluable when you're trying to chase down the scope of a bug that's been affecting production data for a period of time.
Justin

Similar Messages

  • How to delete rows in the target table using interface

    hi guys,
    I have an Interface with source as src and target as tgt both has company_code column.In the Interface i need like if a record with company_code already exists we need to delete it and insert the new one from the src and if it is not availble we need to insert it.
    plz tell me how to achieve this?
    Regards,
    sai.

    gatha wrote:
    For this do we need to apply CDC?
    I am not clear on how to delete rows under target, Can you please share the steps to be followed.If you are able to track the deletes in your source data then you dont need CDC. If however you cant - then it might be an option.
    I'll give you an example from what im working on currently.
    We have an ODS, some 400+ tables. Some are needed 'Real-Time' so we are using CDC. Some are OK to be batch loaded overnight.
    CDC captures the Deletes no problem so the standard knowledge modules with a little tweaking for performance are doing the job fine, it handles deletes.
    The overnight batch process however cannot track a delete as its phyiscally gone by the time we run the scenarios, so we load all the insert/updates using a last modified date before we pull all the PK's from the source and delete them using a NOT EXISTS looking back at the collection (staging) table. We had to write our own KM for that.
    All im saying to the OP is that whilst you have Insert / Update flags to set on the target datastore to influence the API code, there is nothing stopping you extending this logic with the UD flags if you wish and writing your own routines with what to do with the deletes - It all depends on how efficient you can identify rows that have been deleted.

  • How to track repeting record data using BAM in biztalk

    Hi All,
      am new bam, How can How to track repeting record data using BAM in biztalk,please find the below input record
    <ns0:Employee xmlns:ns0="http://BizTalk_.Employee.Schemas.emp_In">
      <Emp>
        <id>122</id>
        <sal>222222222</sal>
        <name>.srinu</name>
        <dept>java</dept>
      </Emp>
       <Emp>
        <id>666</id>
        <sal>44444444</sal>
        <name>.srinu</name>
        <dept>java</dept>
      </Emp>
       <Emp>
        <id>333</id>
        <sal>7777</sal>
        <name>.biztalk</name>
        <dept>C#</dept>
      </Emp>
    </ns0:Invoice>
    am tried using TPE but its showing all the 3 rows as NULL  in bam primary import database.
    So please let know how can i achieve above issue.
    Regards,
    srinivas

    Hi Srinivas,
    Using TPE you cannot process repeating records. It doesn’t allow you to loop through your InvoiceDetails (repeating record), hence it shows null in tracked record. This
    is one of the limitations when you use TPE.
    This can be done using BAM API. If you use Orchestration or by writing a custom pipeline component you can use BAM API where you have the flexibility to loop through the
    repeating record and insert each InvoiceDetails node as a record in your BAM activity. BAM API is the only option to track repeating items inside a message as separate activity instances.
    Refer this MSDN article for more info:http://msdn.microsoft.com/en-us/library/aa559527.aspx
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to track the flow of Sharepoint SSRS report requests to troubleshoot slowness

    How to track the flow of requests of Integrated SSRS report links in Sharepoint.
    We are using SSRS with Sharepoint for reporting purpose. The issue is some of the reports get generated fast and some other reports generation is very slow. When the sql query of these reports RDL file is executed, the records are shown fast.
    Also even on clicking the "Add Subscription" link of "Manage Subscriptions" of a report is very slow for some reports, while it is fast for other reports.
    I tried enabling SQL profiler to track the requests.  I have checked profiler log for the SQL statements with exec sp_executesql. But they are not helpful.
    Pls advice on how to track the request of flow of SSRS report request in sharepoint and how to troubleshoot the slowness in  "Add Subscription" link, response of some reports.

    Hi Pradeesh,
    According to your description, my understanding is that you want to track SharePoint SSRS report requests to troubleshoot the performance.
    Developer dashboard is very help full while troubleshooting the issues related to performance in SharePoint 2013.  You can have a try.
    About Developer dashboard, you can refer to the links:
    http://www.sharepoint-journey.com/developer-dashboard-in-sharepoint-2013.html
    http://msdn.microsoft.com/en-us/library/office/ff512745(v=office.14).aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to get row number of selected entry from OVS search result

    Hi,
    Anyone having any idea on how to get row number of the  selected entry/ how to differentiate rows in OVS search result in ON_OVS method?
    Regards,
    Jatin

    Hi,
    You can get the selected record to <ls_selection> structure in co phase 3.
    From that structure you can get what ever field you want.,
    check the below code for reference,
    << Moderator message - Cut and paste response from F4 help for ALV table field removed. Plagiarism is not allowed in SCN >>
    hope this helps u.,
    Thanks & Regards,
    Kiran
    Edited by: Rob Burbank on Jan 5, 2012 5:24 PM

  • How to track return message in file to proxy interface

    I am using file to proxy scenerio, where i will get my file from FTP and updating it into a table , after updating i am calling a program to Run BDC, in my method for proxy, after that i dont how to track return message , anyone please tell me suggestion regarding for this
    thanking you
    Sridhar

    Hi Sridhar,
    What exactly you want to track????
    my assumtion is the call will be of asyn mode, once the data reach the proxy method the XI job done and u can easly track that using monitoring.
    Regards,
    Phani

  • How to track Service Item in Install Base

    Hi,
    How to track a Service Item in Install Base. If I'm right, when we define the item as Service Item in Inventory, Install Base Trackable cannot be enableed...
    Scenario:
    Customer is doing some services to its customer which has a contract for 1 Year. So we are creating service as Service Item in Inventory and then we create a contract for this service item.
    How do we track this in Install Base?
    Please help
    Thanks & Regards,
    Pavithara R.

    Hi,
    A service item by definition need not be tracked in IB. The service may be provided on a machine or asset which will be tracked in IB. Since service item is not a tangiable item, it is not IB trackable.
    Kindly explain the business scenario to track the service item in IB.
    Regards

  • Start Routine to load flat file - how to track filename in transformation

    Hi,
    Could you please help me to write a start routine to bring data from a flat file with a file name week45_c1_pri_2006, where the wekk name week-- changes per week. how to track the filename in the routine and how in data transfer process knows to load data from each flat file.
    Message was edited by:
            Anima M

    PROGRAM trans_routine.
          CLASS routine DEFINITION
    CLASS lcl_transform DEFINITION.
      PUBLIC SECTION.
    Attributs
        DATA:
          p_check_master_data_exist
                TYPE RSODSOCHECKONLY READ-ONLY,
    *-    Instance for getting request runtime attributs;
        Available information: Refer to methods of
        interface 'if_rsbk_request_admintab_view'
          <b>p_r_request
                TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.</b>
    <i>The bold area above where you get the requestid, here I am stuck.
    The below code does not bring the correct requestid of PSA</i>
    CALL METHOD P_R_REQUEST->GET_REQUID30
          RECEIVING
            R_REQUID30 = IREQUID.
        CALL METHOD P_R_REQUEST->GET_REQUID
          RECEIVING
            R_REQUID = IREQUID.
        SELECT FILENAME INTO IFILENAME FROM rsseldone WHERE rnr =  IREQUID  AND lnr = '        1'.
    Hope this can give a better picture where I am currently stuck not able to get the PSA request id in the <b>start routine of transformation</b> to read the data and filename from there.
    Thanks alot
    Anima

  • How to Track changes of Detail and header at purchase document

    Hi
    I have one problem while issueing the output type i created new output type created new output routine and i have to track the header changes and issue proper output and prevent to issue wrong output type
    example : zne1 for header changes and zneu for detail level but i cannot track the header level changes becoz cdhdr and cdpos tables are updated after output routines (800 and 801 newly created and assigned)
    can u please tell me how to track the po level changes so i can solve this problem ASAP
    it is urgent !!! please help me in this !!
    thanks in Advance !!!

    Hi Mr. Modi,
                       Can you clarify your scenario properly that I can analyse it to give you proper solution....I am confuse with your requirement and  example which you have given...
    Cheers,
    Sagun Desai....

  • How to track changes

    Hi friends,
        I am a XI consultant. My query is regarding how to track the chages.I heard that CDHDR and CDPOS tables are used to store the information regarding the changes made to the objects/tables in SAP.My scenario is i have a table having few fields related to P.o and a flag indiacating Insert/Update/Delete, so upon the creation/upadate/deletion of a P.O(related to perticular WBS Element) i want the data to be  transfered into my table automatically.
       Is there any standard transaction available to do that....means i want to track all the P.Os under a perticular WBS element..
    If not Do we have to write a Abap program and use CHANGEDOCUMENT_READ_HEADERS,CHANGEDOCUMENT_READ_POSITIONS functions to store the data into internal tables ?????
    Regards,
    Gowtham K.

    HI gowtham,
    Yes, u are right,
    we have to right some abap code.
    "CHANGE DOCUMENTS" in SAP Terminology
    1 The same thing which u are asking
    we had developed here. For Eg : Any change
    in the material master will be detected
    and a mail will be sent to the concerned
    employee.
    THIS WILL ALSO DETECT WHICH FILEDS HAVE CHANGED.
    IT CAN ALSO GIVE, The Old Value, And The New Value.
    2. This Mechanism is called CHANGE DOCUMENTS in
    SAP Terminology
    3. 2 Fuction Modules are Required.
    (They will fetch necessary data from CDHDR,CDPOS)
    CHANGEDOCUMENT_READ_HEADERS
    CHANGEDOCUMENT_READ_POSITIONS
    4. The First FM gives list of all
    records ( with change no) which have changed.
    5. Loop at the above and the second FM will
    provide the details (old-val, new-val) for
    each record.
    6. While using 1st Fm, i used docclass as 'MATERIAL'.
    BCOS
    the concept of change documents is applicable
    to other type of documents also (depends upon
    customization)
    regards,
    amit m.

  • How to track changes on Infoprovider?

    Hi Gurus,
    Could you please provide the steps of how to track changes on Infoprovider? I had 4 Infocubes (belonging to the same info area) that contains compressed data - but now when I tried to display the data, all the cube are empty - no data were aechived.
    I would like to track any actions that were made on those cubes.
    Thanks

    thanks Kumar for helping me out here
    I tried RSD_CUBE_LOG_DELE function module - It came out "no logs found in the database"
    I tried tables RSDRDLOGHEADER and RSDDSTATDELE which provide me deletion informations like user name... but since we have partially archived those specific infoproviders in the same period of time where I think eveything was gone from cube, I am not able to related when and who the data that were not archived were deleted from Infocube
    Under manage Infocube --> archiving tab, all the created archiving request are only for certain dates (below 2006). I know that we had data above 2006.
    Kindly provide additional inputs.
    Thanks

  • How to track changes for the config done directly in quality client-Reg

    Hi,
    In our system the landscape is Dev,Quality,Production.
    For some transactions we will do the config in dev and transport to other clients or maintain in each client manually.Eg QS41,CI41.
    In my case ,I have did the config in CI41 and transported to other clients.But someone user get in to CI41 in Quality client and did some changes. Now how to track the user Id through which the changes has been performed  in QA directly.
    Regards
    SB

    hi
    you can use SE09 for displaying the transport no where you can see all the request nos ,from there you can check
    also use the same transaction Cl41 do some changes like description ,then press the save button ,system will prompt you the previous saved Request No and make a note of it .cancel the request generation ,then you can trace them in SE09
    also check whether you can find any change documents is available
    regards
    thyagarajan

  • How to track Changes done in planning book....by whom.....in DP planning

    Hi All,
    I want to track the changes done in Key figures in planning book ..........mostly by whom .......let me know how to track the same in APO DP planning book...........any std..........way..........like R/3...........pl reply.............your expert guidence will be  appreciated..........by rewarding the same..............Thanks...........
    Best Regards
    Sharad

    Hi,
    You would be able to tackle this partially by adding a new hidden key figure.
    Refer the example below;
    Kfig1. Stat forecast: Calculated using stat forecasting
    Kfig2. Adjusted forecast: user normally changes this
    Kfig3. Hidden copy of Adjusted forecast:
    Using macros copy 1st snap shot of stat forecast to Adjusted and Hidden. once adjustments are done, use Macro to compare Adjustments and Hidden copy of original values, or this can be a overnight batch job to generate alerts
    Hope this helps.
    Pradeep

  • How to track signon in a query? XMLP-Doku?

    Hello,
    can anyone give me a brief example how to track signon in a query to limit data in the standalone version of XMLP? Unfortunatly the user manual (PDF) doesn't describe that. The threads in this forum which tell this quit short didn't work to me.
    Is there any other important manual or book about XMLP except the PDF user manual?
    Thanks in advance
    Ralf Kanis

    We wanted to trap the sign-on but oracle has the following response. I heard you can modify the xdo file but this solution is not a long term solution.
    Following is the reply from the development:
    There is a bug in XMLP 5.6.2 which prevents dynamically passing username in sql, and would be fixed in the next release. Also it req
    uires editing report file manually as the UI does not support this username bind
    ing in 5.6.2.

  • How to track changes in a hyperion application for SOX control?

    Hello all,
    We have been working on identifying the best way on how to track changes in a hyperion application in regards to the SOX control.
    The following areas have been identified as the main areas of an application where the changes are to be tracked:
    Monthly data load from ODI
    Calculation of data
    Metadats change
    Formula edit
    Changes to reports
    Changes to security
    Can anybody please suggest the best ways to do this? Has anyone experienced this issue before?
    Somebody suggested that there is hyperion auditing available.
    Is there any other software that is available that can do this or just documenting the changes would be the best option?
    Please suggest. Toyr response would be appreciated.
    Thanks.

    Shared Services allows the auditing of provisioning and life-cycle management activities to track changes to security objects and the artifacts that are exported or imported using Lifecycle Management Utility.
    For Shared Services auditing, refer Page 129 of http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security.pdf
    Planning Administrators can select aspects of the application for change tracking. For example, you can track changes to metadata, such as when users change a member property or add a currency. You can also track changes in data forms, business rules, workflow, users, access permissions, and so on.
    For Planning auditing, refer Page 56 of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin.pdf
    HTH-
    Jasmine.

Maybe you are looking for

  • How can I remove underscores from the topics in the Search pane?

    Hi, I am using TCS3 and have created a number of projects using Webhelp. The problem is that the ranked list that is generated after searching shows most, but not all, the section titles with underscores between the words, e.g. Modules_and_wizards. C

  • Hi i have a site form Google with Google Gadget

    Hi i have a Google site with Google Gadget "Flash Wrapper" and i open a swf file. when i open the site with Google Crome The swf take a lot of time to load but with explorer there is no delay Here is link to the page with the swf file פיצה what can i

  • Using MDM in HR

    Sector public has requirement to control information of people when they change from one public institution to other and they want to keep central ID for every body in order to have the complete record. MDM is made to work with this kind of situation

  • ALV report Object Oriented way without containers?

    Hi guru         I was hearing that alv report using OO concept can be created only using containers... if we use containers can we run the job in background as its gui interfacing... is there a way to create using oo and with out containers. Thanks.

  • Smart form footer issue in 2nd page - Horizontal line is not displayed

    Dear Experts, I am working on a smartform. Which has a table (Header, Main area, Footer), When there are more records and footer alone is printed in the 2nd page, i am not getting the first horizontal line for the footer and it does not look like a t