Want to modify the Global Database Name in Oracle 10g R2
Hi All,
I have a global database name like GS77.UK.ORA.COM , I want it to be just GS77.What are the possible workarounds for modifying this.
Thanks & Regards,
Gaurav S.
If your problem is really just the global name, yes.
You can check with
Select * from global_name;
Check the documentation first to ensure you checked all implications first
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1004.htm#i2079942
Regards,
PP
Similar Messages
-
Database Service Name or Global Database Name with Oracle 10G, when Oracle
I have an old installation of Oracle 9i (SID=ORCL) and now have installed Oracle 10G (SID=ORC2). I can get connection to Oracle 10G if i define it as an Oracle 8 compatible identification (ie I access to a SID, and don´t provide a Service Name.
Now I want to install Oracle HTML DB, and succeeded to install the SQL-script that came with the download, but when I install Apache and HTML DB from the Oracle Companion CD I am asked to give the Database Service Name (in the Help it is explained as the Global Database Name).
When i give the Net Service Name I get error messages (incomprehensible).
When I look in Net Manager, the Net Service Name does not have a Service Name, but only points to a SID (ie ORC2).
Where can I find the Database Service Name (or Global Database Name), OR define it if it is not defined??
Thanks for your help,create a net service for oracle10g and provide the name of this service during HTML DB installation it is required for installation.
-
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 -
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 -
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; -
Can we rename the database name in oracle 10g
Hi,
Can we rename the database name in oracle 10g.
Please helpYes as already said, using DBNEWID Utility can renamed the database name.
You can also take a look at the Oracle Metalink Note:429674.1 (Which was written by me) - Subject: How We Used the Oracle DBNEWID Utility to Change the Database Name
Regards,
Sabdar Syed. -
Want to get the Client Machine name from Oracle Forms
Hi,
I want to get the Client machine name from the Oracle Forms.
I have attached web_util.pll.
I use user_name := webutil_clientinfo.get_host_name;
but i am getting following error - WebUtil Error:WUC-015: Your form must contain the following Bean for this function to be available: oracle.forms.webutil.clientinfo.GetClientInfo.
Can any one help me in this!
Thanks & Regards,
Avinash Bhamare.
Pune.Hi,
I have written the code on when-button-pressed trigger of a push button -
DECLARE
user_name VARCHAR2(50);
BEGIN
user_name := client_win_api_environment.get_computer_name;
message('user_name is :'||user_name);
message('user_name is :'||user_name);
END;
And on clicking on this button i am getting error -
frm-40734:Internal Error:PL/SQL error occurred
Can any one help in this asap please!
Thanks & Regards,
Avinash. -
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 :) -
Unsure about Global Database Name
I need your advice on the Global database name when I install the G10 database. The purpose of the database is used for learning and will be installed on a PC running Window XP. The PC is stand along and where the Oracle database is installed. The installation documentation refer the global database name with 2 parts, the format is:
datbase_name.database_domain_name
The example given is "sale.yourcompany.com" (with the "sale" as database name and "yourcompany.com" is the domain name). Since I don't have a domain name and I wondon can I ignore the domain name or use my PC name as the domain name. This database installation is not going to be refer by any other computer and just use by the applications within the PC. Please help, thanks.XP Home Edition is not supported environments.
So, you ought to solve all problems by your own risks and skills.
But, can you install only products?
And then, can you modify or create listener.ora as example?
But...
Expected result: 256MB
Actual Result: 238MBIf this was true, you cannot use Oracle RDBMS, Net comfortably before using those with XP Home Edition or Professional Edition.
XP Home Edition is not supported environmnts.
-- Example
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = e1020)
(ORACLE_HOME = D:\Oracle\product\1020)
(SID_NAME = e1020)
# (SID_DESC =
# (SID_NAME = PLSExtProc)
# (ORACLE_HOME = D:\Oracle\product\1020)
# (PROGRAM = extproc)
) -
Global Database Name for OCS Database with domainname that include a dash
Hi guys,
The domain name for the network that I'm installing OCS 10g have a dash in the domainname. When installing the OCS database, it stated that the global database name cannot have a dash. So I change the dash in domain name of the server with an underscore.
After restart the installation, and putting the global database name with a underscore, the installation is sucessfull. My question is if I change back the server domain name back to include the dash, will this affect the running of the database ? and after the installation can I changed the global database name to include the dash ?
Is there any to to ensure a database installation will be sucessfull with a dash in the domain name for the global database name ?
Thanks for any info.
Regards
Lanangcreate a net service for oracle10g and provide the name of this service during HTML DB installation it is required for installation.
-
Global Database Name for OCS Database
Hi guys,
The domain name for the network that I'm installing OCS 10g have a dash in the domainname. When installing the OCS database, it stated that the global database name cannot have a dash. So I change the dash in domain name of the server with an underscore.
After restart the installation, and putting the global database name with a underscore, the installation is sucessfull. My question is if I change back the server domain name back to include the dash, will this affect the running of the database ? and after the installation can I changed the global database name to include the dash ?
Thanks for any info.
Regards
LanangI 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; -
Global Database Name & Oracle System Identifier
How do I set the Global Database Name & Oracle System Identifier for the database?
I changed the character set to ZHS16GBK,
I create a database with character set ZHS16GBK,but manage web page failed
and it works,
but what should i do to enable all feature of database
for example
I create the hr user with
@D:\oraclexe\app\oracle\product\10.2.0\server\demo\schema\human_resources\hr_main.sql
but the database show following message when connected
访问 PRODUCT_USER_PROFILE 时出错
警告: 未加载产品用户概要文件信息!
您需要将 PUPBLD.SQL 作为 SYSTEM 运行
but I cannot find the PUPBLD.SQL file under
F:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN\ -
What is Database Links in Oracle 10g ?
Same as subject.
Thanks.Hi,
Database Links
A database link is a pointer that defines a one-way communication path from an Oracle Database server to another database server. The link pointer is actually defined as an entry in a data dictionary table. To access the link, you must be connected to the local database that contains the data dictionary entry.
A database link connection is one-way in the sense that a client connected to local database A can use a link stored in database A to access information in remote database B, but users connected to database B cannot use the same link to access data in database A. If local users on database B want to access data on database A, then they must define a link that is stored in the data dictionary of database B.
A database link connection allows local users to access data on a remote database. For this connection to occur, each database in the distributed system must have a unique global database name in the network domain. The global database name uniquely identifies a database server in a distributed system.
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/ds_concepts.htm#i1007709
Adith -
Can someone explain the following: SID, Instance, Global Database Name?
Im new to Oracle8i and Im getting confused about certain Oracle terms.
1) What is the difference between an SID and a Database Instance?
2) Oracle says a Global Database Name includes: db_name.domain_name. What is the difference between the db_name and the name of the Database Instance?
Thanks, Andrew
nullIm new to Oracle8i and Im getting confused about certain Oracle terms.
1) What is the difference between an SID and a Database Instance?
2) Oracle says a Global Database Name includes: db_name.domain_name. What is the difference between the db_name and the name of the Database Instance?
Thanks, Andrew
null -
Views to check the catalog database name from target database.
Hi,
Please help me to find view to check the catalog database name which is connected to my target database because I am new to the current environment where I am working now and the previous DBA have done the set up having 2 catalog database. I want view to check from target database, which can show the catalog database name to which it is connected to.
We can check the catalog database name from the following ways but I want views to check it from target database.
1.TNSnames.ora
2.Any backup script connecting to catalog database.
3.From catalog database we can use rc_database view to check the databases registered with the catalog database.Please help me to find view to check the catalog database name which is connected to my target databaseYou can check for any RMAN backup jobs that been scheduled on the server.
In the scheduled script check rman command.
You can then identify the database alias (of the catalog db) that is used in the rman backup script.
Once you have found the database alias, check for the database alias entry in tnsnames.ora file present in your target database server.
Once the entry is found, you can find the IP address and catalog db name from the tns entry.
Edited by: st. osh on Nov 22, 2012 11:38 PM
Maybe you are looking for
-
Apple's handling of antenna problems
I actually thought about not reading the news about the iPhone 4 because all the negativity about the antenna. Not to say all is negative. There are plenty of sites and reviews that explain all the wonderful features on the new iPhone. The FaceTime f
-
JDBC Connection Using ColdFusion DataSource
We are using ColdFusion MX 6 and oracle 10g. I am trying to code a JAVA JDBC database connection class by simplely pass ColdFusion datasouce name. i.e, instead of passing URL, user id and password, I hope my JAVA class can recognize ColdFusion dataso
-
I am unable to get my emails on my iphone and ipad please help
I cannot access my emails on my iphone and ipad. I used to be able to but am not sure what i might have done to change the settings.
-
How can i roll back version to 10.0
version 11.0+ is terrible and extremely slow. bonjour constantly causing problems. want to go back to solid version 10.0
-
Need java code to make MySql Dump?
Do anybody know how to write java code to make MySql Dump. I am badly need of this code very urgently!, do any body here to help me! Kindly help me out.