Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Database link
Check for DB_DOMAIN.. in
INIT.ORA
else
Set <FONT face="Times New Roman"
size=3>GLOBAL_NAMES to FALSE
ALTER SYSTEM SET GLOBAL_NAMES=FALSE;
HTH
------------------------------------Make a FREE long distance call fromyour PC!<A
Sent: Monday, December 10, 2001 11:00
AM
Subject: Database link
Hi
DBAs
I have a
problem with database links in one of the databases - the name of the link
gets us.oracle.com appended to it.
<SPAN
style="FONT-SIZE: 10pt">create<SPAN style="FONT-SIZE: 10pt"> <SPAN style="FONT-SIZE: 10pt">database<SPAN style="FONT-SIZE: 10pt"> <SPAN style="FONT-SIZE: 10pt">link<SPAN style="FONT-SIZE: 10pt"> test
style="FONT-SIZE: 10pt">connect<SPAN style="FONT-SIZE: 10pt"> <SPAN style="FONT-SIZE: 10pt">to<SPAN style="FONT-SIZE: 10pt"> test_user <FONT face=Arial color=#0000f0>identified<FONT
When I
execute:
select * from
my_table_at_test
I get the
ORA-02085 error message the the link test.us.oracle.com connects to
test.
When I
execute:
select * from
global_name;
in the target
database the result is:
<SPAN
style="FONT-SIZE: 10pt">TEST
but in the
database where I created the link the database name has the
suffix:
<SPAN
style="FONT-SIZE: 10pt">NOVALIS.US.ORACLE.COM
I have no
problem with database links in the TEST database but would like to know which
parameter causes the suffix to be appended in the NOVALIS
database.
In both
init.ora files the global_names is set to true and db_domain is commented out.
In both
databases the command
show
parameters;
returns the
db_domain as blank.
Actually both
databases are on the same server - Oracle 8.1.6.
What should I
change to remove the US.ORACLE.COM suffix. I don't care too much about the
database, it's my test only, but don't want it appended in the links and maybe
other objects...
<SPAN
style="FONT-SIZE: 10pt">Thanks
<SPAN
style="FONT-SIZE: 10pt">Witold
<SPAN
style="FONT-SIZE: 10pt">==================================Witold