If you've ever gotten a phone call from an annoyed user whose transaction just won't go through, or from a developer who can't understand why her application sessions are blocking each other, you know how useful it can be to identify not just whose
在Fedora 16 x64上裝oracle 11gR2時遇到同樣的問題,記錄下。Problem:======During relinking operation OUI will fail and in $ORACLE_HOME/install/make.log you will find following error./u01/app/dev/Middleware/agent11g/lib/libnnz11.so: could not read symbols: Invalid
It is very easy for us to implement sql tuning by toad. We need to do is just give complex sql statement to toad. The articlegive you some examples to demonstrate how to tuning sql by toad for oracle. 1. Get execution planEditor -->
case語句與case運算式是plsql流程式控制制的重要組成部分,儘管其使用方法較為簡單,但容易混淆。本文將描述case語句與case運算式並給出示範以便於更好理解兩者的異同及使用時的注意事項。一、簡單case語句-->文法CASE SELECTORWHEN EXPRESSION 1 THEN STATEMENT 1;WHEN EXPRESSION 2 THEN STATEMENT 2;...WHEN EXPRESSION N THEN STATEMENT N;ELSE
在給使用者授予sysdba許可權時,收到ORA-01994錯誤,查看描述資訊即是password file missing or disabled。也可以使用oerr ora <error_number>來查看錯誤號碼具體的細節。從描述來看應該是密碼檔案丟失或REMOTE_LOGIN_PASSWORDFILE參數設定的問題。下面給出具體過程。1、錯誤提示情況sys@CNMMBO> grant sysdba to scott;grant sysdba to scott*
PL/SQL變長數組時PL/SQL集合資料類型中的一種,其使用方法與PL/SQL巢狀表格大同小異,唯一的區別則是變長數組的元素的最大個數是有限制的。也即是說變長數組的下標固定下限等於1,上限可以擴充。下面給出具體的描述及其使用方法。 一、變長數組文法 TYPE type_name IS {VARRAY | VARYING ARRAY} (size_limit) OF -->type_name 用於指定varray類型名,size_limit
Error DescriptionWhen using DBMS_ADVISOR on a table in SYS or SYSTEM schema, the following errors returned.ORA-13600: error encountered in AdvisorQSM-00794: the statement can not be stored due to a violation of the invalid table reference
SQL tuning過程中離不開分析SQL語句的執行計畫。在一次提取執行計畫的時候碰到cannot fetch plan for SQL_ID的錯誤提示。根據錯誤提示來看需要檢查SQL的子遊標或該執行計畫不在v$sql_plan表中,而這種情況一般不存在。因為剛剛執行過的SQL語句不可能這麼快從v$sql_plan移除。下面給出錯誤描述及處理辦法。1、故障現象-->使用display_cursor提取執行計畫失敗 admin@CADB> select * from table(
配置監聽非預設連接埠(1521)的em(※參數名稱-SID和-PORT必須為大寫)emca -config dbcontrol db -repos recreate -SID t11g -PORT 1715必須配置動態監聽:(配置非預設連接埠1521的動態監聽需要手動註冊listener)alter system set local_listener=t;為配置動態監聽而佈建服務端的tns:(※用Oracle Net Manager測試服務命名時,需要先儲存網路設定,再點擊測試)C:\ora1
通常情況下資料庫引擎每訪問一個資料區塊將產生至少一個邏輯讀。而行預取與邏輯讀息息相關。行預取是指當用戶端從資料庫擷取資料時可以採用單行也可以採用多行方式返回資料。當採用多行方式時,則會預取多條記錄儲存在用戶端記憶體中以避免後續多次該資料的請求所致的各種開銷(LIO,PIO,NET IO)。一般預取行數越大,則所產生的開銷越小,當達到臨界值時其變化不大。一、示範1、建立示範表scott@CNMMBO> select * from v$version where rownum<2;