Oracle Streams for Archiving Data

We are considering using Oracle Streams for Archiving the Data that is older than six months, is this the right option? Has anybody done archiving with Oracle Streams? or would you recommend any other option?
Edited by: vs**** on Feb 8, 2011 2:58 AM

The tasks are
1. Oracle checks everyday at a scheduled time in the required tables for "created_date" of records is 180 days old i.e (sysdate - created_date > 180).
2. The results matching the criteria should then be sent to the Archive database or created as Files

Similar Messages

  • New feature for Archive data in oracle database11g.

    Is there any new feature in oracle database11g for archiving data?

    Yes.
    For example :
    "optional archive log destination to be utilized in the event that the flash recovery area is inaccessible during backup"
    See the document under "Archive Log Management Improvements"
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28279/chapter1.htm
    Best Regards
    mseberg

  • DART for archived data

    Hello Sap experts
    we have a requirement where business want us to execute dart process for archived data. We have opened the archived files for this but we have a doubt regarding use of t.code FTWB because i hope this t.code is also used if we need to run DART for archived data but we are not sure when this t.code is used & how?
    Kindly suggest.
    Thanks & Regards
    Deepak Garg

    Hi
    Follow the link,
    [http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFDART/CAGTFDART.pdf]
    Regards.

  • How to get the functionality of  FM 'RV_PRICE_PRINT_ITEM' for archived data

    Hi All,
    I am trying to print archived billing data using archiving object SD_VBRK. I am able to print all the related information except the pricing.
    Apart from reading all the tables archived under the archiving object SD_VBRK,  I also need to use the function module 'RV_PRICE_PRINT_ITEM' to print the pricing related information on the SAP form.
    However this function module reads the data from standard tables KONV etc., which are archived. Due to this I can not use this function module for printing the pricing related information for archived billing document.
    However I need to incorporate similar functionality for the archived data.
    Can anyone help me in replacing the FM 'RV_PRICE_PRINT_ITEM' for the archived data.
    Thanks and Regards,
    Santhoshi

    Please use this FM to read information from the Archived mode '/PBS/RV_PRICE_PRINT_ITEM'
    Thanks,
    Ranjith.

  • New report for Archiving data

    Hi to all,
    Can anybody kindly tell me how to solve the following:
    Due to the huge volume of records in the table ZMES_SEQ_DETAIL it required to archive the data based on the Date on which the record was created, which is 18 months older in the table ZMES_SEQ_DETAIL.
    Thanks in advance.
    Regards
    Simi

    Hi,
    SAP provides standard archive objects for standard tables. There is no archive object available to archive custom tables data (Z/Y tables). The option you have is to develop a custom archive object and related programs to archive data from the Z table.
    Checkout the following <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/2a/fa042d493111d182b70000e829fbfe/content.htm">link</a> for more details on developing archiving solutions.
    Hope this helps
    Cheers!
    Samanjay

  • What are required Oracle products for moving data from IBM IMS/DB(mainframe) to Oracle environment?

    I am z/OS system programmer, our company is using IMS as its main OLTP database. We are investigating moving data off the mainframe for data warehousing and online fraud detection. One option is using IBM InfoSphere CDC and DB2, another option is using IMS connect and writing our own program, I am wondering what is the oracle solution for this kind of issue?
    I am not oracle technician but I googled and find out Oracle has some product like Oracle Legacy Adapters, OracleAS CDC Adapter and Oracle Connect on z/OS, however I didn't find them in Oracle site(https://edelivery.oracle.com/), I don't know whether these products are deprecated or not?!
    I would very much appreciate any help or guidance you are able to give me

    Thank you for responding.
    I've considered dumping the data into a flat file and using SQL*Loader to import as you suggest but this would require some scripting on a per-table basis. Again: all I want to do is to copy the contents of a table from one database to another. I do not think I should have to resort to creating my own dump and load scripts in order to do that. However I agree with you that this type of solution may be my final solution.
    I've tried the db link solution. It was just a slow as the 'imp' solution for some reason. Don't know why. The tables are rather large (3 tables of a few Gb each) and therefore require intermediate commits when loaded. Otherwise the rollback segment will run out of space. So the 'db link solution' is really a PL/SQL script with a commit for each x records.
    I think Oracle is making it a bit difficult for me to copy the contents of a table from one database to another and to do it efficiently. Perhaps I'm missing something here?

  • Can CJI3 , CJIA be used for archived data

    Hi,
    CN83 has the option to fetch archived data , however do not find any such option with CJI3 , CJIA etc .
    Like to know whether it is not feasible to used CJI3 etc for archived projects.
    With regards,
    Mrinal

    Hi Virendra,
    Thanks for yr reply.
    I get the message
    " Report CJI3 is not planned to be read from the archive".
    " Report CJIA is not planned for archiving object PS_PROJECT"
    With regards,
    Mrinal

  • Report for Archived data by using exicutable program.

    Hi,
    In already existed Zreport data is fetching from table like below.
    SELECT belnr bewtp budat lfbnr lfpos FROM ekbe INTO TABLE it_ekbe
                                                   WHERE bewtp IN ('R' , 'Q') "Only IRs
                                                      AND budat IN s_date.
    Like the above in the report fetchnig data from somany tables so mant times.
    Now my requirment is the archived consultants archived old data. some table are archived some are not archived.
    So i need to fetch the old data also from the archived files. Achived consultants given below details.
    zarixmm3------------>zerox table for MM related tables after archived the data.
    I searched in google got some code to fetch the data from archived fiels. The below code.
    1. I fetched the key  archive key number from the zerox table.
    SELECT archivekey  FROM zarixmm3 INTO TABLE it_get
                                       WHERE budat IN s_date
                                         AND werks IN s_werks.
    CLEAR : wa_ekbe.
    LOOP AT it_get INTO wa_get.
      v_arcdoc = wa_get-archivekey+0(6).
      wa_arcindx1a-archivekey = wa_get-archivekey.
      wa_arcindx1a-v_arcdoc = wa_get-archivekey+0(6).
      CLEAR : wa_get.
      APPEND  wa_arcindx1a TO  it_arcindx1a.
    ENDLOOP.
    SORT it_arcindx1a BY v_arcdoc.
    REFRESH it_get.
    CLEAR: v_arcdoc.
    DELETE ADJACENT DUPLICATES FROM it_arcindx1a COMPARING v_arcdoc.
    2. I passed the key in FMs.
    LOOP AT it_arcindx1a INTO wa_arcindx1a.
      v_key = wa_arcindx1a-archivekey+0(6).
      CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
        EXPORTING
          archive_document = v_key
    *     archive_name     = wa_arcindx1-archivekey
          object           = 'MM_EKKO'
        IMPORTING
          archive_handle   = lv_handle
        EXCEPTIONS
          OTHERS           = 1.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        EXIT.
      ENDIF.
      DO.
        CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT'
          EXPORTING
            archive_handle = lv_handle
          EXCEPTIONS
            end_of_file    = 1.          "nur die Ausnahmen, auf die man
        IF sy-subrc <> 0.                "wirklich reagieren will
          EXIT.
        ENDIF.
        CALL FUNCTION 'ARCHIVE_GET_TABLE'
          EXPORTING
            archive_handle        = lv_handle
            record_structure      = 'EKBE'
            all_records_of_object = 'X'
          TABLES
            table                 = git_ekbe_temp
          EXCEPTIONS
            end_of_object         = 0.
        LOOP AT git_ekbe_temp ASSIGNING <ls_ekbe>
                               WHERE bewtp = 'R' OR bewtp = 'Q'
                                AND budat IN s_date.
          MOVE-CORRESPONDING <ls_ekbe> TO wa_ekbe.
          APPEND wa_ekbe TO it_ekbe.
          MOVE-CORRESPONDING <ls_ekbe> TO wa_ekbee.
          APPEND wa_ekbee TO it_ekbee.
          CLEAR wa_ekbe.
          CLEAR wa_ekbee.
        ENDLOOP.
      ENDDO.
      CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
        EXPORTING
          archive_handle = lv_handle.
      CLEAR wa_arcindx1a.
    ENDLOOP.
    Like the above i diid for all tables wich are used in the Zreport.
    Please tell me i am going in right direction or not. The above logic taking time because it is reding entire data in the table.
    If new logic is there please provide me to improve performance of the zreport.
    Regards,
    Maruthi S

    Hi Friends,
    I am waiting for solution aobve.
    Regards,
    Maruthi. S

  • Oracle Provider for Arabic Data

    hi,
    i was using "OraOLEDB.Oracle" provider with VB 6.0 for my oracle application uptill now. This provider worked fine untill i wanted to work with arabic data. I have my oracle code page set to arabic with NLS_Lang = Arabic_Kuwait.AR8MSWIN1256
    Thus i can enter and retrive arabic data from the SQL interface, but if i try to enter arabic data thro VB, i get junk data.
    Pls help.
    Thankx in advance.
    Vinod

    Vinod ,
    Try setting the following custom command property for the provider.
    myCommand.Properties("NDatatype") = True.
    Also set the font of the text field in which you are taking the input
    to Tahoma or some font supporting unicode.
    regards
    Jagriti

  • DB Link between Oracle 10g and Oracle 9i for CLOB data type

    How do I transport XMLType or CLOB from oracle 9i to Oracle 10G using DBLink?
    Is any restrction to DBLink, while transfering CLOB with XML data from oracle 9i to Oracle 10G?
    Please let me know how i resolve this issue.
    Thanks in advance.
    DK

    Well... it depends on what type of link you wish to create.
    If you have same user with same password on both databases (9i and 10G), then you can create a public database link as
    CREATE PUBLIC DATABASE LINK dblink USING 'dbalias';
    Note: dbalias is the value from your TNSNAMES.ORA. The database from which you are creating the db link has to have the entry in TNS for other database.
    Other method is to create a private db link
    CREATE DATABASE LINK dblink CONNECT TO user IDENTIFIED by pwd using 'dbalias';
    The number of open connections from a particular database is governed by init parameter DB_LINKS (this was in 8i.. not sure about higher versions)
    HTH...
    Message was edited by:
    satishkandi

  • Oracle Driver For Arabic Data

    hi all,
    My problem is, in my oracle UI, i can write an insert statement and enter arabic data into my oracle database. But if i try to execute the same SQL statement from VB, the data goes all corrupted, and i cannot retrieve the arabic data in arabic format from the database. Am trying to find out, what driver i shud use so that i can update and retrieve arabic data from my database. When i give a select statement in oracle the data appears as ??????????. Please help.
    Thankx in advance
    Vinod Cherian

    Vinod ,
    Try setting the following custom command property for the provider.
    myCommand.Properties("NDatatype") = True.
    Also set the font of the text field in which you are taking the input
    to Tahoma or some font supporting unicode.
    regards
    Jagriti

  • I want to how to write program to design for archived data?

    Hi,
    In my project already some z reports are there. Now some old data is archiving from the tables.
    I want read the data for the z reports . i  used below code to read the data by passing the archive document key to read the data.
    But the below code is reading entire data due to that it is taking lot of time.
    Please give some suggestions weather am i gong in right way or not?.
    LOOP AT it_arcindx1 INTO wa_arcindx1.
        v_key = wa_arcindx1-archivekey+0(6).
        CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
          EXPORTING
            archive_document = v_key
            object           = 'MM_EKKO'
          IMPORTING
            archive_handle   = lv_handle
          EXCEPTIONS
            OTHERS           = 1.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          EXIT.
        ENDIF.
        DO.
          CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT'
            EXPORTING
              archive_handle = lv_handle
            EXCEPTIONS
              end_of_file    = 1.          "nur die Ausnahmen, auf die man
          IF sy-subrc <> 0.                "wirklich reagieren will
            EXIT.
          ENDIF.
          CALL FUNCTION 'ARCHIVE_GET_TABLE'
            EXPORTING
              archive_handle        = lv_handle
              record_structure      = 'EKBE'
              all_records_of_object = 'X'
            TABLES
              table                 = git_ekbe_temp
            EXCEPTIONS
              end_of_object         = 0.
          LOOP AT git_ekbe_temp ASSIGNING <ls_ekbe>
                                 WHERE mandt = sy-mandt
                                 AND vgabe = '8'
                                 AND budat IN s_budat.
            MOVE-CORRESPONDING <ls_ekbe> TO waa_table1.
            APPEND waa_table1 TO it_table1.
          ENDLOOP.
        ENDDO.
        CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
          EXPORTING
            archive_handle = lv_handle.
        CLEAR wa_arcindx1.
      ENDLOOP.
    Regards,
    Maruthi S

    Hi Maruthi,
    Try using 'ARCHIVE_GET_NEXT_RECORD' instead of 'ARCHIVE_GET_TABLE' using which you can maintain no. of records hit by the handle.
    Have a look at sample logic given in SCN.
    http://scn.sap.com/thread/1263660
    Hope this helps.
    Regards,
    Naveen

  • Data guard vs. oracle stream

    Our db is 10g 2 nodes RAC db and the db server is window 2003 server. Our standby db was using data guard for feeding data from primary to standby. Since our standby db was not up to date now we are planning to rebuild our standby db. We are debating if we should use data guard or oracle stream to feed data to this new standby db. Can any body give us some insights on which one is better on this purpose?
    Thanks a lot in advance!!
    Shirley

    One has
    1 physical standby
    2 logical standby
    3 streams
    Only 1 is a zero-loss, high-availability solution.
    2 and 3 do not support all data types, and will automatically suppress not-supported datatypes.
    3 apart from that is also asynchronous, where 1 and 2 can be set up to be synchronous.
    3 will be also much more difficult to troubleshoot. Basically: when you are out-of-sync you have to rebuild. You can't re-ship redolog files.
    1+2 ship redolog files to the standby server, 1 uses them to recover the database, 2 uses them to mine them and to re-execute the transaction.
    3 mines redolog files at the source, and sends statements to re-execute them.
    Only 1 is a true HA solution.
    You can not use Streams to build a standby database.
    The purpose of Streams is replication, not standby.
    Sybrand Bakker
    Senior Oracle DBA
    It is just what you want

  • Oracle client for CA Erwin data modeler

    Does anyone know how to install and configure oracle client for Erwin data modeler?
    CA tech support says check with oracle

    >
    I need some help understanding what client means.
    >
    Client is any server that connects to a database. I am assuming that CA will be installed on a Windows XP machine and it will connect to a remote database on another server. I am assuming since you have not provided any details.
    >
    I can upgrade to 11g database. No problem
    >
    OK - not sure what this has to do with your issue.
    >
    I am looking for the oracle software that connects to CA Erwin
    >
    See my links posted above
    >
    I am not looking for Oracle database install
    >
    The client install does not install a database - it installs the necessary components needed to connect to a remote Oracle database.
    >
    Please be more specific.
    >
    More specific with what ? The more lucid details your provide, the better the quality of the responses on these forums.
    HTH
    Srini

  • Oracle stream- licence

    Is it possible to use oracle10gR2(free download from oracle) for setup oracle streams

    I created two databases SOURCE1 and TARGET1 in Oracle 10g version 10.1.0.2 on a test machine (windows 2003 server)
    Downloaded oracle streams step by step documents and then configured Oracle streams according to the documents( metalink)
    For some reason the data is not getting replicated into the target database. I even troubleshooted the steps as per the script given by oracle metalink.
    Can you please send the step by step documents for oracle streams for 10gr1 or 10gr2
    [email protected]

Maybe you are looking for

  • SSRS dataset throws error when another stored procedure is called inside dataset stored procedure

    Hello; I am using Report Build 3.0, I have a simple report which gets data using dataset which is created from a Stored Procedure. I have another stored procedure which updates the data in the table which is used for the report. I want to get the liv

  • Connecting to EJB's via RMI?

    If I have understood correctly, it's possible to establish connection between IPlanet server J2SE 1.3.0 client by using RMI/IIOP classes provided in the J2SE 1.3.0. Have I understood correctly? Other interesting question for me are pure RMI-clients.

  • Clips are being added in different tracks (as in layers)

    I am have two videos clips which I am dragging to the screenline. I drag the first clip it goes into track 1. When I drag the second clip it automatically goes to track 2. If I delete it from track 2 to try to get it into track 1, it goes to track 3.

  • Could not start Service Broker for database

    Problem: Could not start Service Broker for database id: 9. A problem is preventing SQL Server from starting Service Broker. Check the SQL Server error log for additional messages. The windows and application logs do not give me any for information.

  • Badi for me21n tcode

    Hi All, I have a requiremnet in ME21N Transaction. While creating a PO i want to validate  some values based on services tab in the items.I found one badi related to services but when i am putting a break-point its not getting triggered. BADI IS  - M