About database incarnations in catalog versus non-catalog

Hi all
Listing out the incarnations of my target database when not connected to the recovery catalog :
RMAN> list incarnation of database testdb;
using target database control file instead of recovery catalog
List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
1       1       TESTDB   2539541829       PARENT  1          11-JUL-11
2       2       TESTDB   2539541829       PARENT  591584     12-JUL-11
3       3       TESTDB   2539541829       PARENT  2061948    19-JUL-11
4       4       TESTDB   2539541829       ORPHAN  1345130669 13-MAY-13
5       5       TESTDB   2539541829       CURRENT 1345130669 15-MAY-13And listing out the incarnations when connected to the catalog:
RMAN> list incarnation of database testdb;
List of Database Incarnations
DB Key  Inc Key DB Name  DB ID            STATUS  Reset SCN  Reset Time
1178485 1178523 TESTDB   2539541829       PARENT  1          11-JUL-11
1178485 1178524 TESTDB   2539541829       PARENT  591584     12-JUL-11
1178485 1178525 TESTDB   2539541829       PARENT  2061948    19-JUL-11
1178485 1178526 TESTDB   2539541829       ORPHAN  1345130669 13-MAY-13
1178485 1178486 TESTDB   2539541829       CURRENT 1345130669 15-MAY-13Why are INC KEY numbers not matching? Is this a bug or is it expected behaviour?
Please help me shed some light on this..
Thanks.

Hi,
Manual said:
DB Key- When combined with the Inc Key, the unique key by which RMAN identifies the database incarnation in the recovery catalog. Use this key to unregister a database from a recovery catalog, that is, delete all the rows associated with that database from the recovery catalog.
INC Key- When combined with DB Key, the unique key by which RMAN identifies the database incarnation in the recovery catalog. Use this key in RESET DATABASE TO INCARNATION when recovering the database to a time before the most recent RESETLOGS.
<<http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta027.htm#CHDGGAFF>>
recovery-catalog and control file-catalog is a catalog of different, So not match.
Regards,

Similar Messages

  • To calculate the size of backup for a particular database in RMAN catalog

    Hi ALL,
    Could you please guide me how I can calculate the size of backup data for a particular database in Recovery Catalog, if I am using Tapes as my backup media for recovery catalog.
    Regards
    Harpreet Singh

    Hi,
    I am not Up to the mark of your question ..
    If you see the V$log you can get it.. Size of the redo logs can be determined either by examining the file system size or by reading the BYTES column on the V$LOG view. Then Check the number of redo Logs avaialble checked whether they are mirrored or etc., Combining the two figures we have a total redo log data at peak in one day. This is the amount of data that any backup facility or storage of Archive Redo Logs would have to take into account. This figure should be mitigated against the fact that manual switching of redo logs means that not all archived redo logs will be the full size.
    - Pavan Kumar N

  • Doubt about Scan and Update Catalog Objects That Require Updates link

    Hi,
    I have a doubt about 'Scan and Update Catalog Objects That Require Updates' link in Administration,
    how can I know how many objects that required upgrading before I click this link???
    in doc.
    http://docs.oracle.com/cd/E28280_01/bi.1111/e10541/prescatadmin.htm#BIESG3750
    section 17.2.4 Updating Catalog Objects
    It is said 'You can confirm the need to update by viewing the metrics in Fusion Middleware Control. In the Catalog folder, find a metric called "Reads Needing Upgrade" with description "The number of objects read that required upgrading." '
    but I don't find it . my OBIEE version :11.1.1.6.2
    conld you pleae help me ??
    thank you in advance.

    That link should be there in 6 version.
    I've verified in 11g6 version doc the same is existing
    ref: http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/prescatadmin.htm#BAJDDFFI
    BTW:
    http://docs.oracle.com/cd/E28280_01/bi.1111/e10541/prescatadmin.htm#BIESG3750is 11g7 version
    Thanks,
    http://cool-bi.com

  • Create a clone database form rman catalog !

    Dear Friend ,
    I have a rman catalog database . I am using this rman catalog for against a database name 'testdb' . Everyday I take rman full backup of the testdb using the catalog database .
    Now I create a another database which will be the clone of the testdb . I want to create it using that rman catalog database . Can I create a new database using the catalog database ?
    If yes, then plz help me to give some directions .....

    Check here:
    [http://www.shutdownabort.com/quickguides/clone_rman.php]
    [Duplicating a Database with Recovery Manager|http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#441628]
    Oracle documentation Link added.

  • Registering Clone database in Recovery catalog

    Can we able to register the clone database in recovery catalog database without changing dbid?
    I don't want to use dbid utility.
    Is that any parameter?
    Regards,
    Latha

    Well you can register it without changing any parameters in oracle 10.2
    That does not mean you should do it.
    I would have answered as follows:
    It is not a good idea to register a clone database in the same recovery catalog as the original database as the recovery catalog uses the dbid to identify the database and having two databases with the same dbid essentially corrupts the recovery catalog.
    If you change the dbid then it is perfectly okay to store the cloned database in the same recovery catalog.

  • Unregister database from the catalog

    Is it possible to cancel the registration of a database from the catalog?

    First you should delete all backups from the catalog database for the target. This isn't required but is easier accomplished with the target still registered.
    Next, you'll need to obtain the DB_KEY and DBID from the RC_DATABASE view in the RMAN schema in the catalog database. Then you'll run the following as the RMAN user connected to the RMAN catalog database in SQL*Plus.
    execute dbms_rcvcat.unregisterdatabase(DB_KEY,DBID);

  • RMAN and database incarnations

    In experimenting with RMAN, I got our team into a situation where a test database would not restore and recover. I performed an incomplete recovery, opened resetlogs, and without performing a backup, did the same thing again.
    In any case, we started reading up on how to return to a previous database incarnation. We're not using a Recovery Catalog w RMAN, but 10g has been enhanced so that the control file now tracks db incarnations.
    We set the db incarnation back 2 previous, and then performed:
    RMAN> restore database until "to_date('9/2/04 23:59:59','mm/dd/yy hr24:mi:ss');
    RMAN> recover database until "to_date('9/2/04 23:59:59','mm/dd/yy hr24:mi:ss');
    and all seems well.
    I have 2 questions:
    1) Was the return back 2 incarnations really necessary? It seems like the database would've considered the 2 lines above an incomplete recovery and restore/recovered anyway.
    2) Do I need to manually remove the archive logs created for incarnations 3 & 4, or will RMAN know that they are not applicaable? And how does it know they're inapplicable, if so? The incarnation?
    Thanks for reading this looong question,
    Chuck

    In experimenting with RMAN, I got our team into a situation where a test database would not restore and recover. I performed an incomplete recovery, opened resetlogs, and without performing a backup, did the same thing again.
    In any case, we started reading up on how to return to a previous database incarnation. We're not using a Recovery Catalog w RMAN, but 10g has been enhanced so that the control file now tracks db incarnations.
    We set the db incarnation back 2 previous, and then performed:
    RMAN> restore database until "to_date('9/2/04 23:59:59','mm/dd/yy hr24:mi:ss');
    RMAN> recover database until "to_date('9/2/04 23:59:59','mm/dd/yy hr24:mi:ss');
    and all seems well.
    I have 2 questions:
    1) Was the return back 2 incarnations really necessary? It seems like the database would've considered the 2 lines above an incomplete recovery and restore/recovered anyway.
    2) Do I need to manually remove the archive logs created for incarnations 3 & 4, or will RMAN know that they are not applicaable? And how does it know they're inapplicable, if so? The incarnation?
    Thanks for reading this looong question,
    Chuck

  • Where to learn about database tuning from?

    Hello,
    I need to learn more about database tuning - practical aspect. Are there any sites/services that could help me? I can't use production environment of course, I need to prepare my own ones (Oracle DBs on linux and windows too) and workload too. How to simulate workload from many users?
    Thanks in advance for help
    Aliq

    How do you learn to paint? You can read every book on the subject, attend lectures by famous artists on paints and brushes and styles and what not..
    None of this will turn you into an artist that can paint. Theory only goes that far.
    And this is as true in performance tuning as in painting. You need to run into that brick wall called experience over and over again - and each time learn hard lessons that no theory can ever teach.
    If performance tuning was that easy, we would have had fully automated tuning software in operating systems and database systems that could detect and fix all our performance woes on the fly.
    Does not work like that.
    Also, performance tuning is many times seen as an "after the fact" thing. Design the system. Code the software. Implement it. Then tune it.
    Wrong. Also does not work like that.
    Performance tuning begins at the very first workshop when brainstorming the basic design of the system. If performance and scalability are not part of that process, they cannot easily (if at all) be made to be part of the final system as a tuning exercise.
    If I need to pass a single fundamental "uber-alles" principle for performance tuning - when dealing with it after the fact (as many of us do), then it is:
    Identify The Problem
    Do not confuse symptoms as the actual problem.
    PS. Performance tuning is also many time (IMO) a situation where you have lost. Why? Because of if the code was designed and coded correctly, then there would not have been a performance issue. If the Oracle architecture was understood correctly, there would not be a problem. Which makes the advice by the other 2 posters so important. Understand Oracle. Understand how to design and code in Oracle. If done well, what is there left to performance tune?

  • Few basic questions about database administration

    Hello,
    I have a few basic questions about database administration.
    1. I switched one of my oracle instances to archivelog mode. I just cannot locate the archive log files on my windows system. The %ora_home%/ora92/database/archive directory is desperately empty...
    2.What is the tools01.dbf datafile used for?
    3.What is the undotbso1.dbf datafile used for?
    Thanks in advance,
    Julien.

    1. The archive log location needs to be specified in your init.ora file. By default, Oracle will place the archive files in either ORACLE_HOME/dbs or ORACLE_HOME/database.
    2. The tools01.dbf file belongs to the tools tablespace which should be set as the default tablespace for system. It primary purpose is to hold Oracle Forms and Reports database objects, however, it should also be used for holding other non sys database objects such as the perfstat (statspack) or other third party database schemas e.g. quests sqllab.
    3. undotbs01.dbf file belongs to the undo tablespace.

  • Database Incarnation

    Hi all
    Does it matter whether after a database incarnation has been made that there are files from both incarnations around? I performed a test recovery from tape, basically all files that could be used to recover, to a test server, and performed an Oracle (full database) suggested recovery. It worked, but in the aftermath, there are archivelogs with different database incarnation number, and redo logs with differerent incarnation number. I understand that the database is essentially a 'new database' as far as creation is considered.
    Thanks, David

    Hi Nicolas
    Yes, I was actually doing a restore from one machine to another so the incarnation was different. My confusion was about whether having files with different incarnation numbers around made a difference; logically it can't - except for maybe my suspicion. The restore was an OEM rman suggested recovery; don't think it did resetlogs. It was a total (all files) recovery.
    Thanks, David

  • CI versus Non CI PDF documents

    is there a way to determine a CI versus Non-CI format PDF document without having to open it first? Ie is this information in the file tag? If so how is it read or queried from the file system?
    Using Adobe Acrobat 6.0 standard

    Never heard the term before - love to know where it comes from.
    However, to answer your question...No, there is no way to tell without opening the PDF up AND looking at each page. since it's possible that some pages have been OCR'd, but others have not.

  • Unicode installation versus none Unicode

    Hello every one:
    My system is 4.7 retention 200 nonunicode system. Finally my installation CD's have arrived and I was hopeful I have everything in place. However, As I am starting the upgrade (Prepare phase) it is complaining that my system is not unicode system and prepare shuts down.
    I thought I have option for upgrading the system to ECC6 without moving to Unicode. Sure thing when I checked the Master upgrade DVD all the files inside is unicode. Is this mean I have to upgrade to unicode system for ECC6?
    Also, I am checking the software download depot, I do not see any upgrade package for none unicode system. Can some one shed some light on this issue?
    Regards,
    KG

    Thanks every one for the reply. However, I am not sure if that is freezable in our environment since English is the only language we will be using. Also I found a Q&A regarding Unicode versus none unicode. In this note basically it is saying none unicode version of ERP2005 will be supported.
    Can you please answer this question, I have 2 sets of installation CD's, One is netweaver 2004S and the other ERP2005. This is confusing me as which upgrade CD's I should be using?
    The only media list I am finding is for netweaver2004S. I undrestand ERP2005 technology is based on  netweaver2004, but why 2 sets of different installation DVD's?
    I want to upgrade from 4.7 extention 200 to ECC6, which installation CD's and installation Guides do I use?
    Regards,
    KG

  • Can a fusion web application run on smart phones also? Then what about database for mobiles?

    Sir,
    Can a fusion web application run on smart phones also? Then what about database for mobiles?
    Regards

    Any web application can run on smart phone because you are accessing it from browser so no need for database or application server on your mobile
    It is same as accessing any website on mobile
    If you are talking about mobile app
    check this - http://www.oracle.com/technetwork/developer-tools/adf-mobile/overview/adfmobile-1917693.html
    Ashish

  • Query a database block based on a non-database block

    hi everybody
    can anybody help me as how to query a database block based on a non-database block, without a master-detail relationship?
    i have a block : date_input which contains a non-database item: start_date
    another database block (event_block)containing details of an event
    i have to input a date in the start_date and query the event_block
    in wich trigger should i insert the code?
    thanks

    If you are trying to query your database block (event_block) using the value from start_date in your non-database block, then you can set the Where clause in the database block using:
    SET_BLOCK_PROPERTY ('event_block', DEFAULT_WHERE, 'your where clause that includes start_date');
    Place this statement in a trigger that is executed prior to the block being queried.

  • Industrial engineer study about Database System

    Hello, i'm Industrial engineering student now. I want to ask all of you. Is valuabel if i learn about Database System in my major?

    oppusunggu wrote:
    Oh i'm sorry about that. Now i'm studying Industrial Engineering in scholar Program. I live in Indonesia. As employee, Industrial engineer can improve efficiency in many aspect in the enterprise. So, is there any chance that i can improve efficiency Database System? Coz, in semester 5 i had study about Information System.On one contracting job, my boss had been an industrial engineer, so then he was a project lead. We became good friends, even though he introduced me to my wife :-) (wife's stepfather and he had worked together at an aerospace company previously). Certainly his background helped in project implementation.
    As to improving database system efficiency, it is yes and no. No, you aren't likely to get into internals and compete against people with CS doctorates, but yes because applications do need an eye towards efficiency, and applications are where the money goes. As with so many things, it's the combination of technical ability and another kind of analytical ability that make you valuable to business. Business analysis goes through cycles and fads, what was once called business process reengineering will be called something else and have its gurus (just this morning I got an email about how BPM can improve my business). Just don't fall for any pie-in-the-sky internet entrepreneurs who promise to have the next SAP, go mainstream first, with at least what we in the US call a Masters degree.

Maybe you are looking for