Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2003
    Posts
    51

    Unanswered: Global Name problem

    Hi all,

    i've a problem with one of my instances, the global_name is not equal to name (from v$database), you can see the queries :

    11:47:27 SYSTEM@ca8t1> select name from v$database;
    NAME
    ---------
    CA8T1

    11:43:44 SYSTEM@ca8t1> select * from global_name;

    GLOBAL_NAME
    ----------------------------------------------------
    CA8P1.OPP

    11:47:50 SYSTEM@ca8t1> select INSTANCE_NAME from v$instance;

    INSTANCE_NAME
    ----------------
    ca8t1

    How can i fix this problem ???

    Environment :
    DB : Oracle8i Enterprise Edition Release 8.1.7.4.0
    OS : AIX 5.2

    Thanks,

    Antonio Freitas

  2. #2
    Join Date
    Apr 2003
    Location
    Greenville, SC (USA)
    Posts
    1,155
    You can always change the global_name if you need to ...

    alter database rename global_name to 'CA8T1';

    HTH
    Gregg

  3. #3
    Join Date
    Sep 2003
    Posts
    51
    Hi Gregg,

    i've already used the rename command; the real question is : what would have caused the problem ?

    Thanks,

    Antonio Freitas

  4. #4
    Join Date
    Apr 2003
    Location
    Greenville, SC (USA)
    Posts
    1,155
    I would think that had to come from the setup somewhere ... is OPP your
    domain ?

  5. #5
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >alter database rename global_name to 'CA8T1';
    Be warned that if you change the global_name, more than likely DB_LINKs will cease to function correctly.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  6. #6
    Join Date
    Jul 2003
    Posts
    2,296
    did you originally CLONE that db from another DB named CA8P1.OPP??
    - The_Duck
    you can lead someone to something but they will never learn anything ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •