RMAN 9i and 10g

Hi
In 10g the I just renamed the database(its not using ASM) and with recovery catalog I got :
Why I cannot see the list of incarnation in 9i? Should I run NID on both the envirionments to refeister them with the catalog?
Thanks in Advance
Regards
C:\Documents and Settings\XXX>rman target sys/pwd@tns catalog user/pwd@tns
Recovery Manager: Release 10.1.0.4.0 - Production
Copyright (c) 1995, 2004, Oracle. All rights reserved.
connected to target database: ABC1 (DBID=307316191)
connected to recovery catalog database
RMAN> register database ;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of register command on default channel at 08/30/2007 16:37:58
RMAN-20002: target database already registered in recovery catalog
RMAN> list incarnation of database;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
468 475 EFG 307316191 PARENT 1 25-FEB-05
468 469 EFG 307316191 PARENT 303040 30-AUG-07
468 4052 ABC 307316191 CURRENT 350434 30-AUG-07
This is the output from 9i:
C:\Documents and Settings\XXX>rman target sys/pwd@tns catalog user/pwd@rcat
Recovery Manager: Release 9.2.0.6.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: ABC (DBID=2556242117)
connected to recovery catalog database
RMAN> register database;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of register command on default channel at 08/30/2007 16:38:3
8
RMAN-20002: target database already registered in recovery catalog
RMAN> list incarnation of database;
RMAN>
Message was edited by:
Singh

Thanks for your time and reply and showing concern Daljit
Here is what I did on 10g. Can you please tell me the other method to rename the database other than using create controlfile?
Her is what I did on 10g environment and it worked but it didn't work on 9i:
RMAN> UNREGISTER DATABASE;
database name is "ABC1" and DBID is 307316191
Do you really want to unregister the database (enter YES or NO)? yes
database unregistered from the recovery catalog
RMAN> REGISTER DATABASE;
database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
RMAN>
on 9i I get:
RMAN> unregister database;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00558: error encountered while parsing input commands
RMAN-01005: syntax error: found "identifier": expecting one of: "allocate, alter
, backup, beginline, blockrecover, catalog, change, connect, copy, create, cross
check, configure, duplicate, debug, delete, drop, exit, endinline, host, {, libr
ary, list, mount, open, print, quit, recover, register, release, replace, report
, renormalize, reset, restore, resync, rman, run, rpctest, set, setlimit, sql, s
pool, startup, shutdown, send, show, test, upgrade, validate"
RMAN-01008: the bad identifier was: unregister
RMAN-01007: at line 1 column 1 file: standard input
On Recovery catalog database for 9i environment I get:
SQL> select * from user_catalog;
TABLE_NAME TABLE_TYPE
DB TABLE
RMAN_SEQ SEQUENCE
NODE TABLE
CONF TABLE
DBINC TABLE
CKP TABLE
TS TABLE
TSATT TABLE
DF TABLE
DFATT TABLE
OFFR TABLE
TABLE_NAME TABLE_TYPE
RR TABLE
RT TABLE
ORL TABLE
RLH TABLE
AL TABLE
BS TABLE
BP TABLE
BCF TABLE
CCF TABLE
XCF TABLE
BSF TABLE
TABLE_NAME TABLE_TYPE
BDF TABLE
CDF TABLE
XDF TABLE
BRL TABLE
BCB TABLE
CCB TABLE
SCR TABLE
SCRL TABLE
CONFIG TABLE
XAL TABLE
RSR TABLE
TABLE_NAME TABLE_TYPE
FB TABLE
RC_DATABASE VIEW
RC_DATABASE_INCARNATION VIEW
RC_RESYNC VIEW
RC_CHECKPOINT VIEW
RC_TABLESPACE VIEW
RC_DATAFILE VIEW
RC_REDO_THREAD VIEW
RC_REDO_LOG VIEW
RC_LOG_HISTORY VIEW
RC_ARCHIVED_LOG VIEW
TABLE_NAME TABLE_TYPE
RC_BACKUP_SET VIEW
RC_BACKUP_PIECE VIEW
RC_BACKUP_DATAFILE VIEW
RC_BACKUP_CONTROLFILE VIEW
RC_BACKUP_SPFILE VIEW
RC_DATAFILE_COPY VIEW
RC_CONTROLFILE_COPY VIEW
RC_BACKUP_REDOLOG VIEW
RC_BACKUP_CORRUPTION VIEW
RC_COPY_CORRUPTION VIEW
RC_OFFLINE_RANGE VIEW
TABLE_NAME TABLE_TYPE
RC_STORED_SCRIPT VIEW
RC_STORED_SCRIPT_LINE VIEW
RC_PROXY_DATAFILE VIEW
RC_PROXY_CONTROLFILE VIEW
RC_RMAN_CONFIGURATION VIEW
RC_DATABASE_BLOCK_CORRUPTION VIEW
RC_PROXY_ARCHIVEDLOG VIEW
RC_RMAN_STATUS VIEW
RCVER TABLE
RC_BACKUP_FILES VIEW
65 rows selected.
SQL>
Should I need to delete the entries from:
RC_DATABASE and
RC_DATABASE_INCARNATION
and try to register again?
Best Regards

Similar Messages

  • RMAN Cumulative and differential level 1taking too much time

    hi,
    I am attempting to HOT backup my 600 GB database to backup into Tape using NMO 5 EMC Networker 7.6.
    My networker server is on Win Serv 2003.
    My oracle database is on RHEL 4.5 Architecture ia64
    Oracle DB Version 10.2.0.4.0
    Using ASM
    Using EMC Storage as Databse storage
    Using tape backup media type LTO-Ultrium-5
    No of chaneels used same for bothLevel 0 & 1 is 4
    there are 60 Datafiles fior the database
    i am atttempting incremental backup[Hot] backup
    for Incrementa Level 0 is taking 90 Minutes to complete.
    BUT leve1 backup [Both differential and cumulative] are taking almost the same time as taken for Level 0 backup
    almost 80Mins.
    but the backup Set size for Level 0 is almost 500 GB and Sizes for any Level 1 backup not more than 200MB.
    i am confused if both LEVEL 0 AND LEVEL 1 BACKUP should take the same span of time.
    please help to reduce the time to complete the Level 1 backups..
    thanks in advance

    RMAN incremental level 1 and up will have to verify every block in the data files to identify if any modifications have occurred. The time it takes to complete the incremental backup will depend on how much changed. Are you using the latest patches? There are known bugs that can affect performance problems with RMAN backup and recovery. Otherwise, check the Oracle documentation to troubleshoot RMAN.
    Block change tracking as already mantioned, introduced in 10g, can greatly speed up your incremental level 1 and up backups.
    From what I understand:
    SQL> ALTER DATABASE ENABLE BLOCK CHANGE TRACKING USING FILE '/mydir/rman_change_track.f';
    As soon as block change tracking is enabled, Oracle starts to record every block that updates. The information is stored in a bitmap inside the BCT file. Every incremental backup causes a bitmap swtich in the BCT file.
    If there exists a previous bitmap beside the current bitmap, then an incremental level 1 backup will only backup the blocks according to the current bitmap. Incremental level 1 backups are differential backups by default. If there is no previous bitmap, the RMAN backup will perform a conventional scan of the database as usual.
    The bitmap logic applies also to cumulative level 1 incremental backups, which will use all the bitmaps recorded since the last bitmap switch from a level 0 incremental backup. Due to the limit of 8 bitmaps, a cumulative incremental level 1 backup will have to perform a conventional scan of the database, if you make a level 0 database backup followed by 7 differential incremental backups.

  • RMAN restore from 10g to 11g

    Dear All,
    I have full rman backup and archivelog pieces where the version is 10.2.0.1.
    Now I have prepared a server with oracle 11g and same mount points and want to restore the database from those pieces.
    Is it possible?
    If yes then what extra precautions and necessary things I need to do before or after the restoration?
    Thanks in advance.

    Megatron wrote:
    No. I just want to upgrade my db. So that I plan to follow the below steps
    1. install oracle 11g software only in my new machine.
    2. copy the backup pieces from 10G server to 11G server.
    3. Run the rman restore and recover command.
    Will it be any issue?Yes, it is issue.
    You have to upgrade the database.
    Run from source 10g database, @?/rdbms/admin/utlu111i.sql
    In upgrade mode @?/rdbms/admin/catupgrd.sql
    after opening database in 11g @?/rdbms/admin/utlrp.sql

  • Streams between 9i Enterprise and 10g Standard

    Hi,
    I'm currently trying to configure streaming between an oracle 9i Enterprise database and a 10g Standard Database. First of all, I would like to know if this is a configuration that can be done.
    Actually I'm facing some problems on the 9i side... I tried to configured it manually and also through our grid control interface which prodvides a Streams Setup Wizard. In both case, I'm getting an "ORA-03113: end-of-file on communication channel" error when trying to access the DBMS_STREAMS_ADM package...
    I'm trying to follow a step by step procedure to configure streams that can be found at:
    http://www.scribd.com/doc/123218/Oracle-Streams-Step-by-Step-Doc
    If anyone has another procedure to provide me with or knows what could be the problem please let me know.
    Thanks for your help !

    Hi Radhika,
    there are lot of diffrence between 9i and 10g rman
    some are :-
    1.in 10g we can compress rman backup
    backup as compressed backupset database;
    2.in 10g block change tracking fetaure are available this feature greatly improve the speed of incremental backup .
    3.10g No need to take a backup of database after resetlogs of database on incomplete recovery.
    4.rman uses flash back recovery area for storing rman backup set.
    all these fetaure are not avaliable in 9i.
    Thanks and Regards
    Kuljeet Pal Singh

  • RMAN / channels and device types

    Hello,
    I have a question.
    In the RMAN documentation (for instance in "Oracle Database Backup and Recovery Advanced User's Guide 10g Release 2") one can find the description / instructions how
    to allocate RMAN channels and define the device types.
    There are 2x described device types - DISK and SBT (Tape).
    My question is:
    IS IT POSSIBLE TO USE A PIPE AS A RMAN DEVICE TYPE ?
    If it is not possible to define direct, perhaps there is a possibility to define it
    indirect and to use a pipe to write data.
    Regards.
    Neitour

    Thank you for the link. Is it this RMAN 'duplicate database' option, what you
    would like to recommend me to use?
    I think, it is not exactly what I really need. For 'duplicate database' I will need
    to have as a source a backup of the database and not a running productive
    database.
    Is it correct?
    If it is, it is not what I'd like to do.
    I'd like to make a copy of a productive running database, which is placed on ASM
    storage, to another server creating such a way a database also placed on ASM
    storage. I'd like to do it directly. I think the best possible way can be
    RMAN / BACKUP --> PIPE --> RMAN / RESTORE.
    The issue is - how can I configure RMAN to write BACKUP into a PIPE and
    to read data for RESTORE from a PIPE.
    Any ideas?
    Regards
    Neitour

  • RMAN start_time and End time in Oracle 9i .

    Hi ,
    To find exact time duartion for RMAN backup on 10g i used following query .
    select operation, start_time, end_time from V$RMAN_STATUS where start_time > sysdate -1 and operation='RMAN' ;
    But in Oracle 9i v$RMAN_STATUS view doesn't exist .
    How to find exact start-time and completion time for each Daily backup on Oracle 9i.
    Thanks .

    Hi,
    You can use the public synonym V$BACKUP_PIECE. It will give the information for all backup pieces start time, end time and all other related information to the backup.
    Regards

  • Sorting in 6i and 10g reports

    Hello All,
    I am running 6i and 10g reports against a 10g database.
    I ran one of the 6i report and it generated a report in one sorting ordear
    and when i ran the same report on 10g ,it generated the report in ddifferent order.
    Both the reports r run against the same 10g database.
    The order by clause on the columns of the records r identical.
    Now i wanted to understand how it is sorting in different orders in both 6i and 10g reports?
    Thanks,
    Ranz

    Hi,
    Please note the fact that 6i Reports is not certified to work with 10g Database. Hence it becomes impossible to address the sorting behavior of 6i Reports, though there is nothing different in the way it works. I would suggest you to use 10gR2 version of Reports services with 10g Database which is certified and supported. Thanks for your understanding.
    Regards,
    Anand

  • Dflt report in 6i and 10g

    Hi
    I am trying to get a tillslip to print correctly after converting from reports 6i to 10g. The problem i think is that the outputfile generated in the 6i version is diffrent from the output file in 10g. The 10g version looks similar to postscript while the 6i output file does not mean anything to me.
    If i open the 6i test.dflt file it looks something like: =c0c1c32R
    If i open the 10g test.dflt file it looks something like:
    %!PS-Adobe-3.0 %
    %Creator: Oracle Toolkit 2 for Motif 10.1.2.0.2 PRODUCTION
    Using the 6i output file i can print the tillslip correctly in both the 6i and 10g environments. Using the 10g output file all the char in the output file prints including the comments (the %!PS-Adobe-3.0 % bit also)
    Any ideas how to get the output file the same. All report settings (DESFOTMAT, DESTYPE, ...) are the same. The dflt.prt file only differs as follows:
    printer "dflt"
    height 66
    width 80
    after page control(L)
    return        ""  (this line in 6i file is: return        "M" )
    linefeed control(J)
    Any ideas will be helpfull. I have tried creating the report as a .rtf, .pdf and .ps file and all of them print with the code inside and not just the tillslip info.
    Thanks

    Hi
    I afound that the problem is that the app server does not know about the printer as it is connected to a users PC. Thus when using the dflt desformat it selects the default printer language of the App Server printer. This is the reason why the files are diffrent.
    If I understand everything the process should be:
    1 - Run the report from forms (on app server).
    2 - Write the report to a file on App Server and then transfer the file to the user PC.
    3 - Send file correct printer on the user PC.
    The problem still remains on how to create the correct file which can be send to the printer connected to the users PC as the driver of the correct printer is not known too the App Server. The printer still prints the file incorrectly as the file is not created using its drive as what the case was when running it in 6i.
    Setting the MODE to character (which will enable you to provide a .prt file if you had one to give) will not work as the report contains an image.
    Regards
    Edited by: hfp843 on Sep 17, 2008 2:28 AM

  • Occasional ora-6502 using forms 6i and 10g

    Hi all.
    We have been experiencing some weird and unexpected ora-6502 errors in some of our forms 6i modules running against 10g (rel 1 or 2).
    Forms modules are correctly functioning and for some reason, one day an ora-6502 error suddenly pops up.
    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.
    I know that this may sound hard to believe, but it has happened several times. All we do is put some message built in, recompile all, and the error is gone (for a while).
    So my questions are:
    - Is this a known issue beween forms 6i and 10g Db?.
    - Is there a patch on Metalink ( we use Forms [32 bits] Versión 6.0.8.26.0 (Producción))
    - A workaround?
    and most important
    - Have anyone been exposed to a similar situation?
    Regards, Luis ...!

    Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.Sounds like the form has not been "clean compiled" against the server on which it is running. Try a "Compile All", which causes all previously compiled program units to be compiled fresh.
    Or even better, clean out all the compiled code from your fmb before compiling the fmb on the server where it runs.
    See this topic:   Re: Why does this happen - find ';', replace with ';'?

  • Designer 6i and 10g on the same machine?

    I have Designer 6i and corresponding repository on my machine.
    The problem with 6i I can't save diagramm in HTML format
    I believe I can save in HTML format in 10g or other?
    Can I install on the same machine 10g designer?
    should I configure new repository?
    TIA

    See my update on your earlier question.
    As for running 6i and 10g on the same machine, yes you can do it. You just have to install them in separate Oracle Homes, and be careful when you tell them which version of EXP and IMP to use. There is one MAJOR caveat, however. They cannot use the same Designer Repository - 6i client won't talk to a 10g repository and 10g client won't talk to a 6i repository. You can upgrade a 6i repository to 10g with the RAU, but take a backup before you do - the only way to go back is to restore your backup. Besides, I think that if you upgrade to the last supported version of Designer 6i (you should be able to get it from MetaLink) you will get the Publish Diagrams utility.
    Frankly, my opinion is that there is only one reason to stay on 6i - if you need to generate and support 6i client/server Oracle Forms. If you don't use Oracle Forms, or if you have moved on to Web Forms with the middle tier Forms Server, I'd recommend an upgrade to Designer 10g and Developer 10g.

  • Calling shared objects in unix from Forms 6i and 10g

    I would like to know how to call shared objects in unix from Froms 6i and 10g. Can anybody help in this regard? Your help is very well appreciated.

    Hi,
    Do you have any 11i instance where those custom forms are used? If yes, you will have to copy those forms from 11i to R12 instance, open the forms using Forms 10g builder, compile it and upload it back to the server.
    Note: 427879.1 - How To Customize And Compile An Application Seeded Form (FMB) Or Library (PLL)?
    Note: 743490.1 - Customization in Oracle Applications
    Note: 563258.1 - How To Upgrade 11i Custom Forms And Reports To R12
    Regards,
    Hussein

  • Using get_application_property(CONFIG) in 6i and 10g

    Hi,
    for a short time, our application has to run with 6i and 10g at the same time. We have to use the new constant CONFIG also in 6i. How can I mask this constant that it works correctly. Implementing it like this doesn't work:
    PROCEDURE gui$new_session
    IS
    pl_id ParamList;
    form_name varchar2(100);
    lo_connect varchar2(250);
    lo_url varchar2(200);
    lo_conf varchar2(50);
    co_config CONSTANT NUMBER := 'CONFIG';
    BEGIN
    form_name := replace(pdb_anwendung.get_anw_exe('PRAG_MENUE45'), '.FMX','');
    IF get_application_property(USER_INTERFACE) <> 'WEB' THEN
    RUN_PRODUCT(FORMS, form_name, ASYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    ELSE
    lo_connect := get_application_property(USERNAME)||'/'||get_application_property(PASSWORD)||'@'||get_application_property(CONNECT_STRING);
    lo_conf := get_application_property(co_config);
    lo_url := 'javascript:window.open("/forms/frmservlet?config='||lo_conf||'&form='||form_name||'&userid='||lo_connect||'","","location=no,toolbar=no,menubar=no,status=no,");self.close();';
    WEB.SHOW_DOCUMENT(lo_url,'_blank');
    END IF;
    END;
    Unfortunately, I can't set the constant CONFIG directly into get_application_property (what is working properly used directly in 10g) because then I get a compilation error in 6i. Can somebody help me?
    Regards,
    Heike

    Clearly...
    co_config CONSTANT NUMBER := 'CONFIG';... won't work because you are assigning a varchar value to a number. CONFIG (without the quotes) is a built-in constant in Forms 10g that has a value of 221. So you could try this (notice there are no single quotes)...
    co_config CONSTANT NUMBER := CONFIG;... but I doubt that will compile in 6i as CONFIG won't be defined. So maybe you could use...
    co_config CONSTANT NUMBER := 221;It's bad practice to hard-code a value like that though.

  • Query using Materalized view in oracle 9i and 10g

    Hello
    There are snapshots (materialized view) used in my application. We have recently migrated from 9i to 10g release 2 database.
    After migration i have observed explain plan of query which is using materialized view and i found in 9i oracle treating materalized view as table. In 10g oracle is considerting it as MVIEW only (MAT_VIEW ACCESS BY INDEX ROWID). However in 10g cost of query which is using materialized view is much higher than 9i. And execution time is also random.
    Can anbody pls. expalin diff. of materalized view access in oracle 9i and 10g.
    Thanks

    can you post your query with explain plan for both 9i version and 10g version.
    Thanks,
    karthick.

  • At least 6 differences between Oracle 9i and 10g with complete understan

    Hi 2.     
    At least 6 differences between Oracle 9i and 10g                    with complete understanding of each difference .
    cheers

    Hi,
    Forum thread already opened by you
    check what is the major difference between 9i and 10g
    regards,
    kaushal

  • Running 8i and 10g on same UNIX server

    Greetings,
    I am a developer playing DBA, so please forgive me if these are elementary questions. I have no DBA support.
    I have a Solaris 8 server currently running operational software using 8i. My requirement is to load and test 64bit 10g without interfering with the operational system, then test the s/w. Later, I need to switch from 8i to 10g with little or (preferably) no downtime. It would be nice run the two in parallel before the switchover.
    I have a duplicate setup in the development lab, which is what I am working on right now.
    I was able to get 10g loaded without any apparent problems. However, when I try to run 8i and 10g, the listener’s conflict.
    After reading through various forums this morning, I have a few questions that I am hoping someone can answer.
    1. Oracle 8i is owned by user oracle. I loaded 10g as user ora10g. Should I have loaded 10g as user oracle? If so, how do I keep it from overwriting critical 8i files that are in /usr/local/bin, etc?
    2. Oracle 8i’s ORACLE_HOME is /usr/opt/oracle. 10g’s is /export/ora10g. Does 10g need to be in /usr/opt/ora10g? If so, can I set up a link to simulate this, or do I need to reload?
    Thanks in advance,
    Linda

    Won't say much about the platform (solaris) aspect here but anyway...
    1. You could and sometimes should have a different oracle software owner user for installing/managing software, either is ok. You also might want a different group to own the oraInventory (software catalog).
    You can always enter somethng other than default when prompted by root.sh - why not e.g. /home/ora10g/bin?
    2. I dont think it needs to be installed anywhere, but /export is a bit unusual isn't it? Used for nfs etc.

Maybe you are looking for