oracle 导入导出某用户数据库

时间:2026-02-15 20:10:33

1、1.通过tode创建或者克隆新的数据库用户

oracle 导入导出某用户数据库

2、2.导出目标表准备。空表无法导出表结构,这里可以通过执行

select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0  //生成修改segment值sql

3、导出目标用户test所有数据库相关信息

 exp  test/test@orcl file=d:\427.dat or 427.dmp

oracle 导入导出某用户数据库

oracle 导入导出某用户数据库

4、导入目标用户new所有数据库相关信息

 Imp new/new@orcl file=d:\427.dat  full =y  ignore=y

oracle 导入导出某用户数据库

© 2026 阿力知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com