Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: BUG ALERT!!!! on SID names
------------2F37521454083 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii
Strategic Data Systems wrote:
> > In article <5f51d1$pc6$2_at_news.inc.net>, sds_at_dataplusnet.com says... > > > >Running Oracle 7.1.6 on AIX 4.1.4 and tried to create anotherinstance.
> >connected to an existing instance(nwtest). > > > >Went around with Oracle Support for 4 days and they finally said: > > > >'Oracle hashes the SID name to a number and uses the number to makethe connection.
> >Apparently 'smtest' and 'nwtest' hash to the same number!!!!. > > > >The fix is to change the sid name to something other than smtest. > > > > Oracle got back again and said this is fixed in 7.2 and up.
It really is not a bug. They just did not use a very good hashing algorithm pre 7.2. It uses the ORACLE_HOME and sid to hash to the memory location. 7.2 and newer can still has to the same address but it is not as likely.
------------2F37521454083 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
<HTML><BODY>
<DT>Strategic Data Systems wrote:<BR>
> <BR>
> In article <5f51d1$pc6$2_at_news.inc.net>, sds_at_dataplusnet.com
says...<BR>
> ><BR>
> >Running Oracle 7.1.6 on AIX 4.1.4 and tried to create another
instance.<BR>
> >Couldn't create because after a connect internal(ORACLE_SID=smtest)
in sqldba, I was<BR>
> >connected to an existing instance(nwtest).<BR>
> ><BR>
> >Went around with Oracle Support for 4 days and they finally said:<BR>
> ><BR>
> >'Oracle hashes the SID name to a number and uses the number to
make the connection.<BR>
> >Apparently 'smtest' and 'nwtest' hash to the same number!!!!.<BR>
> ><BR>
> >The fix is to change the sid name to something other than smtest.<BR>
> ><BR>
> <BR>
> Oracle got back again and said this is fixed in 7.2 and up.<BR>
<BR></DT>
<DT>It really is not a bug. They just did not use a very good hashing algorithm pre 7.2. It uses the ORACLE_HOME and sid to hash to the memory location. 7.2 and newer can still has to the same address but it is not as likely.</DT>
<DT> </DT>
<DT> </DT>
</BODY>
</HTML>
------------2F37521454083--
Received on Sat Mar 01 1997 - 00:00:00 CST