Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • My Test Case On 21-OCT-2005 Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • SQL Server: How to see current transactions or requests SQL Server
  • How to check current redo log progress redo_progress.sql Oracle
  • How to stop OCSSD Daemon Oracle
  • Optimizer SORT Operations Oracle
  • Unix command for system configuration Linux/Unix
  • Pending Transaction Neighbors Script Oracle
  • Guide to Linux System Command Mastery Linux/Unix
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • How to calculate PROCESSES parameter Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • New OFA for 11g 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

  • Pending Transaction Neighbors Script Oracle
  • Flowers Resize datafiles Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • How to stop OCSSD Daemon Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Goog notes on X$ tables Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • checking redhat linux version Linux/Unix
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Finding locked objects Oracle
  • When to rebuld B-tree index Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • True Session Wait Activity in Oracle 10g Verygood Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme