analyze table tablename compute statistics;analyze index indexname compute statistics;對於使用CBO很有好處,可以使用更可靠的table資訊,從而執行計畫也可以更準確一些,在10g會自動analyze,之前的版本需要手動定期產生統計資訊,,選擇合理的執行計畫..Oracle的online document這樣描述analyze的作用:Use the ANALYZE statement to collect
Oracle8select a.*,b.* from a,b where a.id(+)=b.id --相當於右聯結select a.*,b.* from a,b where a.id=b.id(+) --相當於左聯結Oracle9支援以上的寫法,還增加了LeftJoin、Right Join等select a.*,b.* from a left join b on a.id=b.idselect a.*,b.* from a right join b on
最近安裝了一套 Oracle EBS R12,在打中文Patch時,報如下錯誤。FAILED: file FNDNLINS.sql on worker 1.FAILED: file JTFNLINS.sql on worker 3.退出ADADMIN後,無法進入ERP,報如下錯誤。 The system has not been taken off maintenance mode completely. Please contact your System Administrator.
花了大半個月的時間小研究了一下Oracle Golden Gate。 先簡單的說說自己學習GG的一個過程。參考資料都是官方文檔,官網的連結如下:http://download.oracle.com/docs/cd/E22355_01/index.htm 其中主要參考如下幾篇:Administrator'sGuideReferenceGuideOracleInstallation and Setup Guide 開始看了GG
安裝Oracle 11gR2,報錯:[INS-06101] IP address of localhost could not be determined 出現這種錯誤是因為主機名稱和/etc/hosts 檔案不一致,只需要把主機名稱和其IP 寫入/etc/hosts 檔案,就ok了。 查看主機名稱和和ip 地址關係: [root@localhost~]# cat
Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1] Modified 07-JUN-2010 Type PROBLEM Status PUBLISHED In this Document Symptoms Changes Cause Solution ReferencesApplies to: Oracle
Bug 4401119 AIX: Crash possible on AIX (ORA-206) This bug is marked as an important issue.Affects:Product (Component)Oracle Server (Rdbms)Range of versions believed to be affectedVersions < 11Versions confirmed as being affected· 10.1.0.2· 10.1.0
一. DBV 說明 DBV是一個常用的工具,OracleMOS上有一篇文章介紹DBV:[ID 35512.1]。 dbverify工具的主要目的是為了檢查資料檔案的物理結構,包括資料檔案是否損壞,是否存在邏輯壞塊,以及資料檔案中包含何種類型的資料。 DBV checks Oracledatafiles to ensure that:(1)The datafile has a valid header (2)Each datablock in the file
經常做整個資料移轉時遇到下列問題:1、不是有效匯出檔案,頭部驗證失敗;2、EXP-00056: 遇到 ORACLE 錯誤 6550ORA-06550: line 1, column 41:PLS-00302: component 'SET_NO_OUTLINES' must be declaredORA-06550: line 1, column 15:PL/SQL: Statement ignoredEXP-00000:
LSNRCTL> status正在串連到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))TNS-12541: TNS: 無監聽程式TNS-12560: TNS: 協議適配器錯誤 TNS-00511: 無監聽程式 32-bit Windows Error: 2: No such file or directory正在串連到