Confusing with the Global Database Name and Instance Name
Dear fellow DBA's and Experts,
Good Day.
We presently have an existing database registered (on V2 Exadata) with global database name as BIDEV.domainname.com. It has 4 instances viz., BIDEV1 and BIDEV2 which have the same service name as the instance name.
Last week, on our new X4-2 Exadata, we tried to create a fresh database. While doing so, we entered the details as below in the installer:
Global Database Name: BIDEV
SID Prefix: BIDEV
Service Name: BIDEV.
Then upon the successful installation of the database, when we query
1. (SELECT * FROM GLOBAL_NAME), it shows BIDEV as the global database name.
2.
SQL> sho parameter service
NAME TYPE VALUE
service_names string BIDEV1
3. Sho parameter name gives the below details:
SQL> sho parameter name;
NAME TYPE VALUE
cell_offloadgroup_name string
db_file_name_convert string
db_name string BIDEV
db_unique_name string BIDEV
global_names boolean FALSE
instance_name string BIDEV_1
lock_name_space string
log_file_name_convert string
processor_group_name string
service_names string BIDEV1
Curious to know why it created an instance name as BIDEV_1 instead as BIDEV1.
Had tried another attempt on our test environment with SID prefix as BIDEV1, then the instance was created with the name as BIDEV1_1.
Also, would like to know what happen if we give the Global Database Name as BIDEV.domainname.com for installing the same BIDEV database on a different server while the 1st server is still functional.
Appreciate if someone could throw some light on the above confusion. Any reference material or source to the clarify the doubt.
Warm Regards,
Vikram.
Hi Vikram,
Your clustered database is not full RAC, it's RAC ONE node database. In RAC ONE node database, instance names are created in that format only (i.e.e dbname_1), I don't know if there is any way we can change it to dbname1. OR if you really want to change the instance name to dbname1 format, then you can convert RAC one node database to Full RAC, then remove instance and add another instance, I hope it would be added in dbname1 format. I have not tested it, test it on your test system first.
You can find the database type in the output you shared,
Type: RACOneNode
Regards,
Saurabh
Similar Messages
-
Change Db name and Instance name in *i
Following is the procedure how i changed the DB and instance name
1Alter database abckup controlfile to trace;
2.Edit the trace file to create a new file
create a instance with diff SID(New sid)
startup nomount
edit the initora.file
changed the instance and db_name in Init.ora
edit the controlfile with resetlogs option and set dataabse name
alterdatabase open tresetlogs
shutdown backup
Is it correct?
looks correct to me
aything i missed out?edit the init.ora and then startup nomount and then execute create controlfile command and then open db.
-
Database name and Instance Name
Hi ,
Is it neccessary that an instance name should be same as database name ??Nor is it necessary for the service name to match the
instance or database name.
In support, and expansion ...
In 10gR2, an instance will have multiple services in any case. An instance can have as many as 64 services, several being assigned to admin and AQ and the rest available for general resource management purposes.
So ... in the future, we should expect one service name to match the instance name, and several other services to also be associated with the same instance. -
I try to sign with the right pass word and user name and I don't get anything
I have a new computer (hp) I put icloud on it now I am trying to sign in on icloud but when I put my user name and pass word in nothing happens.
No error message?
-
Responsibility Name and Instance Name
Hi All,
Is there a way to know to which responsibility we are logged in to once we are logged in?
Also, is there a way to know the instance name we are logged in to? Working on too many instances and responsibilities and when ever i get confused, i am forced to relogin.
Is there a way where its/it could be displayed somewhere?
Thanks.I face this problem all the time and its quite frustrating to be clueless & lost. I wish Oracle could also add the functionality of switching responsibilities without actually logging out and logging in.
Anyway, I have created a custom folder from the below sql statement to display all the session information. I have then shared this folder with all the users/responsibilities.
select
sys_context('userenv', 'db_name') db_name,
sys_context('userenv', 'current_schema') current_schema,
sys_context('userenv', 'host') host,
sys_context('userenv', 'os_user') os_user,
sys_context('userenv', 'terminal') terminal,
sys_context('userenv', 'sessionid') sessionid,
sys_context('userenv', 'session_userid') session_userid,
sys_context('userenv', 'session_user') session_user,
sys_context('userenv', 'authentication_data') authentication_data,
sys_context('userenv', 'authentication_type') authentication_type,
sys_context('userenv', 'bg_job_id') bg_job_id,
sys_context('userenv', 'client_info') client_info,
sys_context('userenv', 'current_schemaid') current_schemaid,
sys_context('userenv', 'current_user') current_user,
sys_context('userenv', 'current_userid') current_userid,
sys_context('userenv', 'db_domain') db_domain,
sys_context('userenv', 'entryid') entryid,
sys_context('userenv', 'external_name') external_name,
sys_context('userenv', 'fg_job_id') fg_job_id,
sys_context('userenv', 'instance') instance,
sys_context('userenv', 'ip_address') ip_address,
sys_context('userenv', 'isdba') isdba,
sys_context('userenv', 'lang') lang,
sys_context('userenv', 'language') language,
sys_context('userenv', 'network_protocol') network_protocol,
sys_context('userenv', 'nls_calendar') nls_calendar,
sys_context('userenv', 'nls_currency') nls_currency,
sys_context('userenv', 'nls_date_format') nls_date_format,
sys_context('userenv', 'nls_date_language') nls_date_language,
sys_context('userenv', 'nls_sort') nls_sort,
sys_context('userenv', 'nls_territory') nls_territory,
sys_context('userenv', 'proxy_user') proxy_user,
sys_context('userenv', 'proxy_userid') proxy_userid
from dual;
Now it reminds me I should also add responsibility name to the above sql.
Hope this helps. -
I am totally frustrated by the fact that now i have gone to iCloud and after a few synchs, my contacts are all mixed up with the wrong information. For instance, my email and phone number comes up under someone else's name (a thousand contacts). I dont know how to repair this. what a nightmare
An icloud account is designed to be used by just one user. If you have given your ID or set up your account on someone else's device, then their data will be mingled with your or worse.
-
Need the name of the Global Database
I did not note the name of the global database while installing Oracle 10g EXPRESS for Windows. How do I get the name now?
user11335486 wrote:
I did not note the name of the global database while installing Oracle 10g EXPRESS for Windows. How do I get the name now?You can check from global_name view,
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, Oracle Label Security, OLAP, Data Mining
and Real Application Testing options
SQL> select * from global_name;
GLOBAL_NAME
--------------------------------------------------------------------------------ORCL.US.ORACLE.COM
SQL>HTH
Aman....
Edited by: Aman.... on Jul 6, 2009 1:17 PM
apologies Taj for the repeated answer, you were fast :) -
Lumira Login Error "Check the Server Name and Instance ID"
Dear Experts
I installed Lumira Desktop and was able to connect to the
HANA Server.
Later while I was working the software hanged and I had to
shut it down.
Now, after re-opening the software I receive error "Check the Server Name and Instance ID"
(though the server credentials are same as error and correct”
Any suggests on how to rectifyI wonder if one of the following KBAs may give you a clue?
1995325 - Error HDB 11009: The dataset could not be published to SAP Lumira Server because publishing to the SAP HANA layer failed. Lumira Server
2134259 - Lumira LaunchPad Logon Hangs
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow me on Twitter (#SAPLumira)
Got Enhancement ideas? Use the SAP Idea Place -
DUPLICATE DATABASE IN ANOTHER HOST WITH THE SAME DATABASE NAME
Hi all.
I want duplicate a database(dbteste1 host:wander) to another host(magda) with the same database name.
My tnsnames in host wander is this:
DBTESTE1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wander)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dbteste1)
DBTEST1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = magda)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = dbteste1)
Tnsping is ok !!!
Follow the rman command;
RMAN> run
duplicate target database to dbtest1 nofilenamecheck;
and i get the following message:
RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE falhou
ORA-01504: o nome 'dbtest1' do banco de dados nÒo corresponde ao parÔmetro db_name 'dbteste1'
If i run this command:
RMAN> run
duplicate target database to dbteste1 nofilenamecheck;
and i get the following message:
RMAN-03015: error occurred in stored script Memory Script
RMAN-06136: ORACLE error from auxiliary database: RMAN-20021: database not set
RMAN-06031: could not translate database keyword
I´m using oracle 9.2.0.7 on WindowsWrong procedure and connection command,
check Oracle document,
Duplicating a Database with Recovery Manager
http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#RCMUG012
Follow all steps listed. -
Can i rename the Global Database Name
Hi Seniors,
i have installed the Oracle 10.2.3(10203_vista_w2k8_x86_production_db) in my VISTA Laptop.
i have given the Global Database Name as orcsatya but i want to change to orasatya
would u please tell how to proccess if it is.....
thanks
SeenujanuSeenuJanu wrote:
yes , i want the name from orcsatya to orasatya of Global Database Name
is it possible to change the Name or i have to reinstall
which i would like to access the names like
connecting scott/sathi@orasatya;
Thanks in Advance
Edited by: SeenuJanu on Jun 13, 2009 4:43 AMFor that you don't even need to touch the database. The name you use in your connect string is nothing more than an alias that is resolved (in your tnsnames.ora file) to a specific service name on a specific host. Without touching anything else, you could change your tnsnames entry from something like
ORASATYA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORA11)
)to
fred = <=== note that this is the only change from the previous entry
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORA11)
)At which point you would connect with
sql> connect scott/sathi@fred -
What is the Global Database Name for?
Hi All,
I installed 10g on Linux and it seems to work ok. But I used the same string "abc" for the SID and the global database name (GDN). The recommendation for the GDN was sid.domain_name.com but I didn't know the domain_name at the time.
I don't know why the GDN exists or what it is used for. I am wondering how this lame GDN will affect the database and if there is an easy way to change it. I don't expect that we will be using the db outside of our little network, no internet users. Will users on other machines be able to connect to my db?
ThanksI was looking in the wrong place. I found the right documentation. Thanks all.
Rename the global database name using an ALTER DATABASE statement. For example, enter:
ALTER DATABASE RENAME GLOBAL_NAME TO sales.us.oracle.com; -
Why U. S. Store refuses my Visa card with it's official and with the global science I can buy from Bahrain store and now my account stoped with reason owe ..
You can ONLY use the itunes store of your country of residence ( proven by the billing address on your credit card) AND ONLY while you are physically located inside the borders of that country.
You would have to live in the U.S and physically be located in the U.S in order ot use the U.S tunes store. The same is true for each countrys itunes store. -
gmail on iphone was working fine until yesterday when it prompted me with the message "cannot get mail user name or password for gmail is incorrect", i have tried deleting the account and re-created a new account, same problem, can anyone help?
paulcb, you're a genius, it worked, thank you so much, you don't know how much stress you have taken off my shoulders, I am constantly on my email in my iphone everyday. Thanks a million, take care. Robert.
-
How to get the column name and table name with value
Hi All
I have one difficult requirement
I have some column values and they have given some alias column names but i need to find the correct column name and table name from the database.
For example value is "SRI" and i dont know the table and exact column name so is there any possibilities to find the column name and table name for the given value
Thanks & Regards
Srikkanth.MSearching all the database for a word...
Courtesy of michaels...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
11g upwards
SQL> select table_name,
column_name,
:search_string search_string,
result
from (select column_name,
table_name,
'ora:view("' || table_name || '")/ROW/' || column_name || '[ora:contains(text(),"%' || :search_string || '%") > 0]' str
from cols
where table_name in ('EMP', 'DEPT')),
xmltable (str columns result varchar2(10) path '.')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME es RESEARCH
EMP ENAME es JAMES
EMP JOB es SALESMAN
EMP JOB es SALESMAN
4 rows selected. -
How to find the column name and table name with a value
Hi All
How to find the column name and table name with "Value".
For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
Any help is highly appricatable
Thanks & Regards
Srikkanth.M2 solutions by Michaels (the latter is 11g upwards only)...
michaels> var val varchar2(5)
michaels> exec :val := 'as'
PL/SQL procedure successfully completed.
michaels> select distinct substr (:val, 1, 11) "Searchword",
substr (table_name, 1, 14) "Table",
substr (t.column_value.getstringval (), 1, 50) "Column/Value"
from cols,
table
(xmlsequence
(dbms_xmlgen.getxmltype ('select ' || column_name
|| ' from ' || table_name
|| ' where upper('
|| column_name
|| ') like upper(''%' || :val
|| '%'')'
).extract ('ROWSET/ROW/*')
) t
-- where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
order by "Table"or
SQL> select table_name,
column_name,
:search_string search_string,
result
from cols,
xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
columns result varchar2(10) path '.'
where table_name in ('EMP', 'DEPT')
TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
DEPT DNAME ES RESEARCH
DEPT DNAME ES SALES
EMP ENAME ES JONES
EMP ENAME ES JAMES
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES SALESMAN
EMP JOB ES PRESIDENT
EMP JOB ES SALESMAN
9 rows selected.
Maybe you are looking for
-
Incoming emails don't display any pictures only small blue boxes with question marks
As my question explains I am unable to view any pictures, photos, etc, all in coming mail displays writing only and small blue boxes with ? In their place. This problem began occasionally at first and has got increasingly worse, please help
-
Difference between Tekton and Tekton Pro?
Hi, I'm aware that Adobe's "Pro" designation means that the font contains all the necessary glyphs to set European languages. But that's not what I'm asking. We have a client for whom we're preparing a book. We've been using Tekton Pro (Bold and Regu
-
Worflow 20000077 Release Purchase Requisition will not start.
I have the configuration completed on the release codes and when I create a purchase requisition it is blocked but I can't get the system to release the workflow. Does anyone have detailed directions on how to get this done? Thanks! Chris Lintner Afl
-
Java update on Oct 19 - please help!
Hi, everyone. Today I went to the App Store > Updates. It said that I needed the latest Java update (which removes Java). I started the download, but about 1/2 way through the download, App Store crashed. I restarted App Store, but now it says that t
-
Portuguese keyboard on MacBook running XP
Hi Guys, I'm new to Mac, so far so good, I'm thriled with the reliability and quality and trying to learn OS X... Trust me, It's a big change for a "all my life" Windows user. I have a couple of questions: 1st: Is there a delete key in OS X? 2nd: I'm