alter database disable thread 2
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.
select thread#,status from v$thread; THREAD# STATUS ---------- ------ 1 OPEN 2 CLOSED #需要disable alter database disable thread 2;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29990276/viewspace-2670766/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-279 signalled during: alter database recover logfileDatabase
- Disable Database Audit In Oracle 19c RAC-20220111DatabaseOracle
- [20221222]How to Enable and Disable Database Options in oracle 11g.txtDatabaseOracle
- Oracle設定日誌引數-ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;OracleDatabase
- 執行alter database open resetlogs提示ORA-00392和ORA-00312錯誤Database
- [重慶思莊每日技術分享]-ORA-1142 signalled during: ALTER DATABASE END BACKUPDatabase
- “alter database switchover to xx“過程不當導致的primary-primary 雙主問題Database
- H2 Database入門Database
- Database | 淺談Query Optimization (2)Database
- local_irq_disable和disable_irq的區別
- disable Nouveau kernel driver
- bypass disable_functionFunction
- SQL__ALTERSQL
- MySQL ALTER命令MySql
- 併發-2-Thread和Runnable的APIthreadAPI
- 【 Thread】建立執行緒的2種方法thread執行緒
- mysql加快alter操作MySql
- h2database在springboot中的使用DatabaseSpring Boot
- Java訪問SSL enabled DB2 DatabaseJavaDB2Database
- InfluxDB 2.x Open Source Time Series DatabaseUXDatabase
- SAP Spartacus B2B 頁面 Disable 按鈕的顯示原理
- [20190522]DISABLE TABLE LOCK.txt
- mysql的ALTER TABLE命令MySql
- alter table set unused column
- Redisearch的基本命令2:--FT.ADD FT.ADDHASH FT.ALTERRedis
- Threadthread
- The database owner SID recorded in the master database differs from the database owner SID recorded in database 'DB_NAME'DatabaseAST
- thread.Interrupt()與thread.Abort()thread
- alter table move與shrink space
- ALTER SYSTEM FLUSH BUFFER_POOL
- alter table nologging /*+APPEND PARALLEL(n)*/APPParallel
- alter table drop unused columns checkpoint
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- Error querying database. XXXXXXXXXXXXX, No database selected。ErrorDatabase
- Convert a Physical Standby Database into a Snapshot Standby DatabaseDatabase
- SAP Spartacus B2B 頁面 Disable Confirmation 對話方塊的顯示原理
- Hello,Threadthread
- Thread類thread