背景:oracle正式库通过exp命令导出的dmp备份包,现在通过imp命令还原到测试库,测试库上面的表数据全部不要,要用新的. 方法:先删除用户.用户所在表空间,再新建用户和表空间,再imp导入. 过程: 1.用plsql查看用户的权限等信息并备份,例如 -- Create the user create user testuser;-- Grant/Revoke object privileges grant execute on SYS.DBMS_JOB to testuser;-- Gr…
查看导入日志,发现错误如下: oracle@sspt:/back/log> cat imp.HD_HDXX.log Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options Export file created by…
imp user/passwd file=/data/oracle/oraclesetup/passwd.dmp 报错: Export file created by EXPORT:V11.02.00 via conventional pathIMP-00013: only a DBA can import a file exported by another DBAIMP-00000: Import terminated unsuccessfully解决办法: 给导入用户赋予dba权限 gra…