Home > Database > Mysql Tutorial > body text

RMAN备份FORMAT格式中%a的含义

WBOY
Release: 2016-06-07 17:18:07
Original
1258 people have browsed it

Oracle文档对%a的描述是: %a Specifies the activation ID of the database. rman备份并保存,查询%a RMANgt; backup tabl

Oracle文档对%a的描述是:

rman备份并保存,查询%a

由此,可知%a为:790774120

查询x$kccdi

由此,可知%a便是DIRLC_I

查询v$database_incarnation

由此,可知%a、resetlogs_id和dirlc_i,此三者相同。RESETLOGS_ID显然是由RESETLOGS_TIME决定的。故此三者“同气连技”。

其实这个RESETLOGS_ID的值在V$ARCHIVED_LOG视图中也可以找到。而且这个值对应的就是归档日志格式中的%r。

%r官方文档解释:

  • 如果进行了不完全恢复,这个变量就十分重要。

    查询v$archived_log

    可知,%r为824467pw

    至此,小结:%a、resetlogs_id、dirlc_i和%r,都是oracle database的"生日".

    linux

  • Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!