Change DBID

Hi,
on 11g R2 I have some manually copied databases. I back up them in nocatalog mode. Then in controlfiles.
I heard about DBID and then I looked at documentation that says :
Because Recovery Manager (RMAN) distinguishes databases by DBID, you could not register a seed database and a manually copied database together in the same RMAN repository. Then can we say DBID is not a concern/problem for me because I do not have a RMAN repository and it is not necessary to change DBID of copied databases ?
Thank you.

user522961 wrote:
Hi,
on 11g R2 I have some manually copied databases. I back up them in nocatalog mode. Then in controlfiles.
I heard about DBID and then I looked at documentation that says :
Because Recovery Manager (RMAN) distinguishes databases by DBID, you could not register a seed database and a manually copied database together in the same RMAN repository. Then can we say DBID is not a concern/problem for me because I do not have a RMAN repository and it is not necessary to change DBID of copied databases ?
Thank you.it depends.
answer depends upon what you are going to restore where.
DBID must be unique on single system.

Similar Messages

  • Changing DB Name - Should I Also Change DBID?

    hi everyone,
    This is a 10g database on Windows,
    I want to rename a database. I discovered also that the global_name is the default of "CAIPDUM.REGRESS.RDBMS.DEV.US.ORACLE.COM"
    All my other instances have simply the db name so I will also change that awful global_name to simply match my new database name.
    OK - Should I also change the DBID value? Would there be some advantage to always changing the DBID anytime the name was changed?
    Thanks. John

    You don't have to change DBID once DB_NAME changed. They are serving quit different purpose and not closely related.
    Check more info here.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm#i1004599

  • Restore old rman backup after changing dbid?

    Hi,
    I backed up database using rman. then i changed dbid for that databases. can i restore backup what i backed up before changing DBID?

    No.
    When you change the DBID for a database, it becomes a different database. All the datafiles are stamped with the new DBID.
    And you cannot select a DBID value either, so you cannot choose to change the DBID back to the previous value.
    A RESTORE verifies that it is restoring to the same database -- it uses the DBID to verify. Since the DBIDs for the Backup and the now-present database do not match, a RESTORE cannot be attempted.
    You can remove the database with the changed DBID and do a complete RESTORE from the backup.
    Hemant K Chitale

  • How to change DBID of cloned Databse after cloning?

    Hi,
    After cloning, the DBID of primary & Cloned database have the same DBID.
    I want to know how to change the DBID of cloned instance?.

    Refer these for examples
    http://gavinsoorma.com/2009/07/change-dbid-of-database/
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/dbnewid.htm
    http://fugoconsulting.wordpress.com/2011/06/20/changing-dbid-in-oracle-database/

  • Change DBID to a specified one

    Hi,
    Can I change DBID to specified one (given)?
    (Oracle 11.2 SE)
    Thanks

    C:\Users\MIBBDD>RMAN TARGET /
    Recovery Manager : Release 11.2.0.1.0 - Production on MiÚ Feb 20 08:57:55 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    conectado a la base de datos destino: FRAN (DBID=431027568)
    RMAN> shutdown immediate;
    se utiliza el archivo de control de la base de datos destino en lugar del catßlogo de recuperaci¾n
    base de datos cerrada
    base de datos desmontada
    instancia Oracle cerrada
    RMAN> startup nomount;
    conectado a la base de datos destino (no iniciada)
    instancia Oracle iniciada
    Total del ┴rea Global del Sistema    1636814848 bytes
    Fixed Size                     2176248 bytes
    Variable Size                973081352 bytes
    Database Buffers             654311424 bytes
    Redo Buffers                   7245824 bytes
    RMAN> set DBID 865720134
    ejecutando el comando: SET DBIDor
    DBNEWID utility:
    http://docs.oracle.com/cd/A97630_01/server.920/a96652/ch14.htm

  • Change DBID for primary database

    Hello All,
    We are have Quality and Production database. The quality database has a active DR setup and the standby database is in sync with the primary.
    Now we have a issue, Production and Quality have a same DBID (quality was refreshed with production's database with SAP tools) due to which we are unable to register it to RMAN catalog.
    The question I have is, lets say I change the DBID using the NID tool, using NID tool will perform "alter database open resetlogs" and it means old backups will be void and new redo logs will generate.
    Will this affect/invalidate the standby database because of the open reset logs statement? Do I need to rebuild the standby database after changing the DBID of primary database?
    Thanks all in advance.
    Regards,
    Bala

    you cannot have different DBID for production and standby databases, physical standby is a exact replica, so DBID will also be same.
    Yes, if you change the DBID of primary , you will have to rebuild the standby database which will have same DBID again
    About Standby Database Registration
    .http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmcatdb.htm#BRADV89654

  • Change DBID on RAC System

    There is alot of documentation on changing the DBID of a cloned database on non-rac databases. What do you think will be the differences if I try it on a RAC 10g system?

    gotta take 1 of the nodes out of cluster mode first.
    Backup the database
    Shutdown both instances cleanly
    make 1 of the instances cluster_Datbase= false
    Startup that instance mount onlu
    then run nid utility
    shutdown
    startup mount
    alter database open resetlogs
    cluster_database=true for that instance
    shutdown the current instance and start all isntances cleanly with rac commands if possible

  • Change dbid without touching readonly-tablespaces

    When I start dbnewid it tells me I need to change some datafiles to readwrite to be able to change the dbid for those readonly-files. I want to change the dbid without changing those files to readwrite.
    Is it possible to change the dbid for a database (10g) without touching the readonly-tablespaces?

    newdbid is changing control file and data file headers information.
    If tablespace is read only, it's not able to change info.
    But there is workaround
    Read this one:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm#i1004775
    At the very end are mentioned restrictions:
    All read-only tablespaces must be accessible and made writable at the operating system level prior to invoking DBNEWID. If these tablespaces cannot be made writable (for example, they are on a CD-ROM), then you must unplug the tablespaces using the transportable tablespace feature and then plug them back in the database before invoking the DBNEWID utility (see the Oracle Database Administrator's Guide).

  • Changing dbid

    Gurus,
    Can I change the dbid of a databae to whatever number I want?

    That's not possible, this number has been codified with internal information and it's meant to uniquely identifiy a database. Authorized utilities and procedures to change the dbid are the only supported methods to change it.
    C:\Oracle\product\10.2.0\db_3\jdk\bin>nid
    DBNEWID: Release 10.2.0.1.0 - Production on Wed May 9 05:02:59 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Keyword     Description                    (Default)
    TARGET      Username/Password              (NONE)
    DBNAME      New database name              (NONE)
    LOGFILE     Output Log                     (NONE)
    REVERT      Revert failed change           NO
    SETNAME     Set a new database name only   NO
    APPEND      Append to output log           NO
    HELP        Displays these messages        NO

  • Cloning a database using rman where source's dbid changed..

    Any idea on how to .. cloning a database using rman where source's dbid changed..

    if you need to change dbid of target then use DUPLICATE command, see the below links.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmdupdb.htm#i1008888
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php

  • Changing SID

    Hello everyone,
    I use Oracle 10g R2 on Fedora Core 4.
    I was trying to change the SID of my test database.
    What I did was:
    1- Shutting down the Instance
    2- changing ORACLE_SID Environment Variable (I also changed the oracle user's .bash_profile, cause I set all required variables in there)
    3- changing the PFILE's name and content (I use SPFILE, but I've created a PFILE from the SPFILE and I've changed its name and content)
    4- changing the content of tnsnames.ora and listener.ora
    5- creating a new password file with a new name
    then:
    sqlplus "/ as sysdba"
    startup;
    and database started successfully.
    but then, when I was trying to startup oracle's listener, I couldn't..
    Here is the error:
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 12-MAY-2006 13:05:47
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.2.0/oraHome/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    System parameter file is /u01/app/oracle/product/10.2.0/oraHome/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.2.0/oraHome/network/log/listener.log
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=TestSys)(PORT=1521)))
    TNS-12560: TNS: protocol adapter error
    TNS-00583: Valid node checking: unable to parse configuration parameters
    Listener failed to start. See the error message(s) above...
    here is the listener.ora:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = TestSys)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = tDbSID)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/oraHome)
    PFILE (inittDbSID.ora):
    tDbSID.__db_cache_size=79691776
    tDbSID.__java_pool_size=4194304
    tDbSID.__large_pool_size=4194304
    tDbSID.__shared_pool_size=75497472
    tDbSID.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/testDb/adump'
    *.background_dump_dest='/u01/app/oracle/admin/testDb/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='/u01/app/oracle/oraData/testDb/control01.ctl','/u01/app/oracle/oraData/testDb/control02.ctl','/u01/app/oracle/oraData/testDb/control03.ctl'
    *.core_dump_dest='/u01/app/oracle/admin/testDb/cdump'
    *.db_block_size=8192
    *.db_domain='TestSys'
    *.db_file_multiblock_read_count=16
    *.db_name='testDb'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS'
    *.user_dump_dest='/u01/app/oracle/admin/testDb/udump'
    and tnsnames.ora:
    TESTDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = TestSys)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = tDbSID)
    The error is talking about an error in parsing the listener file.
    But the file looks alright. I thought maybe something else causing this problem.
    Someone in another forum has mentioned that I had to use NID. But NID is just for changing DBID and DbNAME, not SID.
    Any Idea, Please?
    Thanks in advance
    Amir Gheibi

    Thanks a lot for the reply,
    Eventually someone got what I mean?
    Actually that's the place that I found my answer few days ago and I've done the same thing and endup with this problem.
    So when I published my problem, everyone keep telling me use NID.
    Now, do you think the problem is in the Listener.ora?
    Because, as you can see in the first post, the error is talking about parsing problem.
    Thanks again
    Amir

  • NI SQL database changing name of field

    I'm connected to a NI database. I want to change the name of a field. Can I just change the database scheme, or is there something more to be done?

    see the metalink note Note:224266.1, if you have metalink account. This note has clearly explained hoe to change DBID and DBNAME. I used to follow these steps when changing DBID and DBNAME.

  • Dbid in transportable tablespaces

    Is it necessary to have same DBID for rman transportable tablesapace or for normal exp/imp transportable tablespace ?

    Pascal Nouma wrote:
    Hi Kamran
    Someone in database general forum posted that, dbid is essential. Is he wrong?
    transport tablespace from raw to cooked
    I forget to mark question as resolved sorry about thatI don't like to say someone's answer that it's "right" or "wrong". But according to Oracle documentation, there's no any need for two databases to have same dbid to transport tablespace between them. Generally, database's have different unique DBID which make them different from others. So if you have two databases which runs on Linux and Windows OS and you want to transport a tablespace between them, you don't need to changed dbid of one of them.
    Moreover, you can refer to documentation: [Limitations on Transportable Tablespace Use|http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/tspaces013.htm#i1007233]

  • Logical Standby Database and XMLDB

    I couldn't find a proper group to post this message and thought I would try here.
    I want to set up a Logical Standby Database for our production database server 9.2.0.4.0 with XMLDB. I am having problem with some system tables that were created when I registered some XML schemas.
    These tables are in the standby database but Oracle complains the object does not exist.
    Any idea?

    >
    The "may be" is because I have tested flashback of a physical standby to before resetlogs, but not a logical standby.
    >
    A physical standby keeps the DBID of the primary - a logical standby does not. That is exactly the problem that restricts the reconversion into physical from logical, and you did not encounter that problem.
    >
    I haven't used "keep identity" but from what I read it relates to "convert to physical" not "flashback database".
    >
    Exactly. And that is what the OP wants to do: convert to physical (from logical).
    You mentioned that this might be possible with flashback.
    Problem: During the conversion from physical to logical, the DBID gets changed unless you specify (in 11g) KEEP IDENTITY. This would make it possible to reconvert into phyiscal from logical.
    In short: If there is no solution for the changed DBID of the logical standby in order to flashback it into physical as you suggested, then it is not possible .
    When I saw your first answer, I thought that you might have a solution in mind in order to solve that obvious problem. Sorry for having bothered you.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Logical standby database to physical standby database

    I already start my logical standby database and I want to return it again to physical standby database. So what should I do?

    >
    The "may be" is because I have tested flashback of a physical standby to before resetlogs, but not a logical standby.
    >
    A physical standby keeps the DBID of the primary - a logical standby does not. That is exactly the problem that restricts the reconversion into physical from logical, and you did not encounter that problem.
    >
    I haven't used "keep identity" but from what I read it relates to "convert to physical" not "flashback database".
    >
    Exactly. And that is what the OP wants to do: convert to physical (from logical).
    You mentioned that this might be possible with flashback.
    Problem: During the conversion from physical to logical, the DBID gets changed unless you specify (in 11g) KEEP IDENTITY. This would make it possible to reconvert into phyiscal from logical.
    In short: If there is no solution for the changed DBID of the logical standby in order to flashback it into physical as you suggested, then it is not possible .
    When I saw your first answer, I thought that you might have a solution in mind in order to solve that obvious problem. Sorry for having bothered you.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

Maybe you are looking for

  • RFC - Receber chamada do R/3 ao gravar VENDA

    Caros, Sou novato nas tecnologias SAP e estou em um projeto para desenvolvimento da integração "Payment Card Interface to R/3". Estamos desenvolvendo com o SAP Java Connector 3 e a princípio já tenho o meu JCOServer executando e conectado no sistema

  • Problem with links for external user

    Hi, We´re using SAP NetWeaver Portal 2004s SPS 10 and we have a problem with links within notification-mails: The link to the document (e.g. within a subscription mail) consists of "http:///...". Only user using the portal within our network can open

  • Workbook Query Description

    Hi Experts, I have a requirement to add to 2 queries to a workbook. (BI 7.0) I run the report in analyzer and saved it as workbook. I inserted a new sheet and in the design mode added the 2nd query to the workbook with the help of analysis grid. Both

  • Do not updated quantity in transit field in DELINS JIT

    Hi, I have EDI defect in hand which states that Quantity field in transit for DELINS JIT has to be not updated. What exactly this means? Can any one let me know what needs to be done? Raghuram.

  • Unable to print after new router installed

    After having a new router installed by our cable supplier, I have been unable to use my printer with my laptop nor my desktop computer.  Do I need to uninstall and reinstall my printer on both computers?