Chinaunix首页 | 论坛 | 博客
  • 博客访问: 981898
  • 博文数量: 358
  • 博客积分: 8185
  • 博客等级: 中将
  • 技术积分: 3751
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-15 16:27
个人简介

The views and opinions expressed all for my own,only for study and test, not reflect the views of Any Company and its affiliates.

文章分类

全部博文(358)

文章存档

2012年(8)

2011年(18)

2010年(50)

2009年(218)

2008年(64)

我的朋友

分类: Oracle

2009-09-07 23:21:01

■in release 10g Oracle’s network support is limited to:
①TCP
②Named Pipes (or NMP), 
③the new Sockets Direct Protocol(or SDP) over InfiniBand high-speed networks.
④The secure sockets variants of these protocols can also be used
⑤All operating systems also have an Inter-Process Communication (or IPC) protocol proprietary to the operating system—this is also available to Oracle Net for local connections where the user process is on the same machine as the server 

■Techniques for Name Resolution:
①Easy Connect:
SQL> conn gau001/gaudi@192.168.0.100:1521/gaudi
已连接。
②Local Naming:use tnsnames.ora file.
GAUDI.ap.sony.com=
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST =192.168.0.100)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = gaudi)
    )
  )
test =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = serv2.haunting.com)(PORT = 1521))
     )
   (CONNECT_DATA =
    (sid = testdb)
   )
 )
Tip:
There need be no relationship between the alias, the service name, and the instance name, but for the sake of your sanity you will usually keep them the same.
③Directory Naming
・points the user toward an LDAP(the Lightweight Directory Protocol) directory server to resolve aliases.
・offers a central repository, the directory server, for all your name resolution details
④External Naming
is conceptually similar to directory naming, but it uses third-party naming services
阅读(911) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~