ORACLE数据库备份检查脚本 发表于 2019-04-02 | 更新于 2019-04-03 | 分类于 database | 阅读次数: ORACLE数据库备份结果检查:123456789101112131415161718192021222324SELECT A.RECID "BACKUP SET", A.SET_STAMP, DECODE (B.INCREMENTAL_LEVEL, '', DECODE (BACKUP_TYPE, 'L', 'Archivelog', 'Full'), 1, 'Incr-1', 0, 'Incr-0', B.INCREMENTAL_LEVEL) "Type LV", B.CONTROLFILE_INCLUDED "including CTL", DECODE (A.STATUS, 'A', 'AVAILABLE', 'D', 'DELETED', 'X', 'EXPIRED', 'ERROR') "STATUS", A.DEVICE_TYPE "Device Type", A.START_TIME "Start Time", A.COMPLETION_TIME "Completion Time", A.ELAPSED_SECONDS "Elapsed Seconds", A.TAG "Tag", A.HANDLE "Path" FROM GV$BACKUP_PIECE A, GV$BACKUP_SET B WHERE A.SET_STAMP = B.SET_STAMP AND A.DELETED = 'NO'ORDER BY A.COMPLETION_TIME DESC;