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
Seenujanu
SeenuJanu 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
Similar Messages
-
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; -
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 -
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 -
Renaming the Oracle10gXE database name
Hi,
Oralce10gXe
Linux Os
How to rename the database name from 'XE' (default) to for eg. 'TEST' ?
what are the exact steps for it ?
RegardsHi,
it is possible to change the SID of XE like any other Oracle edition. The easiest way to do so is to use the nid (newid) utility in $ORACLE_HOME/bin (you shutdown the database cleanly, open in mount state and then execute nid target=sys/password@xe dbname=newSID, then change the dbname in init/spfile, rename the init/spfile to contain the new sid, generate new password file using passwd, and open the database with resetlogs).
However, I would not recommend renaming the XE database. I did that, and it has been a pain, since our developers changed the hardware several times, wished for new testing and development installations, and I had to play again and again with the changing of default oracle scripts. As with XE, you can run only one XE edition instance on the server (that does not change by renaming it). With that in mind, there are multiple oracle scripts with ORACLE_SID=XE hardcoded in them. Namely the /etc/init.d/oracle-xe, then all the scripts in $ORACLE_HOME/config/scripts related to starting/stopping and backing up the db, not forgetting the oracle_env.sh...
Having the experience, I would simply recommend leaving the ORACLE_SID=XE, and changing the service_name, or the TNSNAMES.ora alias. That should be sufficient for the developers to "see a pretty name".
Kind regards,
Martin -
Can we rename the log group name in 10g.
I have a database on 10.1.0.5 and want to rename the group name of 4 to 1 without moving the logfiles. ;)
thanksI have a database on 10.1.0.5 and want to rename the
group name of 4 to 1 without moving the logfiles. ;)What difference does it bring?
I don't think its possible either. -
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 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.
-
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.
-
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 & 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\ -
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. -
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 -
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 :) -
Hi
what is the difference between Global database name followed by the domain name of the system and the Global database that itsn't?
and can I choose one name for ech of Global database name ,sid, and service_name
to make connection with oracle developer easy after installation?
Thanks in advance.There are differences between global_name, sid and service_name. They may all have the same value, which causes confusion.
Whether you have the global name followed by the domain name or not it's the same, as long as it is a name that uniquely identifies your database in a network environment. This is a requirement when using replication. You could leave it with or without domain at creation time, you can change it any time, but it is a good practice to have it qualified.
The SID is the name of an Oracle Instance, i.e. the allocated shared memory plus the background processes, and it is unique within the scope of the OS where your database is running. You can create a connection string that uses the Instance name to connect to the database, but it is considered obsolete, and it was the way to connect to an Oracle database in releases 8.0 and previous.
Service name is a mean to group applications that get access to the database. It is related with an Oracle Instance. In a single instance environment there is not too much sense from the failover or load balance perspective, it can be interpreted as an alias for the instance and you can still group sessions by service, but in a multiple instance environment, named RAC, it can be used to migrate the service from one instance to another for the purposes of load balancing and failover, as well as for application affinity and resource allocation by means of resource manager.
~ Madrid
http://hrivera99.blogspot.com/
Maybe you are looking for
-
Hi guys, we are using PI 7.11. With this release local processing on the advanced adapter engine is possible, when using integrated configurations. This works fine. Lately I faced an error situation in an RFC to JDBC scenario, when one field doesn´t
-
I can't remember my desktop password
I have an old Mac Ibook G4 that I never use but want to access some pictures on it. I haven't used in such a long time that I can't remember my password. I also can't access the serial number as I no longer have the packaging. What are my options?
-
I am using IPHOTO for my pictures and when I am using DNG/RAW the Mac is very slow. I want to change to IPHOTO 9 or Aperture 3, but is my 2GB Ram enough. (2GB is my max.) My Mac shop told me IPHOTO 9 and Aperture3 will be easy to use even with 2GB Ra
-
How to add search help to custom infotype listbox??
Hi All, How to add search help to custom infotype listbox?? Thanks in advance
-
Hello experts, Do you know if it's possible to migrate objects (shared dimensions, planning artificats, etc) from version 11.1.13 to 11.1.1.4, using LCM? Thanks in advance for your help. Regards, Rodrigo