签到成功

知道了

CNDBA社区CNDBA社区

expdp ORA-39166错误

2023-04-20 14:21 967 0 原创 oracle
作者: hbhe0316
create table ash0420 as select *  from dba_hist_active_sess_history a where a.SAMPLE_TIME between to_date('2023-04-19 07:00:00', 'yyyy-mm-dd hh24:mi:ss') and to_date('2023-04-19 07:30:00', 'yyyy-mm-dd hh24:mi:ss');

export ORACLE_PDB_SID=PDB01

expdp /'/ as sysdba/' directory=ORADATA dumpfile=ash0420.dmp tables=sys.ash0420 logfile=20230420.log

Export: Release 19.0.0.0.0 - Production on Thu Apr 20 13:50:32 2023
Version 19.16.0.0.0

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

Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Starting "SYS"."SYS_EXPORT_TABLE_01":  "/******** AS SYSDBA" directory=ORADATA dumpfile=ash0420.dmp tables=sys.ash0420 logfile=20230420.log
ORA-39166: Object SYS.ASH0420 was not found or could not be exported or imported.
ORA-31655: no data or metadata objects selected for job
Job "SYS"."SYS_EXPORT_TABLE_01" completed with 2 error(s) at Thu Apr 20 13:50:50 2023 elapsed 0 00:00:17


exp /'/ as sysdba/'  file=/tmp/ash0420.dmp log=/tmp/20230420.log tables=sys.ash0420

http://www.cndba.cn/hbhe0316/article/116565

http://www.cndba.cn/hbhe0316/article/116565
http://www.cndba.cn/hbhe0316/article/116565
http://www.cndba.cn/hbhe0316/article/116565http://www.cndba.cn/hbhe0316/article/116565http://www.cndba.cn/hbhe0316/article/116565
http://www.cndba.cn/hbhe0316/article/116565
http://www.cndba.cn/hbhe0316/article/116565
http://www.cndba.cn/hbhe0316/article/116565
http://www.cndba.cn/hbhe0316/article/116565

版权声明:本文为博主原创文章,未经博主允许不得转载。

oracle

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1127271次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ