标签:sysdba dba 手动 方法 imp sel -- space 操作
导入新的dmp表数据
1、用工具(如:plsql)删除所有ndzlclear的会话 或者手动杀死session
1、用工具(如:plsql)删除所有porjectclear的会话
plsql ---> zszlsit
或者手动杀死session
2、cmd-------->sqlplus / as sysdba
3、SQL>
(1) drop user hqzl cascade;
(2) create user hqhtxc default tablespace HQHT_JZ identified by hqhtxc;
(3) grant all privileges, dba to hqhtxc;
4、SQL>quit
5、 imp hqhtxc/hqhtxc file=E:\hengqin\hqht20180411.dmp fromuser= hqhtxc touser= hqhtxc
select username,sid,serial# from v$session where username=‘PDU‘
alter system kill session ‘9,1793‘
select ‘alter system kill session ‘‘‘||sid||‘,‘||serial#||‘‘‘;‘ from v$session;
create tablespace hqht_jz
datafile ‘e:/tablespace/hqht_jz.dbf‘
size 1024M
autoextend on next 5M maxsize 3000M;
删除表空间
drop tablespace cebbank including contents and datafiles
--导入导出命令
ip导出方式: exp demo/demo@127.0.0.1:1521/orcl file=f:/f.dmp full=y
exp demo/demo@orcl file=f:/f.dmp full=y
imp demo/demo@orcl file=f:/f.dmp full=y ignore=y
create user aaabank2 identified by 123456 default tablespace aaabank2;
grant dba to aaabank2;
标签:sysdba dba 手动 方法 imp sel -- space 操作
原文地址:https://www.cnblogs.com/Amanda-w/p/11648086.html