码迷,mamicode.com
首页 > 数据库 > 详细

oracle dblink 配置两个ip

时间:2014-08-01 18:42:32      阅读:277      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   color   os   io   div   res   

create database link test_link
  connect to xx identified by xx
  using (DESCRIPTION =
  (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.xx.xx.xx7)(PORT = 1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.xx.xx.xx6)(PORT = 1521))
      (FAILOVER = on)
      (LOAD_BALANCE = on)
    )
  (CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = ora11g)));




load_balance=on 负载平衡

可以加也可以不加

oracle dblink 配置两个ip,布布扣,bubuko.com

oracle dblink 配置两个ip

标签:des   style   blog   color   os   io   div   res   

原文地址:http://www.cnblogs.com/unixshell/p/3885091.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!