Bugra Canbakal's Oracle Blog

  • Home
  • Contact
  • SITE MAP
You are here: Home / Oracle / Terminal üstünden AWR raporu çıkartmak

Terminal üstünden AWR raporu çıkartmak

Haziran 14, 2010 By Bugra Canbakal Leave a Comment

1.UYGULAMA
1.1 Enterprise Managera ulaşılamadığı durumlarda terminal ekranını kullanarak AWR raporunu oluşturmak.
• Sisteme Oracle kullanıcısıyla bağlanıyoruz.
• Terminal ekranına “cd $ORACLE_HOME/rdbms/admin/” yazarak admin klasörüne giriyoruz.
• Terminal ekranına “sqlplus / as sysdba” diyerek SQLPLUS ekranına bağlanıyoruz.
• SQL ekranında “@$ORACLE_HOME/rdbms/admin/awrrpt.sql” komutunu giriyoruz.

Specify the Report Type
 Specify the Report Type
 ~~~~~~~~~~~~~~~~~~~~~~~
 Would you like an HTML report, or a plain text report?
 Enter 'html' for an HTML report, or 'text' for plain text
 Defaults to 'html'
 Enter value for report_type: html /// Bu kısma almak istediğimiz form türünü yazıyoruz text ve html formatını girebiliyoruz
 Type Specified: html
 Instances in this Workload Repository schema
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 DB Id Inst Num DB Name Instance Host
 ------------ -------- ------------ ------------ ------------
 * 1246424386 1 ORCL orcl localhost.lo
 caldomain
 Using 1246424386 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 without
 specifying a number lists all completed snapshots.
 Enter value for num_days: 7 /// Istatistiği alınacak gün sayısı
 Listing the last 7 days of Completed Snapshots
 Snap
 Instance DB Name Snap Id Snap Started Level
 ------------ ------------ --------- ------------------ -----
 orcl ORCL 2 11 May 2010 22:41 1
 3 12 May 2010 00:00 1
 4 13 May 2010 09:34 1
 5 13 May 2010 11:00 1
 6 13 May 2010 14:05 1
 7 13 May 2010 20:30 1
 8 14 May 2010 16:46 1
 9 17 May 2010 10:57 1
 10 17 May 2010 13:03 1
 11 17 May 2010 14:01 1
 Specify the Begin and End Snapshot Ids
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Enter value for begin_snap: 3 /// yukardaki tabloya bakıp istediğimiz zaman diliminin snap_id sini yazıyoruz bu başlangıç tarihi oluyor
 Begin Snapshot Id specified: 3
 Enter value for end_snap: 11 /// yine yukardaki tabloya bakıp sonlanma tarihini yazıyoruz.
 End Snapshot Id specified: 11
 Specify the Report Name
 ~~~~~~~~~~~~~~~~~~~~~~~
 The default report file name is awrrpt_1_3_11.html. To use this name,
 press to continue, otherwise enter an alternative.
 Enter value for report_name: awrrpt_oratech.html /// raporun ismini yazıyoruz

• Bu işlemlerden sonra raporumuz oluşacaktır. SQL ekranından “exit” diyip çıkıyoruz.
• Bulunduğumuz ekrana ls *.html çekip dosyanın oluşup oluşmadığını control ediyoruz.

Bunu paylaş:

  • Linkedln üzerinden paylaşmak için tıklayın (Yeni pencerede açılır) LinkedIn
  • X'te paylaşmak için tıklayın (Yeni pencerede açılır) X

Filed Under: Oracle Tagged With: awr, awr report

Bir Cevap YazınCevabı iptal et

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About Me



Dil:

  • English
  • Turkish

Kategoriler

  • Oracle
    • RAC – Real Application Cluster
    • RMAN
    • Single Node
    • Standby – Dataguard
  • OS
    • Linux

Blogroll

  • Emre Baransel
  • Gökhan Atıl
  • H. Tonguc Yılmaz
  • Kamil Türkyılmaz
  • Tanel Poder
  • Turkce Oracle
  • Turkish Oracle User Group
  • Uwe Hesse
  • Zekeriya Beşiroğlu

Arşivler

  • Nisan 2014
  • Mart 2014
  • Ağustos 2013
  • Haziran 2013
  • Mart 2013
  • Ocak 2013
  • Aralık 2012
  • Kasım 2012
  • Temmuz 2012
  • Haziran 2012
  • Mayıs 2012
  • Ocak 2012
  • Kasım 2011
  • Ekim 2011
  • Ağustos 2011
  • Temmuz 2011
  • Haziran 2011
  • Şubat 2011
  • Ocak 2011
  • Aralık 2010
  • Kasım 2010
  • Haziran 2010
OCP
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Çerez Politikası

[footer_backtotop]

Copyright © 2010-2014 Bugra Canbakal. All rights reserved.