Q

What should my global database name be?

When I type hostname it returns me this localhost.localdomain. So what should be my global database name if SID is ora9i?

When I type hostname it returns me this localhost.localdomain. So what should be my global database name if SID is ora9i?

The global database name is made up of the values set for the initialization parameters db_name plus db_domain

for each database. If db_domain is not set, then the global database name is simply the value set for db_name.

You can find out what the global name is for your database by executing the following query from SQL*Plus:

select * from global_name;

It is also possible to alter the global name of an existing database with the following command:

alter database rename global_name to <db_name.db_domain>;

In your case, if the parameter db_domain is set, then the global name for your database would be db_name.db_domain. If you do not have db_domain set, then the global_name would just be set to the value of db_name (which is usually the SID).

This was first published in April 2007

Dig deeper on Oracle database installation, upgrades and patches

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close