oracle 导入 dmp
创建空间
create tablespace gpr
datafile 'D:\workplace\z_oracle_namespace\gpr.dbf' size 100M
autoextend on
next 10M maxsize 5120m
extent management local;
创建临时空间
create temporary tablespace gpr_tmp
tempfile 'D:\workplace\z_oracle_namespace\gpr_tmp.dbf'
size 50m
autoextend on
next 80m maxsize 100m;
创建用户
create user cs_element identified by 1 default tablespace gpr temporary tablespace gpr_tmp;
create user cs_frame identified by 1 default tablespace gpr temporary tablespace gpr_tmp;
create user cs_frs identified by 1 default tablespace gpr temporary tablespace gpr_tmp;
create user cs_logger identified by 1 default tablespace gpr temporary tablespace gpr_tmp;
create user cs_workflow identified by 1 default tablespace gpr temporary tablespace gpr_tmp;
create user nkpt identified by 1 default tablespace gpr temporary tablespace gpr_tmp;
用户授权
grant CONNECT ,RESOURCE ,dba to cs_element ;
grant CONNECT ,RESOURCE ,dba to cs_frame ;
grant CONNECT ,RESOURCE ,dba to cs_frs ;
grant CONNECT ,RESOURCE ,dba to cs_logger ;
grant CONNECT ,RESOURCE ,dba to cs_workflow ;
grant CONNECT ,RESOURCE ,dba to nkpt ;
数据导入
导入命令,必须在dos 命令行中执行,而不是sqlplus 下执行。
imp cs_element/1@127.0.0.1/orcl18c file=E:\everyDayFile\20230315\dumpfile\cs_element20230314.dmp log=D:\cs_element.log FULL=y;
imp cs_frame/1@127.0.0.1/orcl18c file=E:\everyDayFile\20230315\dumpfile\cs_frame20230314.dmp log=D:\cs_frame.log FULL=y;
imp cs_frs/1@127.0.0.1/orcl18c file=E:\everyDayFile\20230315\dumpfile\cs_frs20230314.dmp log=D:\cs_frs.log FULL=y;
imp cs_logger/1@127.0.0.1/orcl18c file=E:\everyDayFile\20230315\dumpfile\cs_logger20230314.dmp log=D:\cs_logger.log FULL=y;
imp cs_workflow/1@127.0.0.1/orcl18c file=E:\everyDayFile\20230315\dumpfile\cs_workflow20230314.dmp log=D:\cs_workflow.log FULL=y;
imp nkpt/1@127.0.0.1/orcl18c file=E:\everyDayFile\20230315\dumpfile\nkpt0314.dmp log=D:\nkpt.log FULL=y;
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!