You were brought to this page based on an internet search
and as a free service to Oracle DBAs.
The text below is an except from the book,
Oracle Performance Firefighting, written by
Craig Shallahamer of
OraPub, Inc.
Figures and tables are not included on this page, only their reference.
To order the book in either print or PDF form, click
here.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
-------------------------------
Using the arrival rate formula and the Statspack data shown in Figure 9-2, we can easily perform the same load profile calculations as the Oracle Statspack developers (shown in Figure 9-1). The raw data used for the calculations is included in the Snapshot and Instance Activity Stats sections. The snapshot interval, labeled simply as "Elapsed," is expressed in minutes, which is the difference between the beginning snap time and ending snap time. The workload interval activity has been calculated and is displayed in the Instance Activity Stats section. While not shown, the interval activity is simply the difference between the ending statistic value and the beginning statistic value.
Figure 9-2. Two other Statspack sections from the report in Figure 9-1. The timing detail and a few of the statistics in the Instance Statistics sections are shown. This is enough information to calculate the workload; that is, the arrival rate expressed in commits, transactions, logical IOs, and user calls per second.
Using the data shown in Figure 9-2, the user calls per second workload metric is calculated as follows:
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
|