標籤:
前期軟體準備:
JDK 連結:連結: http://pan.baidu.com/s/1qXWeP4K 密碼: 2czn
sqldeveloper 連結:連結: http://pan.baidu.com/s/1bpHS2sv 密碼: v5eg
oracle data integrator(ODI)連結: http://pan.baidu.com/s/1skNVtFn 密碼: q5cf
ODI需要建立資料庫帳號以及工作庫帳號,在這裡用oracle為例。
用system使用者進入oracle。
1、查詢使用者空間
select * from dba_data_files;
建立使用者資料表空間
create tablespace ODI
logging
--datafile ‘/opt/oracle/oradata/orcl/ODI.dbf‘ size 1024m autoextend on next 50m maxsize
datafile ‘E:\oracle\product\10.2.0\oradata\ODI.dbf‘ size 1024m autoextend on next 50m maxsize
unlimited
extent management local;
建立賬戶
--建立資料庫
create user LY_ODI_ZLK
identified by LY_ODI_ZLK
default tablespace ODI
temporary tablespace temp
quota unlimited on ODI;
-給資料庫賦權
grant connect,resource,
create any table,drop any table,
create sequence,drop any sequence,
create any directory,
create any view,drop any view,imp_full_database,exp_full_database to LY_ODI_ZLK;
--建立工作庫
create user ly_odi_gzk
identified by ly_odi_gzk
default tablespace odi
temporary tablespace temp
quota unlimited on odi;
--給工作庫賦權
grant connect,resource,
create any table,drop any table,
create sequence,drop any sequence,
create any directory,
create any view,drop any view,imp_full_database,exp_full_database to LY_ODI_GZK;
註:沒有特別的要求這邊許可權盡量賦大的許可權,避免以後不必要的麻煩。
oracle data integrator的安裝一