Oracle导入本属于sys用户的表

FlashBack Database后,将删除的数据导出时使用了system用户

exp system/oracle file=/home/oracle/test.dmp tables=sys.test

然后recover database后,用imp命令死活导入不了,查了下才知道必须通过sys用户

过程入下

[oracle@ocp ~]$ imp file=/home/oracle/test.dmp FULL=Y

Import: Release 11.2.0.1.0 - Production on Thu Jun 16 11:07:54 2016

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

Username: sys/oracle as sysdba

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

Export file created by EXPORT:V11.02.00 via conventional path

Warning: the objects were exported by SYSTEM, not by you

import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
. importing SYSTEM's objects into SYS
. importing SYS's objects into SYS
. . importing table "TEST" 2 rows imported
Import terminated successfully without warnings.
[oracle@ocp ~]$

原文地址:https://www.cnblogs.com/ericnie/p/5590376.html