Awr Report Analysis

September 14, 2017 | Author: srinivas1224 | Category: Oracle Database, Sql, Data Buffer, Pl/Sql, Databases
Share Embed Donate


Short Description

Download Awr Report Analysis...

Description

c c       c     c c c             !c 

"   # $%&$ & c      c'  c          c&   c  c c      !c    "      c    !c       &  ( )!#*   +  c     !c'  ,  -' -  ,  ' - -c  ./&  !c &    c 0      * 1 c    c          '      c  &&  

 !c ,   2 "         c c !c&     & c c& c ,,  

  !c &",&  c  c    , ,     c c c  c 3       , +  ' ,     ,* 1   ,&   ,  cc c    .  c  ,  /   

Understand AWR Report Term O

       

1)Instance information:-                             -                          ! "#     $"                              )Cache Sizes :    %&'O O((                 O  ·)Load Profile:          )                       

           )          Î)Instance Efficiency Percentages (Target 100%):                   

       O                *            V)Shared Pool StatisticsÊ  

%         6)Top V Timed Events :                +       ,  

               , 7)RAC Statistics :                                          ã)Wait Class :                  #O    ü)Wait Events Statistics Section:                                             10)Wait Events: O                 -              11)Background Wait Events:             1)Time Model Statistics:       .                                                   1·)Operating System Statistics:       /&             )     "#/ !        1Î)Service Statistics:                 !   #        1V)SQL Section:     &01   &01) 

 

$&01/ 2  Ê"  &01        )      

$&01/  ! Ê"  &01          !       $&01/ ' Ê &01        $&01/  Ê &01           $&01/    Ê &01 )        $&01/ & ( Ê"  &01            &'O    $&01/ 3   Ê &01              16)Instance Activity Stats:                     17)I/O Section:       "#/       4# O $ #   O#          #           1ã)Advisory Section:           'O  5 1ü)Buffer Wait Statistics:             0)Enqueue Activity:        6     2 6               1)Undo Segment Summary:     

            ! &  & Ê                )Latch Activity:          1   %        .   /           1  

      6  *   

           ·)Segment Section:                      -   &    1 Ê"      )      &       Ê"      )         &    77   Ê                &    1  

 Ê"          

&    "1  Ê"         "     1 "1$   "1      "8"O8&     Î)Dictionary Cache Stats:   )          V)Library Cache Activity: "            -  9   #              6)SGA Memory Summary:                     $     7)init.ora Parameters:                



Reading an AWR Report -- 3 Continuing the Reading an AWR report series .... I run these statements :

h             h   

 

       !!"  h   #    h   $   %&  '   (  )*   " # &    +   ,"  -  (.h   ".//*  0   (  )*   1 # &    !    ('2!!*  !!  (.h    '2!!.//*  !$   (  )*   !% # &    !'   ,!   !"  ,!   !+  (.h   !  3 ! .//*  !-  !0  h   "' !$!-%$   h    '2!!0 ' $+-$   h   !  3 ! $ !-$'1%+     h   

        !%' "

 h           The AWR report indicates that the whole PLSQL block took 57.47 seconds but that the individual SQLs in the block took 70.52 to 112.95 seconds (Note :The client reported a total elapsed time of 94.05seconds, including parsing and SQLNet time !).

h   4 567 893 h !%$ :!%$!  :9

   h   

  h  

     :;4 564   4  h   #   4 5 4  !   :;4 : 4  & 4 56   :;3 h ?    &   (  )*   # &       ,"  (.h   ".//*

    (  )*  # &      ('2!!*    (.h    '2!!.//*   (  )*     !!!!!''00$! +!" ")H=!#  > h ?   6D7G        G5  The table has a PARALLEL DEGREE of 4 defined so each of the three queries, doing a FullTableScan actually used 4 PQ slaves. What are the time model statistics ?

4 > h  567 893 h !%$ :!%$!  :4    : (564 *$0%"   :h  & I& I  &  

   2

    56     :8; 56  2h      h G 4 ( *; 564   :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 

)  $0!011'

 563 h ? 

 h34h(h@ 4A*B98>C9A @9D B@34 4@6EF9985 757G('2!!*    '+0!'+-1$0!+!+$+! 0 -"=   > h ?   h34h(h@ 4A*B98>C9A @9D B@34 4@6EF9985 75,! @G5 3 h ?   h34h(h@ 4A*B98>C9A @9D B@34 4@6EF9985 75,"  Isn't that a very interesting difference from yesterday's report ? Now we have the real execution time for each of the three SQLs which add up to the time for the PLSQL block. Is there a discrepancy in the Time Model Statistics now ?

4 > h  567 893 h !%$":!%$+  :4    : (564 *!+++   :h  & I& I  &  

   2

    56     :8; 56  2h      h G 4 ( *; 564   :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 

)  !+!-1-!  563
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF