今天同事讓我把undo資料表空間縮小為原來的40GB,之前由於開發商的需求,將undo資料表空間擴大到了200GB之大,現在需要縮小為40GB。雖然整件事有點不和邏輯,但事已至此也用不管他們怎麼想的,畢竟人家跟客戶走得近,而且有些事也不是我說得算,照做就是了。下面是過程SQL> select * from v$version;BANNER----------------------------------------------------------------Oracle
最近工作中建立了一張session級的暫存資料表,刪除的時候報下面錯誤:ORA-14452:試圖建立,更改或刪除正在使用的暫存資料表中的索引網上查閱資料解決方案如下:1、先從user_objects或dba_objects中查詢到該表的object_id:此處以sysdba登入:C:\Documents and Settings\Administrator>sqlplus sys/Oracle@orcl as sysdbaSQL> select object_id from dba_
Oracle升級到11.2.0.3後,會存在一系列的Performance or Wrong Results,根據metalink文檔ID 1392633.1說明,修複情況如下:ScopeThis note concerns itself with highly desirable patches in 11.2.0.3 that are not included in PSU updates,either because they contain optimizer layer fixes
使用ASMM的情況下04031問題很少,但有些應用不合理也會導致記憶體耗盡.1.沒有使用綁定變數,導致解析資源佔用太多2.開啟過多的cursor不釋放3.bug第一種. 使用綁定變數 使用cursor_sharing參數第二種. 尋找哪個會話開啟的遊標比較多 SQL> select sid,count(*) from v$open_cursor group by sid order by 2
Linux下卸載DB2資料庫步驟:1.Remove DB【首先刪除資料庫】(1)su - db2inst1(2)db2 list db directory(3)db2 drop db <db name>2.Remove Instance【刪除執行個體】(1)su - root(2)cd <db2 dir>/instance(3)./db2ilist(4)./db2idrop -f <instance name>3.Remove das【刪除das】(1)su
最近遇到一個動態採樣帶來的效能問題,讓我著實有點不可理解,通過查看文檔以及做實驗,現總結如下:我們先來看看Online Document關於動態採用的解釋Oracle 10GR2 documentation:This dynamic sampling feature is controlled by the OPTIMIZER_DYNAMIC_SAMPLING parameter.For dynamic sampling to automatically gather the