datastage与oracle,datastage 连接oracle时出错

先确定下1, 2, 3都配置好了么?

也有可能是32bit 64bit的问题,不是很确定,楼主先试试看1,2,3

Oracle System Administration (from Installation and Upgrade Guide)

You need to be running Oracle 8 or better, Enterprise Edition in order

to run DataStage jobs using the Oracle Enterprise Stage. Your Oracle

installation should include the Oracle Database Utilities and Oracle

Network software.

You must also do the following:

1 Create the user defined environment variable ORACLE_HOME and

set this to the $ORACLE_HOME path (e.g., /disk3/oracle9i)

2 Create the user defined environment variable ORACLE_SID and

set this to the correct service name (e.g., ODBCSOL).

3 Add ORACLE_HOME/bin to your PATH and ORACLE_HOME/lib to

your LIBPATH, LD_LIBRARY_PATH, or SHLIB_PATH.

4 Have login privileges to Oracle using a valid Oracle user name and

corresponding password. These must be recognized by Oracle

before you attempt to access it.

5 Have SELECT privilege on:

– DBA_EXTENTS

– DBA_DATA_FILES

– DBA_TAB_PARTITONS

– DBA_TAB_SUBPARTITIONS

– DBA_OBJECTS

– ALL_PART_INDEXES

– ALL_PART_TABLES

– ALL_INDEXES

– SYS.GV_$INSTANCE (Only if Oracle Parallel Server is used)

Note APT_ORCHHOME/bin must appear before ORACLE_HOME/

bin in your PATH.

We suggest that you create a role that has the appropriate SELECT

privileges, as follows:

CREATE ROLE DSXE;

GRANT SELECT on sys.dba_extents to DSXE;

GRANT SELECT on sys.dba_data_files to DSXE;

GRANT SELECT on sys.dba_tab_partitions to DSXE;

GRANT SELECT on sys.dba_tab_subpartitions to DSXE;

GRANT SELECT on sys.dba_objects to DSXE;

GRANT SELECT on sys.all_part_indexes to DSXE;

GRANT SELECT on sys.all_part_tables to DSXE;

GRANT SELECT on sys.all_indexes to DSXE;

Once the role is created, grant it to users who will run DataStage jobs,

as follows:

GRANT DSXE to ;

[本帖最后由 stenny 于 2008-2-26 01:09 编辑]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值