您好,登錄后才能下訂單哦!
本篇內容介紹了“數據庫中rac改單的方法是什么”的有關知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領大家學習一下如何處理這些情況吧!希望大家仔細閱讀,能夠學有所成!
rac改單實例
15:34:21 sys@kk>select * from v$log; GROUP# THREAD# SEQUENCE# BYTES BLOCKSIZE MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIME NEXT_CHANGE# NEXT_TIME ---------- ---------- ---------- ---------- ---------- ---------- --- ---------------- ------------- ------------------- ------------ ------------------- 1 1 1063 1073741824 512 1 YES INACTIVE 4.3077E+11 2019-12-26 13:11:48 4.3077E+11 2019-12-26 13:49:57 2 1 1064 1073741824 512 1 YES INACTIVE 4.3077E+11 2019-12-26 13:49:57 4.3077E+11 2019-12-26 14:27:54 3 1 1065 1073741824 512 1 YES INACTIVE 4.3077E+11 2019-12-26 14:27:54 4.3077E+11 2019-12-26 15:02:15 4 1 1066 1073741824 512 1 YES INACTIVE 4.3077E+11 2019-12-26 15:02:15 4.3077E+11 2019-12-26 15:02:16 5 1 1067 1073741824 512 1 NO CURRENT 4.3077E+11 2019-12-26 15:02:16 2.8147E+14 6 1 1059 1073741824 512 1 YES INACTIVE 4.3076E+11 2019-12-26 10:38:45 4.3076E+11 2019-12-26 11:16:48 7 1 1060 1073741824 512 1 YES INACTIVE 4.3076E+11 2019-12-26 11:16:48 4.3077E+11 2019-12-26 11:55:03 8 1 1061 1073741824 512 1 YES INACTIVE 4.3077E+11 2019-12-26 11:55:03 4.3077E+11 2019-12-26 12:33:24 11 1 1062 1073741824 512 1 YES INACTIVE 4.3077E+11 2019-12-26 12:33:24 4.3077E+11 2019-12-26 13:11:48 12 2 0 1073741824 512 1 YES UNUSED 0 0 14 2 0 1073741824 512 1 YES UNUSED 0 0 17 3 0 1073741824 512 1 YES UNUSED 0 0 18 3 0 1073741824 512 1 YES UNUSED 0 0 Elapsed: 00:00:00.01 15:03:23 sys@kk>alter database drop logfile group 12; alter database drop logfile group 12 * ERROR at line 1: ORA-01623: log 12 is current log for instance kk2 (thread 2) - cannot drop ORA-00312: online log 12 thread 2: '/data1/KK/onlinelog/o1_mf_12_gxzp37z3_.log'
alter database disable thread 2;
15:34:25 sys@kk>alter database drop logfile group 12;
Database altered.
“數據庫中rac改單的方法是什么”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識可以關注億速云網站,小編將為大家輸出更多高質量的實用文章!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。