Oracle数据库学习笔记

1、数据库管理用户:sys超级管理员用户,删除数据库时如果system用户权限不足则换成sys用户即可。

2、数据导入导出:

数据库导出:exp system/test@orcl file=c:daochu.dmp full=y

数据库导入:imp system/test@orcl2 file=c:daochu.dmp ignore=y

导出某个表:exp system/test@orcl file=d:daochu.dmp tables=(table1,table2)

导入某个表:imp system/test@orcl2 file=d:daochu.dmp tables=(table1)

服务端数据库导入:impdp system/test@orcl2 file=daochu.dmp ignore=y 

注意这里不能写文件路径,备份文件默认放到C:appAdministratoradminorcl2dpdump

3、数据库导入之后操作系统变慢,删除那个导入的数据库即可。

4、使用DBCA删除数据库时报错:11gORA-01031 权限不足,登录用户从system换成sys即可

原文地址:https://www.cnblogs.com/qqflying/p/9271815.html