数据库
首页 > 数据库> > oracl 数据库 exp 导出 imp 导入

oracl 数据库 exp 导出 imp 导入

作者:互联网

create tablespace YN_TZXM datafile 'D:/app/Administrator/oradata/orcl/YN_TZXM.DBF' size 8000m   autoextend on   next 1000m maxsize unlimited EXTENT MANAGEMENT LOCAL;
create temporary tablespace YN_TZXM_TEMP tempfile 'D:/app/Administrator/oradata/orcl/YNTZXMEMP.DBF' size 128m reuse autoextend on next 128m maxsize unlimited;
create user YN_TZXM identified by YN_TZXM default tablespace TZXM temporary tablespace YN_TZXM_TEMP ;
grant connect,resource,dba to YN_TZXM;

exp YN_TZXM/YN_TZXM@ORCL FILE=D:\YN_TZXM.dmp OWNER = YN_TZXM LOG=D:\YN_TZXM.log

imp 用户名/密码@ip:端口/实例 file=D:\backup\YN_TZXM.dmp full=y

标签:YN,create,oracl,imp,tablespace,exp,TZXM,app,size
来源: https://blog.csdn.net/zy1471162851/article/details/104762391