Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Good Oracle Architecture In Short and point to point Oracle
  • Find_table_size.sql Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • refre.sql Oracle
  • Search and replace editor command in vi Linux/Unix
  • db_status.sql Oracle
  • AWR license Oracle
  • checking connectivity between two servers Linux/Unix
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • ipcs -l Linux/Unix
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • Debugging Shell FIles Linux/Unix
  • Temporary Tablespsace Temp tablespace behaviour Oracle
  • Jai Shree Ram Linux/Unix
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle

Renaming Global Name GLOBAL_NAME

Posted on 06-Sep-2006 By Admin No Comments on Renaming Global Name GLOBAL_NAME

Problem:

——–

I cannot create a db_link on my database that does not have the fuly qualified domain.name.

eg. if I create a db_link called fred as follows:

create database link fred connect to ITU604SP4B identified by using ‘sup9206_hippo’

a link called fred.intec.co.za is created, I just want fred.

I have set global_names= FALSE

db_domain=””

select * from global_name returns hippo.intec.co.za

btw this used to work fine when global name was just hippo.

I was experimenting and changed this to hippo.intec.co.za using alter database rename global_name to hippo.intec.co.za

I have tried changing back using

alter database rename global_name to “hippo” but the global name will not change back to just hippo.

This should not make a difference if global_names is set to false according to everything I have read.

Where does the domain name get stored – remeber I have set db_domain=””

Solution:

———

update global_name set global_name = ‘SUP9206’;

restart db and voila, everything working.

Oracle, SQL scripts

Post navigation

Previous Post: Kernel Parameter setting explaination for Processes Parameter
Next Post: ipcs -l

Related Posts

  • Rollback force for distributed transactions Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • How to find where datafile is created dbf_info.sql Oracle
  • plan10g.sql good Oracle
  • run this before doing any dbchange pvm_pre_change.sql Oracle
  • Oracle Statspack survival Guide Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find Multiple levels of object dependencies : depen.sql Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Oracle Support Metalink ID 161818.1 Oracle
  • prepfiles.sh for step by step generating pending statistics files Oracle
  • FGA Part-I Oracle
  • Updated LCK.SQL file. Oracle
  • Deleting first line and lastline of a file using sed Linux/Unix
  • pvm_pre_change.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme