[Listener 관련] 0 4 1,959

by 없음 [2014.05.26 10:53:25]


GLOBAL_DBNAME 과 기본 SID_NAME 과 무슨 차이점이 있나요?

 

인터넷에서 여러가지로 검색이 되는게 현재 검색된 내용을 한마디로 정리하면 

 

클라이언트 단에서 요청이 들어와서 SID_NAME을 찾는데 먼저 GLOABL_DBNAME을 검색하고 

있으면 GLOABL_DBNAME에서 설정해준 SID 값을 찾아가고 

 

없으면 그냥 기본 SID 이름을 찾아간다고 이해를 하고 있습니다.

 

맞는지요???

by 강서꽃미남 [2014.05.26 13:38:04]

by 없음 [2014.05.26 15:27:07]

감사합니다.

해당 내용을 얼마전에 보았는데 별 도움이 되지 않더라구요...

혹시 서면용 답변말고요 , 쉽게 이해랄수 있게요 ㅋㅋㅋㅋ 


by 강서꽃미남 [2014.05.26 15:38:55]

우선 sid는 기본 데이터베이스별로 존재하는 이름이라고 생각하시면 되구요,

하나의 인스턴스에 하나의 디비가 존재할경우는 글로벌 네임도 sid와 동일합니다.

 

또, 글로벌 sid는 디비링크등을 타고 네트워크단에서 판단할 때 사용하는 이름입니다.


by 강서꽃미남 [2014.05.26 15:39:52]

아래 자료가 쉽게 이해되시겠네요.

 

SID = identifies the database instance (database name + instance number). So if your database name is somedb and your instance number is 3, then your SID is somedb3.

 

DB Name = Name of the database (database can be shared b/t multiple instances)

 

DB Domain = Usually the same as your company domain (somecompany.com)

 

Global Database Name = Database name + database domain (somedb.somecompany.com)

 

Service Name = A "connector" to one or more instances. It is often useful to create additional service names in a RAC environment since the service can be modified to use particular SIDs as primary or secondary connections, or to not use certain SIDs at all.

 

Service Alias = An alias to the service name (just like a CNAME, etc). Say you make your service name something meaningful to the dba, but perhaps it's a bit esoteric. Create a service alias and name it something that will be meaningful to the user.

 

Instance name = same as SID

댓글등록
SQL문을 포맷에 맞게(깔끔하게) 등록하려면 code() 버튼을 클릭하여 작성 하시면 됩니다.
로그인 사용자만 댓글을 작성 할 수 있습니다. 로그인, 회원가입