Migration status at any point of time

Hello to All,
I am running a migration scripts (which are actually a procedures) to pick the data from the source table to target
table.
My requirement is to find out the migration status at any point of time.Is there any way to do it?
Please help.
Best regards,
Pavan

Hi Pavan,
Does your source table have columns to store the status, error message?
In general, stage tables should have a status and error message column which are updated by the migration script with the status of that particular record.
You can check these columns to get the status.
For eg
select status, error_message, count(*)
from you_table
group by status, error_message;The above script will give the number of records Successfully processed, errored during migration.
Regards
Imran

Similar Messages

  • Balance Sheet translation at spot rate at ANY point in time

    My client produces its financial accounts in AUD.  They will have open items in AR, AP and Bank in foreign currencies.  WITHOUT running periodic valuation they wish to produce a Balance Sheet at any point in time during the month applying the applicable daily spot rate to valuate the Foreign Currency open items (for reporting purposes only).  I have run S_ALR_87012284 and maintained the special evaluations tab for Display Currency (AUD), Key date for translation (current date) and exchange rate type (spot rate type).  However, this does not appear to be revaluating the open items in the subledger accounts to produce the balance sheet at the current spot rate.  Appreciate input / alternate approach.  Cheers, Dean.

    Hi Chirag
    As per Oracle following are the rules that has to be followed for translation.
    1. For Balance Sheet Accounts (Asset & Liabilities) GL as a default uses the YTD rule.
    2. For P&L Accounts you can choose between YTD and PTD rule. So in your case you can use the default PTD Rule. (Profile Option 'GL Translation: Revenue/Expense Translation Rule')
    YTD Rule = (Translated Period Amount = Period-End Rate x YTD Ledger Currency Balance - Beginning Translated Balance).
    PTD Rule = (Translated Period Amount = Period Average Rate x PTD Ledger Currency Balance)
    Hope this helps.
    Regards,
    Gautam
    Edited by: Gahlout on Sep 25, 2012 11:04 PM

  • A "designer" file being worked on a machine, is checked-in regularly, if at any point of time the latest version of that file is taken on the same machine, all the data gets deleted

    A “designer” file being worked on a machine, is checked-in regularly, if at any point of time the latest version of that file is taken on the same machine, all the data gets deleted

    Hi,
    Could you provide us more information to help you?
    If you have resolved the issue, it would be better if you can post the solution here, which will help others.
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make rolling plan at any point of time for 12 months using SOP/LTP?

    Hi Gurus,
    I am configuring an MTS scenario where the client desires that at any point of time, when he does planning, system should do a rolling plan. For example, let us say that we first do the planning in Jan for Jan to Dec. When he does the planning again in Feb, it should become a plan for Feb to Jan and so on. Is this possible in SOP/LTP? Please advise. Thanks.
    Regards,
    SB

    Yes. This is normal for SOP, but what are looking to achieve using LTP? Is this rolling plan operative, or simulative?

  • Query to bring 6 rolling pay check date at any point of time

    Hi,
    we have a date dimension dim_date which is having calendar date. I need to write a query which will always bring 6 rolling pay check dates ant any point of time. there is 14 days gap between each pay check date and it is fall on friday. please take below example as a reference and help me to write query as per my requirement. thanks in advance.
    pay check date example:
    3/23/2012
    3/09/2012
    2/24/2012
    2/10/2012
    1/27/2012
    Thanks
    Jay.

    The to_char function with 'D' mask returns the day of the week:
    Sunday is 1, we need to sum 6-mod(1,7)=5 for next friday
    Monday is 2, we need to sum 6-mod(2,7)=4 for next friday
    Tuesday is 3, we need to sum 6-mod(3,7)=3 for next friday
    Wednesday is 4, we need to sum 6-mod(4,7)=2 for next friday
    Thursday is 5, we need to sum 6-mod(5,7)=1 for next friday
    Friday is 6, we need to sum 6-mod(6,7)=0 for next friday (well, current or next friday)
    Saturday is 7, we need to sum 6-mod(7,7)=6 for next friday
    So, we always need to sum 6-mod(to_char(sysdate, 'D'), 7) to found the current or next friday:
    SQL> select to_char(sysdate+6-mod(to_char(sysdate, 'D'), 7), 'yyyy-mm-dd') next_friday from dual;
    NEXT_FRIDAY
    2012-02-17
    And, adding other 14 days for each next rolling pay chack, we have:
    SQL> select to_char(sysdate+6-mod(to_char(sysdate, 'D'), 7), 'yyyy-mm-dd') rolling_dates from dual
    2 union all
    3 select to_char(14+sysdate+6-mod(to_char(sysdate, 'D'), 7), 'yyyy-mm-dd') rolling_dates from dual
    4 union all
    5 select to_char(14+14+sysdate+6-mod(to_char(sysdate, 'D'), 7), 'yyyy-mm-dd') rolling_dates from dual
    6 union all
    7 select to_char(14+14+14+sysdate+6-mod(to_char(sysdate, 'D'), 7), 'yyyy-mm-dd') rolling_dates from dual
    8 union all
    9 select to_char(14+14+14+14+sysdate+6-mod(to_char(sysdate, 'D'), 7), 'yyyy-mm-dd') rolling_dates from dual
    10 union all
    11 select to_char(14+14+14+14+14+sysdate+6-mod(to_char(sysdate, 'D'), 7), 'yyyy-mm-dd') rolling_dates from dual;
    ROLLING_DA
    2012-02-17
    2012-03-02
    2012-03-16
    2012-03-30
    2012-04-13
    2012-04-27
    6 rows selected.
    Please check the results in your instance, because week day numbers are NLS dependents
    I hope this helps
    Best Regards
    Alfonso Vicente
    [http://www.logos.com.uy/el_blog_de_alfonso]

  • AR Customer Balances as of any point in time

    Does anyone have a script/package to calculate customer balances in AR as of a particular point in time? I know Oracle does it on the fly using the historical information but I was hoping that I didn't have to re-invent the wheel.
    Thanks

    Having same problem.

  • Restrict usage of  Tocde ME2N to only 3 users at a given point of time

    Hi All,
    The request from Project Manager is this:
    We have to allow at any point of time only 3 users to use transaction code ME2N. He will authorize this Tcode to 10 people out of which at a time only 3 should be allowed to use it.
    He is ready to modify SAP Program.
    Kindly give your inputs
    Regards,
    Fawaz

    Hi Fawaz,
    I have an idea without changing the standard.
    Block access for everyone to ME2N.
    Create a Ztable(Say ZTAB_ME2N_COUNT) with Fields MANDT and CountME2N.
    Then Create a new Report Program(say ZREP_ME2N) with the following Code;
    Data : count type i.
    Select SINGLE CountME2N from ZTAB_ME2N_COUNT INTO count.
    IF Count GT 3.
    Message 'You Are not authorised, Already 3 Users are Using this Tcode' TYPE 'I'.
    LEAVE PROGRAM.
    ELSE.
    UPDATE ZTAB_ME2N_COUNT SET CountME2N = CountME2N + 1.
    CALL TRANSACTION 'ME2N'.
    UPDATE ZTAB_ME2N_COUNT SET CountME2N = CountME2N - 1.
    ENDIF.
    Save and Activate the program.
    Now Create a ZTransaction (say ZME2N) and assign the above program to it.
    Now Give Authorisation to 10 users to ZME2N.
    This is the easiest way to achieve your requirement without changing standard SAP.
    Hope you can convince your PM with this solution, Revert back if you have doubts.
    Regards
    Karthik D

  • Time in migration status window is incorrect

    It appears as though the time in the migration status preview window is off by 4-6 hours?  I just created a test job at 11:53 AM local time and it shows as created at 5:53 PM.  The server has the correct time. 
    Anyone else seeing this? 

    Hi,
    This is Exchange forum. Actually, we have a dedicated support team regarding the Microsoft Windows Server. I recommend you ask your question on our Windows Server forum which is staffed by more experts specializing in this kind of problems. For your convenience:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?category=windowsserver
    Thanks for your understanding. If you have any problem with Exchange server, welcome to our Exchange forum.
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Point in time snapshot

    Hi,
    I'm very new to Oracle and this is my first post so if I miss anything important, please excuse my ignorance...
    We have a Oracle 10g datawarehouse which contains service desk data on tickets, agent performance etc.
    I'm specifically trying to obtain a count of tickets that were in an active status and were sat with a certain group at a certain point in time.
    The table TICKETS contains the usual ticket data, ticketnumber, open date, close date etc and the refgroup field which indicates current group ownership.
    The select statement below works for all tickets currently owned by Group1 that were active (not closed) at 00:00:00 on Monday but doesn't take into account changes in group ownership so a ticket could be counted by the statement on first run but if the group changes, it will not be included.
    We have a table which records SLA events for each ticket such as (but not only) group transfers and the date each transfer took place and this table is linked from the TICKETS table via a ticket ID field in each.
    Each row in this table has a GroupName value to show the group responsible for each event, as in the below example.
    If for example the snapshot date is 13/07/09 00:00:00, is there a way to calculate from the SLA events records as below, whether Ticket1 fits this criteria?
    This is basically an expression field in Crystal Reports so I can work with either a field that returns a 1 or 0 at the ticket level and then count within the app, or a field that returns a total count of all tickets that fit this criteria.
    Thanks alot in advance.
    Andy.
    TicketNumber GroupName EventDateTime
    Ticket1 Group1 09/07/09 08:43:21
    Ticket1 Group1 09/07/09 14:28:35
    Ticket1 Group2 14/07/09 13:12:10
    SELECT
    COUNT(TICKETNUMBER)
    FROM
    "ORGANIZATION"
    INNER JOIN "TICKETS"
    ON "ORGANIZATION"."ORG_ID" = "TICKETS"."ORGANISATION_FK"
    WHERE
    "ORGANIZATION"."ORG_NAME" = 'Org1'
    AND "TICKETS"."REFGROUP" = 'Group1'
    AND
    "TICKETS"."OPEN_DATE" < LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    AND "TICKETS"."CLOSE_DATE" > LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    OR
    "TICKETS"."OPEN_DATE" < LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    AND "TICKETS"."STATUS" <> 'Closed'
    )

    Hi,
    user11696977 wrote:
    Thanks again Frank.
    Looking at the doc you linked I think this query should do what I'm after but running it gives me an insufficient priviledges error.In case you're wondering what privileges are ineeded, under "SELECT - Prerequisites" the [SQL Language manual|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#i2065699] says:
    "To issue an Oracle Flashback Query using the flashback_query_clause, you must have the SELECT privilege on the objects in the select list. In addition, either you must have FLASHBACK object privilege on the objects in the select list, or you must have FLASHBACK ANY TABLE system privilege."
    Will have to see how this goes if I can get priviledges assigned to the account I'm using.
    SELECT
    COUNT(TICKETNUMBER)
    FROM
    "ORGANIZATION"
    AS OF TIMESTAMP LEAST(TRUNC(SYSDATE),TRUNC(SYSDATE,'IW'))
    INNER JOIN "TICKETS"
    ON "ORGANIZATION"."ORG_ID" = "TICKETS"."ORGANISATION_FK"
    WHERE
    "ORGANIZATION"."ORG_NAME" = 'Org1'
    AND "TICKETS"."REFGROUP" = 'Group1'
    AND "TICKETS"."STATUS" <> 'Closed'
    Looks good.
    This will join the organization table as it exsited at 00:00 on Monday to the tickets table as it exists at run-time.
    TRUNC (dt, x) is never later than dt, so you can just say
    AS OF TIMESTAMP TRUNC(SYSDATE, 'IW')

  • RMAN restore to point in time

    Hi all,
    I am trying to restore database to point in time. But while doing this i am getting following error.
    But backups are available. Could you please help me...
    [oracle@localhost ~]$ rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 13 11:54:41 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: ORCL (DBID=1314445644, not open)
    RMAN> run
    2> {
    3> set until time "to_date('12-02-2013 20:03:00', 'DD-MM-YYYY HH24:MI:SS')";
    4> restore database;
    5> recover database;
    6> }
    executing command: SET until clause
    Starting restore at 13-FEB-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=10 device type=DISK
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 02/13/2013 11:58:02
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    RMAN>

    Please find the details:
    RMAN> list backup;
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1 Full 1.04G DISK 00:03:11 12-FEB-13
    BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20130212T200534
    Piece Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2013_02_12/o1_mf_nnndf_TAG20130212T200534_8knnsq11_.bkp
    List of Datafiles in backup set 1
    File LV Type Ckp SCN Ckp Time Name
    1 Full 832649 12-FEB-13 /u01/app/oracle/orcl/system01.dbf
    2 Full 832649 12-FEB-13 /u01/app/oracle/orcl/sysaux01.dbf
    3 Full 832649 12-FEB-13 /u01/app/oracle/orcl/undotbs01.dbf
    4 Full 832649 12-FEB-13 /u01/app/oracle/orcl/users01.dbf
    5 Full 832649 12-FEB-13 /u01/app/oracle/orcl/example01.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2 Full 9.36M DISK 00:00:04 12-FEB-13
    BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20130212T200534
    Piece Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2013_02_12/o1_mf_ncsnf_TAG20130212T200534_8knnzzgt_.bkp
    SPFILE Included: Modification time: 12-FEB-13
    SPFILE db_unique_name: ORCL
    Control File Included: Ckp SCN: 832680 Ckp time: 12-FEB-13
    BS Key Size Device Type Elapsed Time Completion Time
    3 44.23M DISK 00:00:05 12-FEB-13
    BP Key: 3 Status: AVAILABLE Compressed: NO Tag: TAG20130212T201859
    Piece Name: /u01/app/oracle/flash_recovery_area/ORCL/backupset/2013_02_12/o1_mf_annnn_TAG20130212T201859_8knolw61_.bkp
    List of Archived Logs in backup set 3
    Thrd Seq Low SCN Low Time Next SCN Next Time
    1 3 797152 22-JUN-12 811717 22-JUN-12
    1 4 811717 22-JUN-12 832158 12-FEB-13
    1 5 832158 12-FEB-13 832625 12-FEB-13
    1 6 832625 12-FEB-13 832628 12-FEB-13
    1 7 832628 12-FEB-13 832632 12-FEB-13
    1 8 832632 12-FEB-13 834189 12-FEB-13
    RMAN> list copy;
    specification does not match any datafile copy in the repository
    specification does not match any control file copy in the repository
    List of Archived Log Copies for database with db_unique_name ORCL
    =====================================================================
    Key Thrd Seq S Low Time
    1 1 3 A 22-JUN-12
    Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2012_06_22/o1_mf_1_3_7y98vvpd_.arc
    2 1 4 A 22-JUN-12
    Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2013_02_12/o1_mf_1_4_8knnk9r3_.arc
    3 1 5 A 12-FEB-13
    Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2013_02_12/o1_mf_1_5_8knns8fs_.arc
    4 1 6 A 12-FEB-13
    Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2013_02_12/o1_mf_1_6_8knns9ob_.arc
    5 1 7 A 12-FEB-13
    Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2013_02_12/o1_mf_1_7_8knnsc0h_.arc
    6 1 8 A 12-FEB-13
    Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2013_02_12/o1_mf_1_8_8knoltyl_.arc
    7 1 9 A 12-FEB-13
    Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2013_02_12/o1_mf_1_9_8knon5bh_.arc
    8 1 10 A 12-FEB-13
    Name: /u01/app/oracle/flash_recovery_area/ORCL/archivelog/2013_02_12/o1_mf_1_10_8knpjyr7_.arc
    RMAN>

  • Mac OS deletes Bookmarks, History and files to a point of time

    hello,
    i have a serious problem! my Snow Leopard erases after returning to desktop (minimum 1 hour) from Screensaver my bookmarks always. recently it has deleted 20 GB of personal photos. every day in Crash-Log folder appearing several new log files. currently i do not use the screen saver, but it is a hard cutback.
    there are made lot of callings to the Apple support and my trader. they changed lot of hardware (without Superdrive and display), but it's the same always.
    i am really unhappy about my situation, especially about the deleted pictures. actually i am very careful with my datas. but due to the unnoticed erasing i have overwritten my backup with the wrong datas. and no, TimeMachine isn't usable with FileVault.
    my question is:
    what can I do, to trace the error? what are the first steps? software, readings etc.
    some more information about the error:
    1. the problem appeard the first after copying my entire datas from external to internal harddrive. i have executed only Apple apps (e.g. Textedit or Safari)- nothing special (e.g. addons or external apps).
    2. bookmarks become deleted only from a special point of time. after a installation i replacing the bookmark.plist for my older bookmark.plist. the erasing deletes only the newer bookmarks.
    3. with the deleted picture the special point of time is the 6th februar. not matter whether or not there was been a installation. i made lot of them. the same pictures became deleted from two different folders- very odd.
    4. in former installation, i have imported the Safari history. this is deleted to a point of time as the bookmarks, too. recently i do not copy that, and the problem didn't appeard since then.
    really thanks a lot for help!

    hello, serious thanks for trying to help!
    Is the internal drive your boot volume?
    yes, it is
    What exactly did you copy, just pics and docs and music, or did you try and move an entire account? You can copy the files, but you cannot just copy an account if it is the only account on the system.
    no, i havn't tried to copy an entire account. it is been a clean install. the problem occured the first time direct after copying my 430 GB of data and bookmarking a randomly site. after a while i copy system relevant (old) data from external drive to internal.
    after a while i copy from user library the bookmark.plist file, complete folder of "Calendar", complete folder of "Address Book" and keychains "login.keychain" file.
    You mention that you lost 20G of pics. Is this not still on your external drive? Just copy them back.
    impossible, as i have written: the erasing didn't displayed any warning or hints. after all, i backuped my (faulty) data from internal to external backup drive. after a while i recognized the erasing- to late.
    Time Machine don't support FileVault.
    The bookmarks problem. The new bookmarks are going to be lost as you are replacing the file from a previous date.
    no. once after a new clean install and copying of all my data, but without my user library and upper described data, i made a test. i bookmarked randomly an internet site and launched the screensaver. voila: bookmark gone.
    I am starting to see a pattern here and it starts with
    installing the system.
    The system comes preinstalled and you
    create an account on first boot. From that account you can
    add file and folders (doc, movies music pics) as you see fit.
    you can install apps to your hearts content,
    I have several hundred. I strongly recommend that you, as a user, do not modify anything in the system or library folders.
    sure, first appearance happend before i have copied upper described library data.
    I am not sure why you feel the need to turn on FileVault as long as you are not doing something that calls for that level of security. A quality password with at least 12 characters (numbers and letters) and there are several option in the general security pane of system preferences you could use.
    i know, but i am lot on the road with lot of personal and important data. so, in case of burglary i know that my data is safe.
       You appear to be reinstalling your system on different occasions. Back up your system before any changes that you do! There are basically two options for install OSX erase and install and install. A install will upgrade your system and leave your account in tact (you must turn off  fileVault). So your account is the same as before you did the install and nothing has to be changed for Safari or your printers. If you move your account back from a previous backup, it may be out of sync with the version that you installed. Should you with to reinstall your account, either use timemachine of migration assist.
    i make always a clean install. first i erase with Disk Utility my drive, once i have overwritten entire drive with 0. then i install Mac OS, activate FileVault, activate encoding RAM, copy my data.  
    Be careful with your files and do check the dates on the files that you rare moving. Copy over newer ones and data will be lost!
    i am very carefully with my data. after every backupping my system, i am checking randomly the backup.

  • Migration Status report

    HI
    Shared services status report is not being updated, when ever we kick off any batch or any migration defination i do not see the migration status report being updated.
    can any one help me with this isssue.
    Thanks,

    Could it be that the username that you are using for the migration doesn't have all of the rights it needs for the app you are trying to migrate?
    IOW, have you tried it with just plain admin instead of test_admin?
    Regards,
    Cameron Lackpour

  • Structuring a Business Area for Reporting Periods and Points in Time

    Dear all,
    I'm in the process of designing my first business area for discoverer.
    The database is for people staying in accommodation over various periods.
    (Anything from individual days to periods of 15 years!!)
    The reports I'm producing fall into two categories:
    (a) Reports on periods of time such as:
    Accomodation days during a year broken down by Region
    Trend of accommodation days per month during a two year period
    (b) Reports on a particular point in time such as:
    Number of people in accommodation on a particular day
    I'm trying to work out how to structure the business area.
    If I think about requirement (a), I'm inclined to create a view which
    splits up periods into one month chunks (the smallest period I think I need).
    By this I mean having a view which gives me a row for every month for which any period of accommodation is active. This makes reporting on a monthly basis fairly easy.
    If I think about (b), I'm inclined to create a view which leaves the accommodation periods as single rows and then calculate a boolean field which indicates whether that accomodation is active on the date in question.
    It seems that these two requirements need different structures in the business area. Maybe it's best to create two folders which draw on the two different views.
    Any thought would be appreciated.
    Regards
    Suhada

    Hi,
    As you would probably expect, it all depends on your requirement and the table design.
    You can create a date hierarchy in Discoverer that contains the day, month, year levels and this will make it easy to create reports with totals aggregated at these levels.
    However, if your table contains, for example, the start and end dates when people move in and out of accommodation, then you will need to have a period table so that you can report on the months between the start and end dates. The period table will list all past and future months and you can join this to your data to obtain totals for all the periods.
    If you need to have reports that display zeros or nulls for periods where there is no data, then you will need to outer join your data with a period table.
    The decision on whether to use views or folders and joins in the EUL depends on the complexity of your data model. If you need to join many tables together to produce a single report, then you should consider putting some or all the joins into database views.
    Hope that helps,
    Rod West

  • How to find all those list of SAP standard and custom objects that are changed from a specific point of time

    Hi all,
    Please let me know the process to track or find all the SAP Standard and custom objects. that got changed from a specific point of time.
    Is there any function module or any table where this change log is maintained.?
    I just only need the details ,wheather that SAP standard or Custom object has got changed or not.
    Thanks in advance

    Hi RK v ,
    I really don't know what your actual requirement is , but if you want to know the objects as per the modification , then transport request will be much help to you .
    Have a look into table E070 and E071 .
    Regards ,
    Yogendra Bhaskar

  • Problem in performing multiple Point-In-Time Database Recovery using RMAN

    Hello Experts,
    I am getting an error while performing database point in time recovery multiple times using RMAN. Details are as follows :-
    Environment:
    Oracle 11g, ASM,
    Database DiskGroups : DG_DATA (Data files), DG_ARCH(Archive logs), DG_REDO(Redo logs Control file).
    Snapshot DiskGroups :
    Snapshot1 (taken at 9 am): SNAP1_DATA, SNAP1_ARCH, +SNAP1_REDO
    Snapshot2 (taken at 10 am): SNAP2_DATA, SNAP2_ARCH, +SNAP2_REDO
    Steps performed for point in time recovery:
    1. Restore control file from snapshot 2.
         RMAN> RESTORE CONTROLFILE from '+SNAP2_REDO/orcl/CONTROLFILE/Current.256.777398261';
    2. For 2nd recovery, reset incarnation of database to snapshot 2 incarnation (Say 2).
    3. Catalog data files from snapshot 1.
    4. Catalog archive logs from snapshot 2.
    5. Perform point in time recovery till given time.
         STARTUP MOUNT;
         RUN {
              SQL "ALTER SESSION SET NLS_DATE_FORMAT = ''dd-mon-yyyy hh24:mi:ss''";
              SET UNTIL TIME "06-mar-2013 09:30:00";
              RESTORE DATABASE;
              RECOVER DATABASE;
              ALTER DATABASE OPEN RESETLOGS;
    Results:
    Recovery 1: At 10.30 am, I performed first point in time recovery till 9:30 am, it was successful. Database incarnation was raised from *2* to *3*.
    Recovery 2: At 11:10 am, I performed another point in time recovery till 9:45 am, while doing it I reset the incarnation of DB to *2*, it failed with following error :-
    Starting recover at 28-FEB-13
    using channel ORA_DISK_1
    starting media recovery
    media recovery failed
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 03/06/2013 11:10:57
    ORA-00283: recovery session canceled due to errors
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
    start until time 'MAR 06 2013 09:45:00'
    ORA-00283: recovery session canceled due to errors
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '+DG_REDO/orcl/onlinelog/group_1.257.807150859'
    ORA-17503: ksfdopn:2 Failed to open file +DG_REDO/orcl/onlinelog/group_1.257.807150859
    ORA-15012: ASM file '+DG_REDO/orcl/onlinelog/group_1.257.807150859' does not exist
    Doubts:
    1. Why did recovery failed 2nd time, but not 1st time and why is RMAN looking for online redo log group_1.257.807150859 in 2nd recovery ?
    3. I tried restoring control file from AutoBackup, in that case both 1st and 2nd recovery succeeded.
    However for this to work, I always need to keep the AutoBackup feature enabled.
    How reliable is control file AutoBackup ? Is there any alternative to using AutoBackup, can I restore control file from snapshot backup only ?
    4. If I restore control file from AutoBackup, then from what point of time/SCN does RMAN restores the control file ?
    Please help me out in this issue.
    Thanks.

    992748 wrote:
    Hello experts,
    I'm little newbie to RMAN recovery. Please help me in these doubts:
    1. If I have datafiles, archive logs & control files backup, but current online REDO logs are lost, then can I perform incomplete database recovery ?yes, if you have backups of everything else
    2. Till what maximum time/scn can incomplete database recovery be performed ??Assuming the only thing lost is the redo logs, you can recover to the last scn in the last archivelog.
    3. What is role of online REDO logs in incomplete database recovery ? They provide the final redo changes - the ones that have not been written to archivelogs
    Are they required for incomplete recovery ?It depends on how much incomplete recovery you need to do.
    Think of all of your changes as a constant stream of redo information. As a redolog fills, it is copied to archive, then (eventually) reused. over time, your redo stream is in archivelog_1, continuing into archvivelog_2, then to 3, and eventually, when you get to the last archivelog, into the online redo. A recovery will start with the oldest necessary point in the redo stream and continue forward. Whether or not you need the online redo for a PIT recovery depends on how far forward you need to recover.
    But you should take every precaution to prevent loss of online redo logs .. starting with having multiple members in each redo group ... and keeping those multiple members on physically separate disks.

Maybe you are looking for

  • I forgot my passcode and my ipad is disabled.I have never done a sync with a PC and I can't complete the download on my PC too

    Hello, I need your help to restore my IPAD (4g - 32MG). I uptaded the IOS7 on my Ipad yesterday and I made a mistake of not writing down the passcode on a paper. After trying unsuccessfuly to have access to it, my IPAD was disabled. I went to the sto

  • Trouble printing to a network printer

    I am having trouble getting me mac to print to a network printer. I can go to add printer, it sees the network and the printer. The mac has the software as a choice, Canon MX320, and adds the printer just fine. But when I go to actually print somethi

  • Generating a Link Report?

    I create PDFs that contain many numbered PDF attachments inside. (01 Title doc.pdf, 02 Expense report.pdf, 03 Summary.pdf, etc) I link to these attachments from within the "Go to Page View" link option. All works fine, but I am unable to check the li

  • Migrating Software RAID 1 ?!

    Hello all, i just installed my new SSD on which i'm doing a fresh install of my OS, although have now run into an issue with regaining the software raid 1 i had setup on 2 external drives with the old OS. Can i possibly migrate this raid 1 to the fre

  • Acquisition Tax Account is missing

    Forum, When trying to add an AP Invoice with 'service type' lines I get the following error: "Acquisition Tax Account is missing" Where's this defined? The version of SBO is 2007A Regards, Juan