Subscribe to Posts by Email

Subscriber Count

    699

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

Interpreting RAC global workload characteristics in AWR report, understanding RAC related statistics part in AWR

The following sections are key to analyze in the AWR report and identify for RAC global characteristics or load profile.

  • Number of Instances
  • Instance global cache load profile
  • Global cache efficiency percentages
  • GCS-GES workload characteristics
  • Messaging statistics
  • Service Statistics
  • Service Wait class statistics
  • Top segments related to CR and current blocks

Number of Instances:-

image 

Global Cache Load Profile section:-

imageExplanation:-

the first two statistics indicate the number of blocks transferred to or from this instance, thus if you are using a 8K block size

         Sent:        240 x 8,192 = 1966080 bytes/sec = 2.0 MB/sec
         Received:  315 x 8,192 = 2580480 bytes/sec = 2.6 MB/sec

to determine the amount of network traffic generated due to messaging you first need to find the average message size (this was 193 on my system)

SQL>select sum(kjxmsize * (kjxmrcv + kjxmsnt + kjxmqsnt)) / sum((kjxmrcv + kjxmsnt + kjxmqsnt)) "avg Message size" from x$kjxm
        where kjxmrcv > 0 or kjxmsnt > 0 or kjxmqsnt > 0;

then calculate the amount of messaging traffic on this network
    193 (765 + 525) = 387000 = 0.4 MB

to calculate the total network traffic generated by cache fusion
     = 2.0 + 2.6 + 0.4 = 5 MBytes/sec
      = 5 x 8 = 40 Mbits/sec

The DBWR Fusion writes statistic indicates the number of times the local DBWR was forced to write a block to disk due to remote instances, this number should be low.

 

Global Cache Efficiency Percentage:-

 image

Explanation:-

this section shows how the instance is getting all the data blocks it needs. The best order is the following

  • Local cache
  • Remote cache
  • Disk

The first two give the cache hit ratio for the instance, you are looking for a value less than 10%, if you are getting higher values then you may consider application partitioning.

 

GCS & GES Workload characteristics Section:-

 image Explanation:-

this section contains timing statistics for global enqueue and global cache. As a general rule you are looking for

  • All timings related to CR (Consistent Read) processing block should be less than 10 ms
  • All timings related to CURRENT block processing should be less than 20 ms

GCS & GES Message Statistics section:-

 image Explanation:-

The first section relates to sending a message and should be less than 1 second.

The second section details the breakup of direct and indirect messages, direct messages are sent by a instance foreground or the user processes to remote instances, indirect are messages that are not urgent and are pooled and sent.

Service Wait section:-

image Explanation:-

shows the resources used by all the service instance supports

Service Wait class section:-

imageExplanation:- 

summarizes waits in different categories for each service

Top segment section:-

image

Explanation:-

Contains the names of the top 5 contentious segments (table or index). If a table or index has a very high percentage of CR and Current block transfers you need to investigate. This is pretty much like a normal single instance.

Reference:- Oracle 10g Real application clusters handbook, K. GopalKrishnan

 

-Thanks

Geek DBA

2 comments to Interpreting RAC global workload characteristics in AWR report, understanding RAC related statistics part in AWR