轉自:http://levicorp.com/2009/05/22/how-to-kill-the-running-job/ 1. Check the running Job (From here you will get the SID thatrunning the Job)SQL> SELECT * FROM DBA_JOBS_RUNNING;2. Make Job become Broken/offlineBEGIN
說明:這個例子轉自老白的DBA日記 剛剛坐下,電話就響了,一個客戶打過來的,說是碰到一個很奇怪的問題。在一張上千萬記錄的大表裡,做一個SELECT * FROM <TAB_NAME> WHERE ROWNUM<100,居然十多秒鐘才出來。我問他這張表是不是片段很厲害,他所不可能有片段,昨天才IMP進去的,昨天還沒問題,今天就出問題了。而且這張是話單表,不可能會做刪除操作的,不會有片段。我讓他馬上做個10046發過來。 --相關知識點參考:OracleSQLTrace 和 10
在AWR中,如果有部分選項是:Nodata exists for this section of the report.那麼屬正常現象。 如: 那麼現在看一個有資料的AWR: 在下面的這個圖中就顯示了顯示的條件:(1)SQL orderedby Sharable Memory:Only Statements with Sharable Memory greater than 1048576 are displayed(2)SQL orderedby Version Count:Only
啟動Oracle 11gR2後報錯:ORA-00845 rac1:/home/oracle> sqlplus / as sysdba;SQL*Plus: Release 11.2.0.3.0 Production onTue Feb 14 09:11:41 2012 Copyright (c) 1982, 2011, Oracle. All rights reserved. Connected to an idle instance. SQL> startupORA-00845:
關於跨OS 的DB 遷移,MOS 上有相關的文章說明:[ID733205.1]。 To migrate anexisting Oracle database (NOT BINARIES) from one Operating Systemplatform to another (i.e. Windows to Solaris) ,This can occur as part ofan Oracle version upgrade (Oracle 8i .. Oracle 11G) or
在Oracle 11g安裝中,會經常遇到如下2種問題: Oracle 11gORA-00845: MEMORY_TARGET not supported on this system 說明http://blog.csdn.net/tianlesoftware/article/details/7256984 [INS-35172]Target database memory (XXMB) exceeds the systems available shared memory({0}MB)
Oracle Aggregate Functions用過很多,官網的說明如下: Aggregate Functionshttp://docs.oracle.com/cd/E11882_01/server.112/e26088/functions003.htm#SQLRF20035 Aggregatefunctions return a single result row based on groups of rows, rather than onsingle rows. Aggregate
花了大半個月的時間小研究了一下Oracle Golden Gate。 先簡單的說說自己學習GG的一個過程。參考資料都是官方文檔,官網的連結如下:http://download.oracle.com/docs/cd/E22355_01/index.htm 其中主要參考如下幾篇:Administrator'sGuideReferenceGuideOracleInstallation and Setup Guide 開始看了GG
一.Alerts 和 Metrics說明官方連結:Monitoring and Tuning the Databasehttp://docs.oracle.com/cd/E11882_01/server.112/e10897/montune.htm#CACCIHAB Alerts help you monitor your database. Most alerts notify youof when particular metric thresholds are exceeded.For
Block ChangeTracking 是Oracle 10g裡推出的特性。官網對Block change tracking 的定義如下: Adatabase option that causes Oracle to track data file blocks affected by eachdatabase update. The tracking information is stored in a block change trackingfile. When
用set autotrace 或者 explain plan for 產生執行計畫時,有如下提示:Note----- - 'PLAN_TABLE' is old version 導致這個錯誤的原因是曾經使用toad的執行計畫分析過,所以執行了它內建的指令碼產生了plan_table。 解決辦法,drop掉plan_table後重新建立就可以了。SQL> drop table PLAN_TABLE;Table dropped. SQL>