2 Star 0 Fork 0

mirrors_ReneNyffenegger/fatdba-Oracle-Database-Scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rman1.sql 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
Prashant Dixit 提交于 2021-12-10 14:59 . Create rman1.sql
PROMPT
PROMPT
PROMPT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PROMPT------ /) (\
PROMPT------ .-._((,~~.))_.-,
PROMPT------ `-. @@ ,-'
PROMPT------ / ,o--o. \
PROMPT------ ( ( .__. ) )
PROMPT------ ) `----' (
PROMPT------ / \
PROMPT------ / \
PROMPT------ / \
PROMPT------ "The Silly Cow"
PROMPT----- Script: rman1.sql
PROMPT----- Author: Prashant 'The FatDBA'
PROMPT----- Cat: Performance Management and Issue Identification
PROMPT----- Version: V1.2 (Date: 04-02-2020)
PROMPT-----
PROMPT-----
PROMPT-----
PROMPT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~set lines 120
col RMAN_Status FORMAT A20 heading "Status"
col INPUT_TYPE FORMAT A15 heading "Backup Type"
col Hrs FORMAT 999.99 heading "Backup Time"
col Start_Time FORMAT A20 heading "Backup Start Time"
col Start_Time FORMAT A20 heading "Backup End Time"
SELECT SESSION_KEY "Backup Session ID", INPUT_TYPE,
STATUS RMAN_Status,
TO_CHAR(START_TIME,'DY mm/dd hh24:mi') Start_Time,
TO_CHAR(END_TIME,'DY mm/dd hh24:mi') Start_Time,
ELAPSED_SECONDS/3600 Hrs
FROM GV$RMAN_BACKUP_JOB_DETAILS
ORDER BY SESSION_KEY desc;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_ReneNyffenegger/fatdba-Oracle-Database-Scripts.git
git@gitee.com:mirrors_ReneNyffenegger/fatdba-Oracle-Database-Scripts.git
mirrors_ReneNyffenegger
fatdba-Oracle-Database-Scripts
fatdba-Oracle-Database-Scripts
main

搜索帮助