[Oracle@bi11g bin]$ ./sqlplus /nolog SQL*Plus: Release 11.2.0.1.0 Production on Fri Dec 1618:39:36 2011 Copyright (c) 1982, 2009, Oracle. All rights reserved. SQL> conn / as sysdbaConnected.SQL> show parameter
下面有原來的controlfile 來試試:具體步驟如下:startup force;alter system set "_allow_resetlogs_corruption"=true scope=spfile;recover database using backup controlfile until cancel;alter databse open resetlogs; SQL> startup force;Oracle 常式已經啟動。Total
1,建立一個Oracle資料庫(如有已有,也可不建立),建庫的過程不再介紹2,建立OEM使用者,建立一個目錄mkidr -p /oracle/oem_12cchmod -R oem:oisntall /oracle/oem_12c3,修改資料庫的參數su - oraclesqlplus / AS SYSDBAALTER SYSTEM SET processes=300 SCOPE=SPFILE;ALTER SYSTEM SET session_cached_cursors=200
聲明:對於答案的相關的說明,是個人對Oracle的理解。1. Because of a power outage,instance failure has occurred. From what point in the redo log does recovery begin and where does it end?A. Current redo log and inactive redo logB. Checkpoint position to end of redo logC.
一、行級鎖: (下面這句將給該表的所有行都加上鎖) select * from person for update; 如果該行記錄已經被鎖定,就不用等待,系統會直接拋錯 ora-00054 select * from person where id = '1' for update nowait 如果該行記錄已經被鎖定,更新的時候等待5秒,如果這5秒內,該行記錄被解鎖,那麼返回查詢結果,如果5秒內仍未解鎖,那麼系統會直接拋錯 ora-00054 select *
我的dataguard因為ora-600錯誤導致備機hang住,使其無法登陸Oracle資料庫參考: 現象[root@skate01 ~]# su - oracle[oracle@skate01 ~]$ sqlplus "/as sysdba"SQL*Plus: Release 11.2.0.2.0 Production on Tue Feb 21 00:26:35 2012Copyright (c) 1982, 2010, Oracle. All rights
1.建立Oracle全域暫存資料表,代碼如下: Sql代碼DECLARE cnt int; begin --如果存在該暫存資料表,則刪除 SELECT count(1) into cnt from user_tables where table_name='TEMPLOGSMSHALL_SESSION';