Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

10

主题
1#
发表于 2012-12-4 17:14:54 | 查看: 4303| 回复: 3
现有a,b 两库,b库上面可以访问外部库dll文件,现在想通过a库建立dblink到b,然后访问b库上外部库的dll里面的函数,有没办法实现?
2#
发表于 2012-12-4 17:21:03
任何提问 先说数据库版本!!

回复 只看该作者 道具 举报

3#
发表于 2012-12-4 17:32:58
a库10.2.0.4,b库11.2.0.1

回复 只看该作者 道具 举报

4#
发表于 2012-12-4 23:01:48
FYI

AGENT Clause

Specify the AGENT clause if you want external procedures to be run from a database link other than the server. Oracle Database will use the database link specified by agent_dblink to run external procedures. If you omit this clause, the default agent on the server (extproc) will run external procedures.

Examples

Creating a Library: Examples The following statement creates library ext_lib:

CREATE LIBRARY ext_lib AS '/OR/lib/ext_lib.so';
/

The following statement re-creates library ext_lib:

CREATE OR REPLACE LIBRARY ext_lib IS '/OR/newlib/ext_lib.so';
/
Specifying an External Procedure Agent: Example The following example creates a library app_lib and specifies that external procedures will be run from the public database sales.hq.acme.com:

CREATE LIBRARY app_lib as '${ORACLE_HOME}/lib/app_lib.so'
   AGENT 'sales.hq.acme.com';
/


http://docs.oracle.com/cd/B19306 ... statements_6001.htm

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-26 02:58 , Processed in 0.046395 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569