一個電信電訊廠商客戶的核心交易系統,暫存資料表空間大量被佔用,暫存資料表空間被撐到了600GB。這樣的問題複雜嗎?取決於很多因素,不過今天所要講的案例,並不複雜,如果我們對暫存資料表空間在何種情況下使用有足夠瞭解。首先,我們要去檢查是什麼會話佔用了暫存資料表空間,具體佔用了多少,臨時段的具體類型是什麼。正如我們要想知道這個月的花費過大,去分析原因時就要去看是哪些開銷過大、開銷了多少金額、開銷的用途等。這個步驟比較簡單,查詢v$sort_usage就可以了:view plaincopy to
前不久有個朋友從遇到了個問題,在資料庫啟動過程種出現ora-7445, 然後資料庫CRASH, 環境11.1.0.7 windows 版本, 臨時禁用了smon tx recovery開啟資料庫, 沒有再繼續跟蹤,這裡記錄一下.# DB ALERTalter database openBeginning crash recovery of 1 threads parallel recovery started with 15 processesStarted redo
今天是有人在淘寶WangWang上找我,需要oracle資料庫恢複支援遠程登入上去一看探索資料庫mount的時候報ORA-600[kccpb_sanity_check_2]錯誤C:\Documents and Settings\Administrator>sqlplus / as sysdba SQL*Plus: Release 10.2.0.3.0 - Production on Wed Jul 29 16:23:18 2015 Copyright (c) 1982,
在資料庫open的過程中,select ctime, mtime, stime from obj$ where obj# = :1語句報ORA-01555錯誤,資料庫無法正常open一般情況下會報某個復原段,但是這裡ORA-01555: snapshot too old: rollback segment number 0 with name “SYSTEM” too small這裡直接報了system(系統復原段),屬於少見情況Fri Jun 26 11:47:31 2
報錯1:ORA-01756: quoted string not properly terminated字元集編碼不一致造成的中文內容無法插入查詢當前資料庫的字元編碼設定:SQL> select * from v$nls_parameters T WHERE t.PARAMETER = ‘NLS_LANGUAGE’ or t.PARAMETER = ‘NLS_CHARACTERSET’;或者SQL> select
舉例:test.sh 代碼如下複製代碼 #! /bin/shsqlplus -s scott/tiger<<EOF set head off set linesize 20000 set echo off set feedback off set pagesize 0 set termout off set trimout on set trimspool on
資料庫不能啟動(或者啟動後馬上crash),alert日誌報錯ORA-00600[17182],ORA-00600[25027],ORA-00600[kghfrempty:ds]等錯誤Tue Jul 08 23:36:06 2014 alter database openBeginning crash recovery of 1 threads parallel recovery started with 32 processes Started redo scan