{"id":2842,"date":"2018-02-03T14:45:21","date_gmt":"2018-02-03T05:45:21","guid":{"rendered":"http:\/\/haisins.epac.to\/wordpress\/?p=2842"},"modified":"2018-02-03T14:45:21","modified_gmt":"2018-02-03T05:45:21","slug":"sql-%ec%bf%bc%eb%a6%ac%eb%a1%9c-rman-%eb%b0%b1%ec%97%85-%ed%98%84%ed%99%a9-%ec%a1%b0%ed%9a%8c","status":"publish","type":"post","link":"http:\/\/haisins.synology.me\/wordpress\/?p=2842","title":{"rendered":"SQL \ucffc\ub9ac\ub85c RMAN \ubc31\uc5c5 \ud604\ud669 \uc870\ud68c"},"content":{"rendered":"\n<pre class=\"lang:plsql decode:true \" >prompt RMAN Backup Information\r\nprompt _______________________________________________________\r\nprompt\r\ncol CONF# for 999999\r\ncol name for a40\r\ncol value for a10\r\nselect * from GV$RMAN_CONFIGURATION\r\n\/\r\nprompt\r\nprompt\r\n\r\nprompt RMAN Backup Information (30 Days)\r\nprompt _______________________________________________________\r\nprompt\r\ncol SESSION_KEY  for 9,99999\r\ncol INPUT_TYPE   for a15\r\ncol STATUS       for a10\r\ncol JOB_TIME     for a8\r\ncol COMP_RATIO        for 999\r\ncol INPUT_SEC    for a10\r\ncol OUTPUT_SEC   for a10\r\ncol start_time for a15\r\ncol end_time for a15\r\nselect SESSION_KEY,\r\n       INPUT_TYPE, \r\n       STATUS,\r\n       to_char(START_TIME,'yy\/mm\/dd hh24:mi') start_time,\r\n       to_char(END_TIME,'yy\/mm\/dd hh24:mi')   end_time,\r\n       TIME_TAKEN_DISPLAY                     job_time,\r\n       OPTIMIZED, \r\n       round(COMPRESSION_RATIO, 0) COMP_RATIO,\r\n       INPUT_BYTES_PER_SEC_DISPLAY Input_Sec,\r\n       OUTPUT_BYTES_PER_SEC_DISPLAY Output_Sec\r\nfrom V$RMAN_BACKUP_JOB_DETAILS\r\nwhere start_time &gt;= trunc(sysdate-31)\r\norder by 1\r\n\/<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>prompt RMAN Backup Information prompt _______________________________________________________ prompt col CONF# for 999999 col name for a40 col value for a10 select * from GV$RMAN_CONFIGURATION \/ prompt prompt prompt RMAN Backup Information (30 Days) prompt _______________________________________________________ prompt col SESSION_KEY for 9,99999 col INPUT_TYPE for a15 col STATUS for a10 col JOB_TIME for a8 col COMP_RATIO for 999 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":""},"categories":[3],"tags":[77,932,715,931,930],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2842"}],"collection":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2842"}],"version-history":[{"count":1,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2842\/revisions"}],"predecessor-version":[{"id":2843,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/2842\/revisions\/2843"}],"wp:attachment":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2842"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}