• 热备份


    热备份

    alter tablespace users begin backup;  

    cp +DATA/ora11g/USERS.259.833721555 +DATA/ora11g/backup/users.dbf

    alter tablespace users end backup;

    -----------------------------------------------------------------------------

    col name for a21

    select b.file#,d.name,b.status,b.time from v$datafile d join v$backup b on d.file#=b.file#;

    SYS@ora11g>desc v$backup  (displays the backup status of all online datafiles.)

     Name                                      Null?    Type

     ----------------------------------------- -------- ----------------------------

     FILE#                                              NUMBER

     STATUS                                             VARCHAR2(18)

     CHANGE#                                            NUMBER

     TIME                                               DATE

    FILE#      NUMBER      File identifier

    STATUS  VARCHAR2(18)    File status: NOT ACTIVE,ACTIVE (backup in progress),OFFLINE NORMAL, or description of an error.

    NOT ACTIVE indicates that the file is not currently in backup mode (that is, an ALTER TABLESPACE ... BEGIN BACKUP or ALTER DATABASE BEGIN BACKUP statement has not been issued), whereas ACTIVE indicates that the file is currently in backup mode.

    CHANGE#     NUMBER      System change number when backup started

    TIME      DATE      Time the backup started

  • 相关阅读:
    【dp】P1982 小朋友的数字
    NOIp2017囤题计划
    Java语言编写计算器(简单的计算器)
    关于建立Android工程R文件丢失的问题
    读《黑客与画家》
    格式化输出%、基本运算符
    常量、变量;基本数据类型;input()、if、while、break、continue
    初遇Linux
    MVC5+EF6 入门完整教程10 数据查询更新
    Razor语法和Razor引擎大全
  • 原文地址:https://www.cnblogs.com/wwxbi/p/4216785.html
Copyright © 2020-2023  润新知