`

数据库操作的一些命令

 
阅读更多

1、删除用户 drop user username cascade

 

2、创建表空间  create tablespace tablespace_name datafile 'D:\app\username\oradata\orcl\test.dbf' size 10000m autoextend on next 100m maxsize unlimited;

 

3、删除表空间并删除文件 DROP TABLESPACE tablespace_name INCLUDING CONTENTS AND DATAFILES;

 

3、备份 在cmd在直接运行  exp username/password owner=username file=filename.dmp

 

4、恢复  在cmd在直接运行  imp username/password@orcl file=/data/filename.dmp full=y

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics