documetum oracle数据库迁移实例
--源数据库
exp userid=system/pwd@orcl file=D:sharedbbackupwhyxdoc_201007271853.dmp log=d:sharedbbackupwhyxdoc_201007271853.log owner=whyxdoc buffer=1024000
--目标数据库
--drop tablespace DM_WHYXDOC_DOCBASE and datafiles;
--drop tablespace DM_WHYXDOC_INDEX and datafiles;
--drop user WHYXDOC cascade;
create tablespace DM_WHYXDOC_DOCBASE DATAFILE 'D:appdmadminoradataorclDM_WHYXDOC20100707145354_DB.DBF' SIZE 8192M AUTOEXTEND ON;
create tablespace DM_WHYXDOC_INDEX DATAFILE 'D:appdmadminoradataorclDM_WHYXDOC20100707145354_IND.DBF' SIZE 8192M AUTOEXTEND ON;
create user WHYXDOC identified by pwd default tablespace DM_WHYXDOC_DOCBASE ;
grant dba,connect,resource,create view to WHYXDOC;
imp userid=system/pwd@orcl fromuser=whyxdoc touser=whyxdoc file=D:sharedbbackupwhyxdoc_201007271853.dmp log=d:sharedbbackupwhyxdoc_201007271853.log buffer=1024000
数据库迁移好后,修改documetum所使用数据库连接文件tnsnames.org中的HOST地址为新服务器地址,或使用Net Manager修改该地址也可。
重启documentum,搞定。