




已閱讀5頁,還剩1頁未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
1. 參看AWR報(bào)告生成詳解.doc。2. 切換用戶: rootxlserver10 # su oracle /注意-后面有空格,oracle為用戶名3. oraclexlserver10 pwd4. oraclexlserver10 cd /opt/oracle/product/11.2.0/db_1/rdbms/admin5. oraclexlserver10 admin$ ls ash*6. oraclexlserver10 admin$ sqlplus /nolog /在目錄oracle_home/./admin7. sqlplus下刪除輸入的非法字符用delete鍵,不要用backspace退格8. SQL conn /as sysdba /這一句必須執(zhí)行9. 3 SQL ashrpt.sqlCurrent InstanceDB IdDB NameInst Num Instance- - - -715014091 ANQING1 anqing1Specify the Report TypeEnter html for an HTML report, or text for plain textDefaults to htmlEnter value for report_type: text-選擇生成的ASH報(bào)告類型,是text還是htmlType Specified:textInstances in this Workload Repository schemaDB IdInst Num DB NameInstanceHost- - - - -7150140911 ANQINGanqingsingledb* 7150140911 ANQINGanqing1raANQINGanqing2rac2Defaults to current databaseUsing database id: 715014091Defaults to current instanceUsing instance number: 1ASH Samples in this Workload Repository schemaOldest ASH sample available:19-May-11 14:49:5910585 mins in the pastLatest ASH sample available:26-May-11 23:14:341 mins in the pastSpecify the timeframe to generate the ASH reportEnter begin time for report:-Valid input formats:-To specify absolute begin time:-MM/DD/YY HH24:MI:SS-Examples: 02/23/03 14:30:15-02/23 14:30:15-14:30:15-14:30-To specify relative begin time: (start with - sign)-HH24:MI-Examples: -1:15(SYSDATE - 1 Hr 15 Mins)-25(SYSDATE - 25 Mins)Defaults to -15 minsEnter value for begin_time: 8:00-輸入ASH開始的時(shí)間,時(shí)間格式上面的示例有說明Report begin time specified: 8:00Enter duration in minutes starting from begin time:Defaults to SYSDATE - begin_timePress Enter to analyze till current timeEnter value for duration:-輸入ASH結(jié)束時(shí)間,默認(rèn)是SYSDATE - begin_timeReport duration specified:Using 26-May-11 08:00:00 as report begin timeUsing 26-May-11 23:15:12 as report end timeSpecify Slot Width (using ashrpti.sql) for Activity Over Time section- Explanation:-In the Activity Over Time section of the ASH report,-the analysis period is divided into smaller slots-and top wait events are reported in each of those slots.- Default:-The analysis period will be automatically split upto 10 slots-complying to a minimum slot width of-1 minute,if the source is V$ACTIVE_SESSION_HISTORY or-5 minutes, if the source is DBA_HIST_ACTIVE_SESS_HISTORY.Specify Slot Width in seconds to use in the Activity Over Time section:Defaults to a value as explained above:Slot Width specified:Specify Report Targets (using ashrpti.sql) to generate the ASH report- Explanation:-ASH Report can accept Report Targets,-like a particular SQL statement, or a particular SESSION,-to generate the report on. If one or more report targets are-specified, then the data used to generate the report will only be-the ASH samples that pertain to ALL the specified report targets.- Default:-If none of the report targets are specified,-then the target defaults to all activity in the database instance.Specify SESSION_ID (eg: from V$SESSION.SID) report target:Defaults to NULL:SESSION report target specified:Specify SQL_ID (eg: from V$SQL.SQL_ID) report target:Defaults to NULL: (% and _ wildcards allowed)SQL report target specified:Specify WATI_CLASS name (eg: from V$EVENT_NAME.WAIT_CLASS) report target:Enter CPU to investigate CPU usageDefaults to NULL: (% and _ wildcards allowed)WAIT_CLASS report target specified:Specify SERVICE_HASH (eg: from V$ACTIVE_SERVICES.NAME_HASH) report target:Defaults to NULL:SERVICE report target specified:Specify MODULE name (eg: from V$SESSION.MODULE) report target:Defaults to NULL: (% and _ wildcards allowed)MODULE report target specified:Specify ACTION name (eg: from V$SESSION.ACTION) report target:Defaults to NULL: (% and _ wildcards allowed)ACTION report target specified:Specify CLIENT_ID (eg: from V$SESSION.CLIENT_IDENTIFIER) report target:Defaults to NULL: (% and _ wildcards allowed)CLIENT_ID report target specified:Specify PLSQL_ENTRY name (eg: SYS.DBMS_LOB.*) report target:Defaults to NULL: (% and _ wildcards allowed)PLSQL_ENTRY report target specified:Specify the Report NameThe default report file name is
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 電商平臺(tái)的部門職責(zé)與組織結(jié)構(gòu)
- 運(yùn)輸及盛裝貨物用陶瓷容器項(xiàng)目績效評(píng)估報(bào)告
- 剖宮產(chǎn)術(shù)后營養(yǎng)護(hù)理措施
- 銀行2025年誠信建設(shè)工作計(jì)劃
- 城市水利工程建設(shè)質(zhì)量控制措施
- 特殊病例護(hù)理技術(shù)的并發(fā)癥預(yù)防流程
- 七年級(jí)英語文學(xué)欣賞教學(xué)計(jì)劃
- 年中國經(jīng)濟(jì)開發(fā)區(qū)行業(yè)市場調(diào)查研究及投資前景預(yù)測報(bào)告
- 三年級(jí)語文活動(dòng)課教學(xué)計(jì)劃
- 社區(qū)服務(wù)站申請(qǐng)立項(xiàng)可行性研究報(bào)告
- 中考詞匯完整版
- Photoshop圖像美化的實(shí)戰(zhàn)經(jīng)驗(yàn)與分享試題及答案
- 昆蟲生態(tài)學(xué) 第三章種群生態(tài)學(xué)課件
- 2025屆天津市和平區(qū)第二十中學(xué)數(shù)學(xué)八下期末復(fù)習(xí)檢測模擬試題含解析
- 政府委托經(jīng)營協(xié)議書
- 江蘇省南通市通州區(qū)、如東縣2025屆九年級(jí)下學(xué)期中考一?;瘜W(xué)試卷(含答案)
- (高清版)DG∕TJ 08-2243-2017 市屬高校建筑規(guī)劃面積標(biāo)準(zhǔn)
- 良渚文化課件
- 股權(quán)無償劃轉(zhuǎn)協(xié)議書
- 食品配送服務(wù)質(zhì)量保障措施
- (統(tǒng)編2024版)七下語文期末專題總復(fù)習(xí)課件(共6個(gè)專題)新教材
評(píng)論
0/150
提交評(píng)論