Home > Database > Mysql Tutorial > body text

rman中如何制定删除某段时间的归档日志

WBOY
Release: 2016-06-07 15:28:30
Original
1502 people have browsed it

rman中如何制定删除某段时间的归档日志 eg: RMAN sql alter session set nls_date_format=YYYY-MM-DD; sql statement: alter session set nls_date_format=YYYY-MM-DD RMAN delete archivelog from time 2012-12-01 until time 2013-02-28; released channe

rman中如何制定删除某段时间的归档日志

eg:
RMAN> sql 'alter session set nls_date_format="YYYY-MM-DD"';

sql statement: alter session set nls_date_format="YYYY-MM-DD"

RMAN> delete archivelog from time "2012-12-01" until time "2013-02-28";

released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=144 devtype=DISK
specification does not match any archive log in the recovery catalog


小结:
sql 'alter session set nls_date_format="YYYY-MM-DD"';
delete archivelog from time "2012-12-01" until time "2013-02-28";
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!