DBID and DBNAME
We are using oracle 10.2.0.3 RAC in window environment and have two instances with different database installed on the same host. If we are going to use RMAN and not going to use recovery catalog, is there impact if our dbid and dbname are the same for the two database (because the second one is restored from the first one) ? Of course, the dbuniquename is different.
Thanks !
DBID and DBNAME should be unique for each independent database. You can use DBNEWID to change both.
Similar Messages
-
Oracle 10 Express Edition, SID and DBNAME HELP!!!
Hi i'm from Russia and my english is very bad!
Please, help!
I'm use Oracle 10 Express Edition and i have a problem:
My soft use speciefied database name, how i can (and may be then)
rename SID and DBNAME?
I .. change instance with "oradim" ,and change SID, DBNAME with "nid"
I change not listener configuration.
Please, help me. ...Thank'sThe Express Edition SID is 'XE'.
If you change that, it is quite possible your database instance will stop working - or worse, work mostly, but not correctly all the time. XE is a special configuration and stuff like the SID are hardcoded in funny areas.
The database registers itself with the listener. You should not need to change the listener configuration. -
Hello
Are dbid and dbname stored in both controlfile, datafile and redologs ?Scofield wrote:
Hello
Are dbid and dbname stored in both controlfile, datafile and redologs ?Well the answer is yes but I would suggest that one should think little bit deeply about it. If its not there in these files, how would they come to know for which db they are working?
HTH
Aman.... -
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 GheibiThanks 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 -
Colne db2 to db1 on same server ??
I have 2 DB, lets call them db1 and db2....
lets say i want to restore db2 into db1....
and they are both on the same server...
db2 get loaded with some new data...and now we want db2 to reflect
as db1 (without replication)...as we want to do a restore of db1
couple of times after our stress testing is done..
both DB are up and running, i take a backup of db2...
then how do i proceed? how can i used backup of db2 and restore it into db1?..
if i were to start db2 restore, it will obviously start the restore but will have same dbid and
and db name (that is db2)...i know i can use nid tool to change dbid and dbname later...but
what are the exact step...i am not sure of that...
from what i can tell...these are teh steps i can think of...
take backup of db2..
then shutdown db2, and db1
delete db1 ...
then what do i do here??
restore db2 (if i do this, wouldnt it overwrite db2, so how can i clone db2) ???
and at the end use nid to changed the DBID and DB_NAME..i am on 10.2.0.3 on hp-uxHi S2K,
Best option is to use the duplicate command.
Check this link on how to set it up.
http://www.stanford.edu/dept/itss/docs/oracle/10gR2/backup.102/b14191/rcmdupdb001.htm
Only db1 needs to be changed to nomount and some parameters need to be set to avoid overwriting (DB_FILE_NAME_CONVERT, LOG_FILE_NAME_CONVERT) controlfile, new dbid are all automatic just as the rename of the database.
Regards,
Tycho -
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.
-
Hi,
Database 10g (10.2.0.1)
OS : redhat 4
I want to change my test database name .
Please give me the instruction for the same and
is there any difference to change the name in windows enviornment.
Thanks.Using DBNEWID (nid) Utility, you can change the DBID and DBNAME of a Database.
Carefully follow the Oracle Documentations.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dbnewid.htm#sthref1850
Regards,
Sabdar Syed.
Info added.
Message was edited by:
Sabdar Syed -
DMV use Cross Apply and too much result
Hi
Here are my code for query DMV, but some column Is repeated, how can I filter it (last_exection_time) ?
I just wnat find T-SQL query information(only select), and it must include query text、targert db、source application(from connection string )、and other needed !
You can change database name and where conditional, for your testing ! Thanks
SELECT DB_NAME(DMV_QueryText.dbid) as 'DBName',
DMV_Sessions.program_name as 'ApplicationName',
DMV_QueryText.text as 'SQL Statement',
execution_count as 'Count',
--last_rows, (for SQL 2012 only)
last_execution_time as 'Last Execution Time(ms)',
last_worker_time as 'Last Worker Time(ms)',
last_physical_reads as 'Last Physical Reads(ms)',
last_logical_reads as 'Last Logical Reads(ms)',
last_logical_writes as 'Last Logical Writes(ms)',
last_elapsed_time as 'Last Elapsed Time(ms)'
FROM sys.dm_exec_query_stats AS DMV_QueryStats
CROSS APPLY sys.dm_exec_sql_text(plan_handle) AS DMV_QueryText
cross Apply sys.dm_exec_sessions as DMV_Sessions
WHERE DMV_QueryText.objectid is null and DB_Name(DMV_QueryText.dbid)='YourDB' and PatIndex('select %',DMV_QueryText.text)>0
and DMV_Sessions.program_name is not null and DMV_Sessions.program_name in('app1','app2','app3','app4')
-- order by DMV_QueryStats.execution_count desc
order by DMV_QueryStats.last_worker_time desc
my407swThere is no relationship between sys.dm_exec_query_stats and
sys.dm_exec_sessions and thus you are getting a Cartesian product, every combination of query stat record and session.
sys.dm_exec_sessions shows the "aggregate performance statistics for cached query plans in SQL Server 2012"
http://msdn.microsoft.com/en-us/library/ms189741.aspx and is not tied in any way to a session.
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com -
Hello
As far as I know, dbname and dbid is stored in archivelogs.
When I clone the database "orcl" to different server with database name "orcltest" , and mount the database, I can apply the archivelogs of "orcl".
Does that mean that,the dbname and dbid in archivelogs ignored?Yes, you can rename the database with a CREATE CONTROLFILE and apply ArchiveLogs from the "old" DB Name as long as the DBID is not changed.
(eg see http://hemantoracledba.blogspot.com/2009/05/rename-database-while-cloning-it.html )
A dump of an archivelog shows that it does have both the DBID and the DB_NAME.
However, Oracle (seems to) need only verify the DBID when doing a RECOVER. -
[bdb bug]repeatly open and close db may cause memory leak
my test code is very simple :
char *filename = "xxx.db";
char *dbname = "xxx";
for( ; ;)
DB *dbp;
DB_TXN *txnp;
db_create(&dbp,dbenvp, 0);
dbenvp->txn_begin(dbenvp, NULL, &txnp, 0);
ret = dbp->open(dbp, txnp, filename, dbname, DB_BTREE, DB_CREATE, 0);
if(ret != 0)
printf("failed to open db:%s\n",db_strerror(ret));
return 0;
txnp->commit(txnp, 0);
dbp->close(dbp, DB_NOSYNC);
I try to run my test program for a long time opening and closing db repeatly, then use the PS command and find the RSS is increasing slowly:
ps -va
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
1986 pts/0 S 0:00 466 588 4999 980 0.3 -bash
2615 pts/0 R 0:01 588 2 5141 2500 0.9 ./test
after a few minutes:
ps -va
PID TTY STAT TIME MAJFL TRS DRS RSS %MEM COMMAND
1986 pts/0 S 0:00 473 588 4999 976 0.3 -bash
2615 pts/0 R 30:02 689 2 156561 117892 46.2 ./test
I had read bdb's source code before, so i tried to debug it for about a week and found something like a bug:
If open a db with both filename and dbname, bdb will open a db handle for master db and a db handle for subdb,
both of the two handle will get an fileid by a internal api called __dbreg_get_id, however, just the subdb's id will be
return to bdb's log region by calling __dbreg_pop_id. It leads to a id leak if I tried to open and close the db
repeatly, as a result, __dbreg_add_dbentry will call realloc repeatly to enlarge the dbentry area, this seens to be
the reason for RSS increasing.
Is it not a BUG?
sorry for my pool english :)
Edited by: user9222236 on 2010-2-25 下午10:38I have tested my program using Oracle Berkeley DB release 4.8.26 and 4.7.25 in redhat 9.0 (Kernel 2.4.20-8smp on an i686) and AIX Version 5.
The problem is easy to be reproduced by calling the open method of db handle with both filename and dbname being specified and calling the close method.
My program is very simple:
#include <stdlib.h>
#include <stdio.h>
#include <sys/time.h>
#include "db.h"
int main(int argc, char * argv[])
int ret, count;
DB_ENV *dbenvp;
char * filename = "test.dbf";
char * dbname = "test";
db_env_create(&dbenvp, 0);
dbenvp->open(dbenvp, "/home/bdb/code/test/env",DB_CREATE|DB_INIT_LOCK|DB_INIT_LOG|DB_INIT_TXN|DB_INIT_MPOOL, 0);
for(count = 0 ; count < 10000000 ; count++)
DB *dbp;
DB_TXN *txnp;
db_create(&dbp,dbenvp, 0);
dbenvp->txn_begin(dbenvp, NULL, &txnp, 0);
ret = dbp->open(dbp, txnp, filename, dbname, DB_BTREE, DB_CREATE, 0);
if(ret != 0)
printf("failed to open db:%s\n",db_strerror(ret));
return 0;
txnp->commit(txnp, 0);
dbp->close(dbp, DB_NOSYNC);
dbenvp->close(dbenvp, 0);
return 0;
DB_CONFIG is like below:
set_cachesize 0 20000 0
set_flags db_auto_commit
set_flags db_txn_nosync
set_flags db_log_inmemory
set_lk_detect db_lock_minlocks
Edited by: user9222236 on 2010-2-28 下午5:42
Edited by: user9222236 on 2010-2-28 下午5:45 -
Oracle 10 Express Edition, SID, DBNAME
Hi i'm from Russia and my english is very bad!
Please, help!
I'm use Oracle 10 Express Edition and i have a problem:
My soft use speciefied database name, how i can (and may be then)
rename SID and DBNAME?
I .. change instance with "oradim" ,and change SID, DBNAME with "nid"
I change not listener configuration.
Please, help me. ...Thank'sI have created INITAPTQ.ORA in C:\ORACLEXE\APP\ORACLE\PRODUCT\10.2.0\SERVER\DATABASE, then
C:\>set oracle_sid=aptq
C:\>sqlplus / as sysdba
"Connected to an idle instance."
SQL> startup
ORA-02778: Name given for the log directory is invalid ???
Further I change a name of a folder "C:\oraclexe\app\oracle\admin\XE" on "C:\oraclexe\app\oracle\admin\APTQ, and receive:
SQL> startup
ORACLE instance started.
Total System Global Area 146800640 bytes
Fixed Size 1286220 bytes
Variable Size 62918580 bytes
Database Buffers 79691776 bytes
Redo Buffers 2904064 bytes
ORA-00205: error in identifying control file, check alert log for more info
SQL> shutdown
ORA-01507: database not mounted
ORACLE instance shut down.
Then I change C:\oraclexe\oradata\XE on C:\oraclexe\oradata\APTQ and I receive the following:
SQL> startup
ORACLE instance started.
Total System Global Area 146800640 bytes
Fixed Size 1286220 bytes
Variable Size 62918580 bytes
Database Buffers 79691776 bytes
Redo Buffers 2904064 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
Further I create a copy of an operating file
SQL> alter database backup controlfile to trace resetlogs
2 /
SQL> shutdown
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
I find the created file C:\oraclexe\app\oracle\admin\APTQ\udump\aptq_ora_xxx.trc
and I change it to:
STARTUP NOMOUNT
CREATE CONTROLFILE set DATABASE "APTQ" RESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\APTQ\ONLINELOG\O1_MF_1_2BPOYSNZ_.LOG' SIZE 50M,
GROUP 2 'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\APTQ\ONLINELOG\O1_MF_2_2BPOYVLK_.LOG' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'C:\ORACLEXE\ORADATA\APTQ\SYSTEM.DBF',
'C:\ORACLEXE\ORADATA\APTQ\UNDO.DBF',
'C:\ORACLEXE\ORADATA\APTQ\SYSAUX.DBF',
'C:\ORACLEXE\ORADATA\APTQ\USERS.DBF'
CHARACTER SET WE8MSWIN1252
Then I keep under a name aptq.sql and
I delete a controlfile "C:\oraclexe\oradata\APTQ\Control.dbf"
then:
SQL> @c:\oraclexe\app\oracle\admin\aptq\udump\aptq.sql
ORACLE instance started.
Total System Global Area 146800640 bytes
Fixed Size 1286220 bytes
Variable Size 62918580 bytes
Database Buffers 79691776 bytes
Redo Buffers 2904064 bytes
Control file created.
SQL> alter database open resetlogs
2 /
Database altered.
SQL> select status from v$thread
2 /
STATUS
OPEN
SQL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 146800640 bytes
Fixed Size 1286220 bytes
Variable Size 62918580 bytes
Database Buffers 79691776 bytes
Redo Buffers 2904064 bytes
Database mounted.
Database opened.
and...........
SQL>connect sys/1@APTQ as sysdba
Connected.
SQL>
YES, it has turned out!!!!!!
Reboot...
The service "OracleServiceAPTQ" after rebooting was not started and
it is necessary to do the following:
To start service manually, then
C:\>set oracle_sid=APTQ
C:\>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 5 11:50:56 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 146800640 bytes
Fixed Size 1286220 bytes
Variable Size 62918580 bytes
Database Buffers 79691776 bytes
Redo Buffers 2904064 bytes
Database mounted.
Database opened.
SQL> connect sys/1@aptq as sysdba
Connected.
What to do further? How to get rid of superfluous actions? -
Questions regarding *dump_dest parameters and fast_recovery_area
Hello,
I just installed a fresh new 11.2.0.2 Database on Solaris 10.
Everything straightforward on the parameter side!!! I tried custom install as well as general purpose template. When installing with DBCA, I set every parameters around DB Name in lowercase name.
With this, questions are popping in my mind regarding some parameters after installation.
First, %dump_dest parameters contains in path, two times the db name (ocpdb in my case):
background_dump_dest /u01/app/oracle/diag/rdbms/ocpdb/ocpdb/trace
user_dump_dest /u01/app/oracle/diag/rdbms/ocpdb/ocpdb/trace
core_dump_dest /u01/app/oracle/diag/rdbms/ocpdb/ocpdb/cdumpIs it normal to have ..../rdbms/dbname/dbname/..... as path, with dbname/dbname ??? Why?
Second, the question regarding the directory structure under fast_recovery_area (new term for flash_recovery_area). The directory structure:
oracle@enalab13:/u01/app/oracle/fast_recovery_area$ ls -l
total 2
drwxr-x--- 2 oracle oinstall 512 2010-10-28 19:53 ocpdb
drwxr----- 5 oracle oinstall 512 2010-10-29 07:44 OCPDB
oracle@enalab13:/u01/app/oracle/fast_recovery_area$ ls -l ocpdb
total 9528
-rw-r----- 1 oracle oinstall 9748480 2010-10-31 21:09 control02.ctl
oracle@enalab13:/u01/app/oracle/fast_recovery_area$ ls -l OCPDB/
total 3
drwxr----- 5 oracle oinstall 512 2010-10-31 03:48 archivelog
drwxr----- 3 oracle oinstall 512 2010-10-29 07:44 autobackup
drwxr----- 3 oracle oinstall 512 2010-10-29 07:43 backupsetWhy am I having a subdir with dbname in uppercase AND in lowercase? Should I specify dbname in uppercase at db creation to have all files under the same directory, or in lowercase? Or, is it normal?
I want to know how to do it well before reinstalling a fresh database.
Thanks
Bruno
Edited by: blavoie on Oct 31, 2010 6:18 PM
Edited by: blavoie on Oct 31, 2010 6:20 PMHi,
I just reinstalled all from scratch, everything in lowercase as well in environment variables and dbname in dbca:
oracle@enalab13:~$ echo $ORACLE_SID
ocpdbFast recovery area directories, dates prove that it's my fresh install:
oracle@enalab13:/u01/app/oracle$ ll fast_recovery_area/
total 2
drwxr-x--- 2 oracle oinstall 512 2010-11-02 11:06 ocpdb
drwxr-x--- 4 oracle oinstall 512 2010-11-02 11:24 OCPDB
oracle@enalab13:/u01/app/oracle$ ll -R fast_recovery_area/
fast_recovery_area/:
total 2
drwxr-x--- 2 oracle oinstall 512 2010-11-02 11:06 ocpdb
drwxr-x--- 4 oracle oinstall 512 2010-11-02 11:24 OCPDB
fast_recovery_area/ocpdb:
total 9528
-rw-r----- 1 oracle oinstall 9748480 2010-11-02 11:34 control02.ctl
fast_recovery_area/OCPDB:
total 2
drwxr-x--- 3 oracle oinstall 512 2010-11-02 11:24 archivelog
drwxr-x--- 2 oracle oinstall 512 2010-11-02 11:06 onlinelog
fast_recovery_area/OCPDB/archivelog:
total 1
drwxr-x--- 2 oracle oinstall 512 2010-11-02 11:24 2010_11_02
fast_recovery_area/OCPDB/archivelog/2010_11_02:
total 47032
-rw-r----- 1 oracle oinstall 48123392 2010-11-02 11:24 o1_mf_1_5_6f0c9pnh_.arc
fast_recovery_area/OCPDB/onlinelog:
total 0Some interresting output asked earlier in post:
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 4
Next log sequence to archive 6
Current log sequence 6
SQL> show parameter recovery
NAME TYPE VALUE
db_recovery_file_dest string /u01/app/oracle/fast_recovery_area
db_recovery_file_dest_size big integer 4032M
recovery_parallelism integer 0
SQL> show parameter control_files
NAME TYPE VALUE
control_files string /u01/app/oracle/oradata/ocpdb/control01.ctl,
/u01/app/oracle/fast_recovery_area/ocpdb/control02.ctl
SQL> show parameter instance_name
NAME TYPE VALUE
instance_name string ocpdb
SQL> show parameter db_name
NAME TYPE VALUE
db_name string ocpdb
SQL> show parameter log_archive_dest_1
NAME TYPE VALUE
log_archive_dest_1 string
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
log_archive_dest_18 string
log_archive_dest_19 string
SQL> show parameter %dump_dest
NAME TYPE VALUE
background_dump_dest string /u01/app/oracle/diag/rdbms/ocpdb/ocpdb/trace
core_dump_dest string /u01/app/oracle/diag/rdbms/ocpdb/ocpdb/cdump
user_dump_dest string /u01/app/oracle/diag/rdbms/ocpdb/ocpdb/traceI think, next time, I'll install everything regarding oracle SID in upper case...
Maybe it's details that I don't need to care about... I seems that something is happening bad with the management of fast_recovery_area...
Thanks
Bruno -
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 -
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. -
Hi friends,
I am new person. I saw lots of example abouy restore/revovery DB. How do I know a DBID ( for set DBID= ) during recovering DB or control file.
Thanks
JimYou can see Note 227060.1 How To Determine The DBID When Using RMAN and Note:580414.1 RMAN - How to restore the controlfile using RMAN to know where you can get dbid and under what circumstances it's needed.
Enrique
PS. There another not documented ways to get the dbid as stated here: http://arjudba.blogspot.com/2008/05/how-to-discover-find-dbid.html
Maybe you are looking for
-
Unable to login error message. won't let me use efax for past 2 weeks.
called efax they said it was an hp problem. downloaded all updates. uninstalled and reinstalled printer(envy114). still same error message.
-
SubSelect Not filter data for Parent/Child hierarchy
I have data for my parent /child dimension like that DimCust Fact Sal Customer ID Parent ID Customer Type Product Id Customer ID Year Sales 1 1 Retailer 4 1 2015 100 2 1 Retailer 4 2 2014 200 3 3 Retailer 4 3 2014 300 4 3 Retailer 4 4 2015 400 5 5 Re
-
Xsd:integer - how to set maximum length
Hi, In a structure, I have set some of fields as xsd:integer. my scenario is file to proxy. while generating the inbound proxy, for those elements which are xsd:integer, the data dictionary fields are authomatically set to INT4. Whereas the actual
-
RMAUTH-Different behaviour for Change and display mode
Dear friends, I modified a standard roadmap by copying it and added 1 folder called "X" with normal node and saved. When i go for display mode in RMAUTH, I am unable to see that folder.If i go to change mode i am able to see the folder "X". Even in R
-
How to make lumia 920 detected as USB mass drive ( as flash memories) instead of MTP
i need to know How to make lumia 920 (running windows phone 8.1) detected as USB mass drive ( as flash memories) instead of MTP