Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • initUOCIOTTO.ora Oracle
  • Changing Instance Name ( No DB_NAME) Oracle
  • move_arch_files.ksh Linux/Unix
  • find the files that are 1 day old. Linux/Unix
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • Difference between SYNC and AFFIRM Oracle
  • Updated LCK.SQL file. Oracle
  • to see when crontab is changed. Linux/Unix

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

  • Kill a session dynanically using execute immediate Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • logminer and my_lbu Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • CTAS with LONG Column for 9i and higher Oracle
  • refre.sql 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • moving lob object to other tablespace lob_mvmt.sql Oracle
  • Resolving RMAN Hung Jobs Oracle
  • Monitor Long Running Job Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • Oracle 10g for solaris 10 Oracle
  • Privilege to describe the table. Oracle
  • Read CSV File using Python Python/PySpark
  • ext#.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme