Oracle 将一台机器上的数据库注册到另一台机器的监听上(二)

2014-11-24 12:33:02 · 作者: · 浏览: 1
/yorker@testdb
SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 16 17:45:24 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from test;

ID TYPE
---------- ----------
1 1

可以成功的访问机器A上的表.

在实际中很少有这种需求应用,RAC需要实例相互注册到对方的监听中,这里仅仅是模拟把一台机器的数据库实例注册到另一台机器.


作者 kkdelta