【文章內(nèi)容簡介】
況。 NEA 日志文件存放在以下目錄中: $NEA 安裝路徑 \log\。 OMC 日志提取方法 ORACLE 日志提取方法介紹 。 1) ORACLE alert 日志提取說明 : alert 日志記錄的是 ORACLE 的一些實例級別的變化,對數(shù)據(jù)庫的任何配置的修改和數(shù)據(jù)庫的任何異常都將記錄在 alert 日志中,在數(shù)據(jù)庫發(fā)生問題時,能夠第一時間的定位到數(shù)據(jù)庫的問題所在。 alert 日志路徑: $ORACLE_HOME/admin/實例名 /bdump 下 以 alert 打頭的文件。 可以嘗試使用如下命令: cd $ORACLE_BASE/admin/$ORACLE_SID/bdump。 2) AWR 報告的提取方法 : 進入 $ORACLE_HOME/rdbms/admin 目 錄 , 在 sqlplus 下 運 行@$ORACLE_HOME/rdbms/admin/awrrpt、 sql 腳本,按照提示一步一步就可以達(dá)成,導(dǎo)出的格式有兩種, txt 格式和 html 格式,用 html 格式的比較好看一點 。 具體操作方法如下: bash 00$ echo $ORACLE_HOME /export/home/oracle/product/ 0 bash 00$ cd /export/home/oracle/product/ 0/rdbms/admin/ bash 00$ sqlplus / as sysdba SQL*Plus: Release 0、 0 Production on Thu Oct 14 16:55:19 2020 Copyright (c) 1982, 2020, Oracle、 All rights reserved、 Connected to: Oracle Database 10g Enterprise Edition Release 0、 0 64bit Production With the Partitioning, OLAP and Data Mining options SQL @/export/home/oracle/product/ 0/rdbms/admin/awrrpt、 sql。 Current Instance ~~~~~~~~~~~~~~~~ DB Id DB Name Inst Num Instance 3664984659 V233 1 v233 LTE troubleshooting 手冊 基礎(chǔ)篇 17 Specify the Report Type ~~~~~~~~~~~~~~~~~~~~~~~ Would you like an HTML report, or a plain text report? Enter 39。html39。 for an HTML report, or 39。text39。 for plain text Defaults to 39。html39。 Enter value for report_type: html Type Specified: html Instances in this Workload Repository schema ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DB Id Inst Num DB Name Instance Host * 3664984659 1 V233 v233 M4000 Using 3664984659 for database Id Using 1 for instance number Specify the number of days of snapshots to choose from ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Entering the number of days (n) will result in the most recent (n) days of snapshots being listed、 Pressing return without specifying a number lists all pleted snapshots、 Enter value for num_days: 3 Listing the last 3 days of Completed Snapshots Snap Instance DB Name Snap Id Snap Started Level v233 V233 659 12 Oct 2020 00:00 1 660 12 Oct 2020 01:00 1 661 12 Oct 2020 02:00 1 662 12 Oct 2020 03:01 1 663 12 Oct 2020 04:00 1 664 12 Oct 2020 05:00 1 665 12 Oct 2020 06:00 1 666 12 Oct 2020 07:01 1 667 12 Oct 2020 08:00 1 668 12 Oct 2020 09:00 1 669 12 Oct 2020 10:00 1 670 12 Oct 2020 11:01 1 基礎(chǔ)篇 LTE troubleshooting 手冊 18 671 12 Oct 2020 12:00 1 672 12 Oct 2020 13:00 1 673 12 Oct 2020 14:00 1 674 12 Oct 2020 15:00 1 675 12 Oct 2020 16:00 1 676 12 Oct 2020 17:00 1 677 12 Oct 2020 18:00 1 678 12 Oct 2020 19:00 1 679 12 Oct 2020 20:00 1 680 12 Oct 2020 21:00 1 681 12 Oct 2020 22:00 1 682 12 Oct 2020 23:00 1 683 13 Oct 2020 00:00 1 684 13 Oct 2020 01:01 1 685 13 Oct 2020 02:00 1 686 13 Oct 2020 03:00 1 687 13 Oct 2020 04:00 1 688 13 Oct 2020 05:00 1 689 13 Oct 2020 06:00 1 690 13 Oct 2020 07:00 1 691 13 Oct 2020 08:00 1 692 13 Oct 2020 09:00 1 693 13 Oct 2020 10:00 1 694 13 Oct 2020 11:00 1 695 13 Oct 2020 12:00 1 696 13 Oct 2020 13:00 1 697 13 Oct 2020 14:00 1 698 13 Oct 2020 15:00 1 699 13 Oct 2020 16:00 1 700 13 Oct 2020 17:00 1 701 13 Oct 2020 18:00 1 702 13 Oct 2020 19:00 1 703 13 Oct 2020 20:00 1 704 13 Oct 2020 21:00 1 705 13 Oct 2020 22:00 1 706 13 Oct 2020 23:00 1 LTE troubleshooting 手冊 基礎(chǔ)篇 19 707 14 Oct 2020 00:01 1 708 14 Oct 2020 01:00 1 709 14 Oct 2020 02:00 1 710 14 Oct 2020 03:0