下面是我使用非DBA身份提交时产生的LOG
Import started on 2010-10-9 下午 02:47:23
D:\oracle\product\10.1.0\Db_1\bin\IMP.EXE log=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\plsimp.log file=E:\UIA.dmp userid=uia/uia@uia buffer=10485760 commit=yes full=yes grants=yes ignore=yes indexes=yes rows=yes show=yes constraints=yesConnected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining optionsExport file created by EXPORT:V10.01.00 via conventional path
IMP-00013: only a DBA can import a file exported by another DBA
IMP-00000: Import terminated unsuccessfullyImport finished on 2010-10-9 下午 02:47:24
当使用DBA身份提交交时LOG中的信息显示导入成功 但是还是不能在TABLE中看到这张表
请高手帮帮忙
Import started on 2010-10-9 下午 02:47:23
D:\oracle\product\10.1.0\Db_1\bin\IMP.EXE log=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\plsimp.log file=E:\UIA.dmp userid=uia/uia@uia buffer=10485760 commit=yes full=yes grants=yes ignore=yes indexes=yes rows=yes show=yes constraints=yesConnected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining optionsExport file created by EXPORT:V10.01.00 via conventional path
IMP-00013: only a DBA can import a file exported by another DBA
IMP-00000: Import terminated unsuccessfullyImport finished on 2010-10-9 下午 02:47:24
当使用DBA身份提交交时LOG中的信息显示导入成功 但是还是不能在TABLE中看到这张表
请高手帮帮忙
D:\oracle\product\10.1.0\Db_1\bin\IMP.EXE log=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\plsimp.log file=E:\UIA.dmp userid=uia/uia@uia buffer=10485760 commit=yes full=yes grants=yes ignore=yes indexes=yes rows=yes show=yes constraints=yes-- 简化一下:imp userid=uia/uia@uia file=file=E:\UIA.dmp full=yes楼主这个是全库导入,必须需要DBA 账户。IMP-00013: only a DBA can import a file exported by another DBA
2. 当使用DBA身份提交交时LOG中的信息显示导入成功 但是还是不能在TABLE中看到这张表
-- Oracle 表和用户是对应的。 既然导入成功, 那么原来的表属于那个用户,你用那个用户登陆,在查看可有相关的表的。
提示导入很明显 必须是dba的角色的用户
在sys用户下 也没有见到这张表 。。
D:\oracle\product\10.2.0\db_1\bin\imp.exe log=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\2\plsimp.log file=D:\uiate.dmp userid="uia/uia@UIA as sysdba" buffer=90112 commit=yes full=yes grants=yes ignore=yes indexes=yes rows=yes show=yes constraints=yes
Import finished on 2010-10-11 17:50:09这个是我使用DBA权限导入后的日志 但是还是不能在uia和sys用户下找到表
因为数据库dba角色决定当前用户是否有delete、insert权限,所以这个角色在真正应用的时候,出于安全考虑,很多都会回收dba权限。解决方法可以尝试下:sys用户登陆数据库服务器,给当前导入用户添加dba权限,再导入一次就ok。
具体:使用OEM工具登陆数据库服务器,sysdba角色登陆,到用户那里,把dba拉下去,然后把管理选项选上就oK.
如果最后不想给当前导入用户dba角色,导完后,按照上述步骤去掉dba就可以了。另外一种方法就是,导出的时候不要用dba觉得的用户导出。