Quantcast
Channel: Karl Arao's TiddlyWiki
Viewing all 1150 articles
Browse latest View live

tricky cpu aix stuff

$
0
0

background

some background narrative about the "real CPU" accounting in AIX https://www.evernote.com/shard/s48/sh/4d399b0b-d853-43b2-a674-a54e475165ae/55ede8cd0a38544697236dd93c86de5e

details

So the physical CPUs of the AIX box is 8… now it’s a bit tricky to get the real CPU% in AIX.. 

If the database shows you this cpu_count...

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
cpu_count                            integer     16

First you have to determine the CPUs of the machine

$ prtconf
System Model: IBM,8204-E8A
Machine Serial Number: 10F2441
Processor Type: PowerPC_POWER6
Processor Implementation Mode: POWER 6
Processor Version: PV_6_Compat
Number Of Processors: 8
Processor Clock Speed: 4204 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: 2 nad0019aixp21
Memory Size: 21248 MB
Good Memory Size: 21248 MB
Platform Firmware level: Not Available
Firmware Version: IBM,EL350_132
Console Login: enable
Auto Restart: true
Full Core: false

$ lsattr -El proc0
frequency   4204000000     Processor Speed       False
smt_enabled true           Processor SMT enabled False
smt_threads 2              Processor SMT threads False
state       enable         Processor state       False
type        PowerPC_POWER6 Processor type        False

$ uname -M
IBM,8204-E8A

$  lsdev -Cc processor
proc0  Available 00-00 Processor
proc2  Available 00-02 Processor
proc4  Available 00-04 Processor
proc6  Available 00-06 Processor
proc8  Available 00-08 Processor
proc10 Available 00-10 Processor
proc12 Available 00-12 Processor
proc14 Available 00-14 Processor

$ lscfg -vp |grep -ip proc |grep "PROC"
      2 WAY PROC CUOD :
      2 WAY PROC CUOD :
      2 WAY PROC CUOD :
      2 WAY PROC CUOD :

$ lparstat -i
Node Name                                  : hostexample
Partition Name                             : hostexample
Partition Number                           : 2
Type                                       : Shared-SMT
Mode                                       : Uncapped
Entitled Capacity                          : 2.30
Partition Group-ID                         : 32770
Shared Pool ID                             : 0
Online Virtual CPUs                        : 8
Maximum Virtual CPUs                       : 8
Minimum Virtual CPUs                       : 1
Online Memory                              : 21247 MB
Maximum Memory                             : 40960 MB
Minimum Memory                             : 256 MB
Variable Capacity Weight                   : 128
Minimum Capacity                           : 0.10
Maximum Capacity                           : 8.00
Capacity Increment                         : 0.01
Maximum Physical CPUs in system            : 8
Active Physical CPUs in system             : 8
Active CPUs in Pool                        : 8
Shared Physical CPUs in system             : 8
Maximum Capacity of Pool                   : 800
Entitled Capacity of Pool                  : 740
Unallocated Capacity                       : 0.00
Physical CPU Percentage                    : 28.75%
Unallocated Weight                         : 0


Then, execute the lparstat… 
•	The ent 2.30 is the entitled CPU capacity
•	The psize is the # of physical CPUs on the shared pool
•	The physc 4.42 means that the CPU usage went above the entitled capacity because it is “Uncapped”.. so to get the real CPU% just do a 4.42/8 = 55% utilization
•	55% utilization could either be applied on the 8Physical CPUs or 16 Logical CPUs… because that’s just the percentage used so I just put on the prov worksheet 60% 

$ lparstat 1 10000

System configuration: type=Shared mode=Uncapped smt=On lcpu=16 mem=21247 psize=8 ent=2.30

%user  %sys  %wait  %idle physc %entc  lbusy  vcsw phint
----- ----- ------ ------ ----- ----- ------ ----- -----
 91.4   7.6    0.8    0.3  3.94 171.1   29.9  4968  1352
 92.0   6.9    0.7    0.4  3.76 163.4   26.2  4548  1054
 93.1   6.0    0.5    0.3  4.42 192.3   33.2  4606  1316
 91.3   7.5    0.7    0.5  3.74 162.6   25.6  5220  1191
 93.4   5.7    0.6    0.3  4.07 176.9   28.7  4423  1239
 93.1   6.0    0.6    0.4  4.05 176.0   29.4  4709  1164
 92.3   6.7    0.6    0.5  3.46 150.2   24.8  4299   718
 92.2   6.9    0.6    0.4  3.69 160.6   27.9  4169   973
 91.9   7.3    0.5    0.3  4.06 176.5   33.2  4248  1233

LPAR-cpucapacityplanning

$
0
0
http://neerajbhatia.wordpress.com/2011/10/07/capacity-planning-and-performance-management-on-ibm-powervm-virtualized-environment/
also check on this youtube video http://www.youtube.com/watch?v=WphGQx-N98UPowerBasics What is a Virtual Processor? and Shared Processor


Some possible actions in case of threshold violations can be investigating the individual partition contributing to the server's utilization, workload management if possible or as a last resort stop/migrate least critical partition. Workload behavior of partitions is very important and configuration needs to be done in such a way that not many partitions should compete for the processor resources at the same time.

One gauge of system's health is CPU run queue length. The run-queue length represents the number of processes that are currently running or waiting (queued) to run. Setting thresholds for run queue length is tricky in partitioned environment because uncapped partitioned can potentially consume more than their entitlement up to number of virtual processors. SMT introduced further complexity as it enable parallel execution: 2 simultaneous thread on Power5 and Power6 and 4 on Power7 environments.

To summarize – entitlement should be defined in such a way that it represents “nearly right” capacity requirements for a partition. Thus on average each partition’s entitled capacity utilization would be close to 100 percent and there will be a balance between capacity donors and borrowers in the system. While reviewing a partition’s utilization it’s important to know that any capacity used beyond entitled capacity isn’t guaranteed (as it might be some other partition’s entitlement). Therefore, if a partition’s entitled CPU utilization is beyond 100 percent, it might be forced back down to 100 percent if another partition requires that borrowed capacity. Processing units also decide the number of partitions that can run on a system. As the total processing units of all partitions running on a system cannot more than the number of physical processors, by assigning smaller processing units you can maximize the number of partitions on a system.

„h Have separate shared-processor pools for production partitions. But the scope of this solution is limited as multiple shared-processor pools capability is only available in Power6 and Power7 based systems.
„h Configure the non-production partitions as capped. Capped partitions are restricted to consume additional processor cycles beyond their entitled capacity.
„h A more flexible way is to configure the non-production partitions as uncapped and keep their uncapped weight to minimum. The number of virtual processors should be set to maximum physical CPUs which you think a partition should consume. This will effectively cap the partition at number of virtual processors. The benefits of this approach is that, non-production partitions can get additional resources up to their virtual processors but at the same time will remain harmless to production partitions with higher uncapped weights.


„h Determine the purpose and nature of the applications to be run on the partition, like web server supporting an online web store or batch database of a banking system.
„h Understand the business workload profile.
„h Identify any seasonal or periodic trends and its impact on the workload profile.
„h Understanding of the busiest hour in the working day, the busiest day in the week, busiest month of the year.
„h Calculate the processing requirements necessary to support workload profiles.

It is always better to measure and forecast the capacity in business metric terms because that's what business understands and same units are used by business to perceive the performance, throughput and forecast the business demand. We will call our business metrics as metric1 and metric2.
Clearly current value of entitled capacity of 2.0 processing units is not going to support additional workload. So based on this analysis, we should increase the entitled CPUs to 4 and to keep some margin for unexpected workload, set the virtual processors to 5 or 6. Another option which is worth considering for reducing the pressure on additional processing capacity is to shift metric2 workload by few hours, if possible. It will reduce the chances of running two business processes at the same time and result in CPU spikes. Such workload management options should be more important from the business perspective than their technical implications. I have simplified the illustration a lot but the principle of capacity planning would be the same


http://www.ibm.com/developerworks/wikis/display/WikiPtype/CPU+frequency+monitoring+using+lparstat
A Comparison of Virtualization Features of HP-UX, Solaris & AIXhttp://www.osnews.com/comments/20393
A comparison of virtualization features of HP-UX, Solaris and AIXhttp://www.ibm.com/developerworks/aix/library/au-aixvirtualization/?ca=dgr-jw30CompareFeatures&S_TACT=105AGX59&S_cmp=GRsitejw30



https://www.ibm.com/developerworks/mydeveloperworks/blogs/aixpert/entry/it_s_good_when_it_goes_wrong_and_i_am_on_holiday_nmon_question_peaks291?lang=en
"Shared CPU, Uncapped LPAR utilisation number do not look right nor does the average of the logical CPUs?"
Correct. They are very misleading.
I have been pointing this out for 5+ years.
For these types of LPARs, you need to monitor the physical CPU use.
The problem is the utilisation numbers (User+System) get to roughly 95% as you get to the Entitlement and stay at just below 100% as you use double, quadruple or higher numbers of physical CPU. They do not show you how much CPU time you are using above Entitlement.
Plus you can't average the logical CPUs (these are the SMT threads) to get the machine average because they are time-sharing the physical CPUs.
Also for Dedicated CPU LPARs all the Shared Processor stats don't mean anything, so they are not collected and there is no LPAR Tab in the nmon Analyser.
Lesson: POWER systems are function rich with advanced features that means we can't use 1990's stats to understand them.
There are two main critical LPARs on the heavily over committed machine - By this I mean that if you add up the LPAR Entitlements of a machine they have to add up to at most to the number of physical CPUs in the shared pool. But they have most LPARs Uncapped with the Virtual CPU (spreading factor) number much higher than the Entitlement. Normally, I don't recommend this for performance, as the LPAR has to compete for CPU cycles above the Entitlement. In this case, the two main LPARs have an Entitlement of 6 to 10 CPUs but a Virtual CPU of 40. Now the bad news, these two LPARs are busy at the same time - they are doing a database unload in one and a load of the same data in the other LPAR. If I tell you the machine has 64 physical CPUs, you can immediately see the problem. Both LPARs can't get 40 CPUs at the same time (we can't run 80 Virtual CPUs flat-out on 64 physical CPUs) and that does not include the other LPARs also running.

vmstat physical cpu
http://aix4admins.blogspot.com/2011/09/vmstat-t-5-3-shows-3-statistics-in-5.html
To measure cpu utilization measure us+sy together (and compare it to physc):
- if us+sy is always greater than 80%, then CPU is approaching its limits (but check physc as well and in "sar -P ALL" for each lcpu)

- if us+sy = 100% -> possible CPU bottleneck, but in an uncapped shared lpar check physc as well.

- if sy is high, your appl. is issuing many system calls to the kernel and asking the kernel to work. It measures how heavily the appl. is using kernel services.

- if sy  is higher then us, this means your system is spending less time on real work (not good)


Don't forget to compare these values with ouputs where each logical CPU can be seen (like "sar -p ALL 1 5")

Some examples when physical consumption of a CPU should be also looked when smt is on.:
- usr+sys=16%, but physc=0.56, it means i see 16% is utliized of a CPU, but actually half of the physical CPU (0.56) is used.

- if us+sys=100 and physc=0.45 we have to look both. If someone says 100% percent is used, then 100% of what? The 100% of the half of the CPU (physc=0.45) is used.

- %usr+%sys=83% for lcpu 0 (output from command sar). It looks a high number at the first sight,  but if you check physc, you can see only 0.01 physical core has been used, and the entitled capacityis 0.20, so this 83% is actually very little CPU consumption.







CPU wait

$
0
0
awr_topevents_v2.sql - added "CPU wait" (new in 11g) to include "unaccounted DB Time" on high run queue workloads http://goo.gl/trwKp, http://twitpic.com/89hp4p

this script was pretty useful, because on the usual AWR reports you don't see this CPU wait

What could possibly cause cpu wait?
from my performance work and the workloads that I've seen here are the possible reasons so far


if you are asking more CPU work than the number of CPUs

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
12  0 1054352 377816 767340 1990420    0    0   532   260 15924 11174 92  8  0  0  0
13  2 1054352 373904 767400 1990432    0    0   524     0 21159 10178 93  7  0  0  0
12  1 1054352 373284 767544 1990476    0    0   768    78 17628 11605 92  7  0  0  0
12  1 1054352 373904 767552 1990480    0    0   736    80 16470 12939 95  4  0  0  0
14  1 1054352 372532 767756 1990408    0    0   876     0 17323 13067 92  7  0  0  0
12  1 1054352 324776 767768 2017136    0    0 26957   206 24215 12566 95  5  0  0  0
14  0 1054352 320924 767788 2017168    0    0   796   136 21818 12009 94  5  0  0  0
14  1 1054352 324900 767944 2017180    0    0   836    40 17699 12674 95  5  0  0  0

from the AAS investigation, it was caused by hundreds of users being forked at the same time doing select * from a table and not having enough CPU to service those surge of processes causing high "b" - blocked on IO on vmstat

$ vmstat 1 1000
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0 277 1729904 467564 603852 5965768    0    0  1165    67    0    0  5 22 71  1  0
 2 275 1729904 465944 603856 5965772    0    0 521776  2676 15712 17116  6  5 15 74  0
 3 274 1729904 495324 603868 5965400    0    0 543848    48 10366 47365 14  5  1 80  0
 2 275 1729904 478732 603880 5966036    0    0 616776   248 10361 40782 13  5  0 82  0
 3 276 1729904 473764 603880 5966296    0    0 538416   816 10809 16695  7  3  0 90  0
 0 276 1729904 473136 603880 5966300    0    0 620120    16 15006 15223 13  3 10 74  0
 1 275 1729904 485808 603880 5966300    0    0 552696     0 8953 16632  5  3 12 80  0
 0 275 1729904 486204 603880 5966308    0    0 536784    52 11397 15096  5  3  1 90  0
 3 274 1729904 492916 603880 5966312    0    0 556352    56 10594 15988  7  5  2 86  0

PGA usage maxing out the memory and the kswapd kicks in and the server starts to swap like crazy causing high on CPU WAIT IO

top - 12:58:20 up 132 days, 42 min,  2 users,  load average: 13.68, 10.22, 9.07
Tasks: 995 total,  42 running, 919 sleeping,   0 stopped,  34 zombie
Cpu(s): 48.5%us, 28.4%sy,  0.0%ni, 10.5%id, 11.2%wa,  0.0%hi,  1.3%si,  0.0%st
Mem:  98848968k total, 98407164k used,   441804k free,      852k buffers
Swap: 25165816k total,  2455968k used, 22709848k free,   383132k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
13483 oracle    25   0 12.9g 509m  43m R 80.1  0.5 214:25.43 oraclemtaprd111 (LOCAL=NO)
24308 oracle    25   0 13.4g 1.0g  97m R 77.1  1.1  15:58.80 oraclemtaprd111 (LOCAL=NO)
16227 oracle    25   0 13.4g 1.0g  95m R 74.1  1.1   1312:47 oraclemtaprd111 (LOCAL=NO)
1401 root      11  -5     0    0    0 R 67.8  0.0 113:21.15 [kswapd0]
--
top - 12:59:48 up 132 days, 44 min,  2 users,  load average: 116.16, 43.81, 20.96
Tasks: 985 total,  73 running, 879 sleeping,   0 stopped,  33 zombie
Cpu(s):  8.6%us, 90.1%sy,  0.0%ni,  0.6%id,  0.7%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  98848968k total, 98407396k used,   441572k free,     2248k buffers
Swap: 25165816k total,  2645544k used, 22520272k free,   370780k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
32349 oracle    18   0 9797m 1.1g  33m S 493.3  1.2   0:36.76 oraclebiprd2 (LOCAL=NO)
29495 oracle    15   0  216m  26m  11m S 466.6  0.0   3:01.86 /u01/app/11.2.0/grid/bin/diskmon.bin -d -f
32726 oracle    16   0 8788m 169m  37m R 447.6  0.2   0:24.86 oraclebiprd2 (LOCAL=NO)
32338 oracle    18   0 9525m 905m  42m R 407.0  0.9   0:33.20 oraclebiprd2 (LOCAL=NO)
--
top - 12:59:54 up 132 days, 44 min,  2 users,  load average: 107.27, 44.31, 21.37
Tasks: 991 total,  16 running, 942 sleeping,   0 stopped,  33 zombie
Cpu(s): 30.3%us,  3.6%sy,  0.0%ni, 14.3%id, 51.6%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:  98848968k total, 98167188k used,   681780k free,     5264k buffers
Swap: 25165816k total,  2745440k used, 22420376k free,   369676k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
1401 root      10  -5     0    0    0 S 77.8  0.0 114:36.03 [kswapd0]                     <-- KSWAPD kicked in
19163 oracle    15   0 2152m  72m  16m S 74.9  0.1   9:42.45 /u01/app/11.2.0/grid/bin/oraagent.bin
3394 oracle    15   0  436m  23m  14m S 33.8  0.0  12:23.44 /u01/app/11.2.0/grid/bin/oraagent.bin
2171 root      16   0  349m  28m  12m S 28.6  0.0   1:50.29 /u01/app/11.2.0/grid/bin/orarootagent.bin


> vmstat 1 5000
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 2 69 9893340 442000   9032 346328 1160 2760  1264  2904 2083 13656 10  0 34 56  0
 3 67 9894700 443524   9036 345768 1204 3236  1268  3300 1930 13332  7  0 47 46  0
 1 72 9895936 446228   9052 346484 1052 3156  1220  3648 1819 13674  5  0 47 48  0
 2 74 9897156 448732   9064 346616 1724 3432  2128  3436 1936 14598  7  0 44 49  0
 3 73 9897724 446904   9068 347580 1524 2468  1636  2480 1730 13363  6  0 32 61  0
 7 65 9898208 448312   9080 347472 1328 1944  1660  1952 2496 14019 16  0 32 52  0
 8 61 9898500 444836   9092 347904 2128 2004  2464  2208 3381 16093 29  1 23 47  0
 1 79 9899372 441588   9104 348048 1236 2684  1424  3300 2774 14103 23  0 24 53  0
13 54 9909828 551780   9224 349588 36124 63296 37608 64800 126067 443473 18  0 23 59  0
16 40 9910136 536048   9260 350004 4208  988  5076  2044 5434 17055 51  3 10 36  0



wait io on CPUIDshttps://www.evernote.com/shard/s48/sh/0da5e22a-6a80-4a82-86a9-581d9203ed9c/8f5b5f4f63b789a9c3d4dc6a618128d0

MongoDB

Management Repository Views

$
0
0
Management Repository Viewshttp://docs.oracle.com/cd/B16240_01/doc/em.102/b40007/views.htm#BACCEIBI

http://nyoug.org/Presentations/2011/March/Iotzov_OEM_Repository.pdf
MGMT$METRIC_CURRENT 
MGMT$METRIC_DETAILS 
MGMT$METRIC_HOURLY 
MGMT$METRIC_DAILY

-- Reference Data
MGMT$TARGET_TYPE
MGMT$GROUP_DERIVED_MEMBERSHIPS
http://www.oracledbasupport.co.uk/querying-grid-repository-tables/
Modify these retention policies by updating the mgmt_parameters table in the OMR.
Table Name                   Retention Parameter                  Retention Days
MGMT_METRICS_RAW             mgmt_raw_keep_window                    7
MGMT_METRICS_1HOUR           mgmt_hour_keep_window                   31
MGMT_METRICS_1DAY            mgmt_day_keep_window                    365

10gR2 MGMT$METRIC_DAILYhttp://docs.oracle.com/cd/B19306_01/em.102/b16246/views.htm#sthref444
12cR2 MGMT$METRIC_DAILYhttp://docs.oracle.com/cd/E24628_01/doc.121/e25161/views.htm#sthref1824
12cR2 GC$METRIC_VALUES_DAILYhttp://docs.oracle.com/cd/E24628_01/doc.121/e25161/views.htm#BABFCJBD< new in 12c
gc_metric_values_daily/hourly are capacity planning gold mine views in #em12c #upallnightinvestigatingem12c http://goo.gl/YgMox< coolstuff!


OEM sampling

The collection is every 15 minutes, I made use of the following: 

$ cat metric_current.sql
col tm format a20
col target_name format a20
col metric_label format a20
col metric_column format a20
col value format a20
select TO_CHAR(collection_timestamp,'MM/DD/YY HH24:MI:SS') tm, target_name, metric_label, metric_column, value
from mgmt$metric_current
where metric_label = 'Load'
and metric_column = 'cpuUtil'
and target_name = 'desktopserver.local';

oracle@desktopserver.local:/home/oracle/dba/karao/scripts:emrep
$ cat metric_currentloop
#!/bin/bash

while :; do
sqlplus "/ as sysdba"<<! &
spool metric_current.txt append
set lines 300
@metric_current.sql
exit
!
sleep 10
echo
done

while : ; do cat metric_current.txt  | awk '{print $2}' | sort | uniq ; echo "---"; sleep 2; done

--------------------
15:11:59
15:26:59
15:41:59
15:56:59

col tm format a20
col target_name format a20
col metric_label format a20
col metric_column format a20
col value format a20
select TO_CHAR(collection_timestamp,'MM/DD/YY HH24:MI:SS') tm, target_name, metric_label, metric_column, value 
from mgmt$metric_current
where metric_label = 'Load'
and metric_column = 'cpuUtil'
and target_name = 'desktopserver.local';

select * from (
select TO_CHAR(rollup_timestamp,'MM/DD/YY HH24:MI:SS') tm, target_name, metric_label, metric_column, sample_count, average
from mgmt$metric_hourly
where metric_label = 'Load'
and metric_column = 'cpuUtil'
and target_name = 'desktopserver.local'
order by tm desc
) 
where rownum < 11;




metric extensions and BIP integration

$
0
0

metric extensions (next generation UDM)


OBE
Oracle Enterprise Manager 12c: Metric Extensions Part I –Deploy Metric Extensions
http://apex.oracle.com/pls/apex/f?p=44785:24:0::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5741,29#prettyPhoto
Oracle Enterprise Manager 12c: Metric Extensions Part II –Deploy Metric Extensions
http://apex.oracle.com/pls/apex/f?p=44785:24:0::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5742,29#prettyPhoto

howto
http://mmikhail.blogspot.sg/2013/01/metric-extensions-in-oem-12c.html
http://oemgc.files.wordpress.com/2012/05/using-metric-extensions-in-em12c.pdf

others:
http://www.slideshare.net/Enkitec/em12c-monitoring-metric-extensions-and-performance-pages
http://nyoug.org/Presentations/2013/Minhas_SPA.pdf
http://iiotzov.wordpress.com/tag/oracle-oem-12c-metrics-extension/


BIP (BI Publisher)


For the BIP document (version 11.1.1.6), you can refer to the following link:
Oracle® Fusion Middleware Data Modeling Guide for Oracle Business Intelligence Publisher
This is a manual to tell you how to build the data model in the BI Publisher
http://docs.oracle.com/cd/E23943_01/bi.1111/e22258/toc.htm

Oracle® Fusion Middleware Report Designer's Guide for Oracle Business Intelligence Publisher (3 Creating BI Publisher Layout Templates)
There are several ways to create the report layout (e.g. winword rtf, excel, pdf and so on). I just use the web interface in BI Publisher to create the report layout
http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_lay_tmpl.htm#BHBJJGCF

Prereq
cloud control 12.1.0.1.* requires BIP 11.1.1.5.0
cloud control 12.1.0.2.0 requires BIP 11.1.1.6.0

OBE
Oracle Enterprise Manager 12c: Install and Integrate BI Publisher
http://apex.oracle.com/pls/apex/f?p=44785:24:0:::24:P24_CONTENT_ID,P24_PREV_PAGE:6001,1#prettyPhoto
Oracle Enterprise Manager 12c: Reporting with BI Publisher
http://apex.oracle.com/pls/apex/f?p=44785:24:3081108624154::::P24_CONTENT_ID,P24_PREV_PAGE:6004,24
Oracle Enterprise Manager 12c: Implement the BI Publisher Security Model
http://apex.oracle.com/pls/apex/f?p=44785:24:3081108624154:::24:P24_CONTENT_ID,P24_PROD_SECTION_GRP_ID,P24_PREV_PAGE:6002,,24
Oracle Enterprise Manager 12c: Create a BI Publisher Report
http://apex.oracle.com/pls/apex/f?p=44785:24:3081108624154:::24:P24_CONTENT_ID,P24_PROD_SECTION_GRP_ID,P24_PREV_PAGE:6003,,24

howto
http://docs.oracle.com/cd/E24628_01/install.121/e24089/install_em_bip.htm
http://oemgc.files.wordpress.com/2012/10/integrating-bi-publisher-with-enterprise-manager.pdf

BIP download software
http://www.oracle.com/technetwork/middleware/bi-publisher/downloads/index.html


information publisher


http://docs.oracle.com/cd/E24628_01/doc.121/e24473/information_publisher.htm





examples

How to create a Customized Report in 12c Cloud Control for Database Alert log Errors (Doc ID 1528268.1)







facebook mature optimization handbook

10053


10046

$
0
0

disable 10046

$
0
0

SELECT s.sid, 
s.serial#,
s.server, 
lower( 
CASE 
WHEN s.server IN ('DEDICATED','SHARED') THEN 
i.instance_name || '_' || 
nvl(pp.server_name, nvl(ss.name, 'ora')) || '_' || 
p.spid || '.trc' 
ELSE NULL 
END 
) AS trace_file_name 
FROM v$instance i, 
v$session s, 
v$process p, 
v$px_process pp, 
v$shared_server ss 
WHERE s.paddr = p.addr 
AND s.sid = pp.sid (+) 
AND s.paddr = ss.paddr(+) 
AND s.type = 'USER' 
ORDER BY s.sid;


select u_dump.value || '/' || instance.value || '_ora_' || v$process.spid 
|| nvl2(v$process.traceid, '_' || v$process.traceid, null ) || '.trc'"Trace File"
from V$PARAMETER u_dump 
cross join V$PARAMETER instance 
cross join V$PROCESS 
join V$SESSION on v$process.addr = V$SESSION.paddr 
where u_dump.name = 'user_dump_dest' 
and instance.name = 'instance_name' 
and V$SESSION.audsid=sys_context('userenv','sessionid');

       SID SERVER    TRACE_FILE_NAME
---------- --------- --------------------------------------------------
         8 DEDICATED fsprd1_ora_8210.trc
         9 DEDICATED fsprd1_ora_4347.trc
        10 DEDICATED fsprd1_ora_4460.trc
        12 DEDICATED fsprd1_ora_4460.trc
        14 DEDICATED fsprd1_ora_6006.trc
        15 DEDICATED fsprd1_ora_1916.trc
        19 DEDICATED fsprd1_ora_22149.trc
        20 DEDICATED fsprd1_ora_21063.trc
        21 DEDICATED fsprd1_ora_4347.trc
        22 DEDICATED fsprd1_ora_21567.trc
        23 DEDICATED fsprd1_ora_4495.trc
        24 DEDICATED fsprd1_ora_4495.trc
        25 DEDICATED fsprd1_ora_14443.trc
        27 DEDICATED fsprd1_ora_21546.trc
        29 DEDICATED fsprd1_ora_22149.trc
        34 DEDICATED fsprd1_ora_32047.trc
        35 DEDICATED fsprd1_ora_23954.trc
        36 DEDICATED fsprd1_ora_23954.trc
       178 DEDICATED fsprd1_ora_26291.trc
       179 DEDICATED fsprd1_ora_8212.trc
       180 DEDICATED fsprd1_ora_26416.trc
       185 DEDICATED fsprd1_ora_20083.trc
       186 DEDICATED fsprd1_ora_21409.trc
       189 DEDICATED fsprd1_ora_12941.trc
       194 DEDICATED fsprd1_ora_21389.trc
       196 DEDICATED fsprd1_ora_26291.trc
       200 DEDICATED fsprd1_ora_7052.trc
       201 DEDICATED fsprd1_ora_1531.trc
       204 DEDICATED fsprd1_ora_18717.trc
       352 DEDICATED fsprd1_ora_8214.trc
       353 DEDICATED fsprd1_ora_7178.trc
       355 DEDICATED fsprd1_ora_16925.trc
       358 DEDICATED fsprd1_ora_24943.trc
       363 DEDICATED fsprd1_ora_21433.trc
       364 DEDICATED fsprd1_ora_30104.trc
       366 DEDICATED fsprd1_ora_9836.trc
       369 DEDICATED fsprd1_ora_30104.trc
       373 DEDICATED fsprd1_ora_9836.trc
       374 DEDICATED fsprd1_ora_21066.trc
       377 DEDICATED fsprd1_ora_4477.trc
       379 DEDICATED fsprd1_ora_4477.trc
       522 DEDICATED fsprd1_ora_9942.trc
       526 DEDICATED fsprd1_ora_11427.trc
       527 DEDICATED fsprd1_ora_23673.trc
       534 DEDICATED fsprd1_ora_23673.trc
       535 DEDICATED fsprd1_ora_14458.trc
       537 DEDICATED fsprd1_ora_14435.trc
       538 DEDICATED fsprd1_ora_22301.trc
       544 DEDICATED fsprd1_ora_21559.trc
       546 DEDICATED fsprd1_ora_7223.trc
       548 DEDICATED fsprd1_ora_5635.trc
       550 DEDICATED fsprd1_ora_6846.trc
       551 DEDICATED fsprd1_ora_27491.trc
       697 DEDICATED fsprd1_ora_20934.trc
       699 DEDICATED fsprd1_ora_11431.trc
       702 DEDICATED fsprd1_ora_19317.trc
       704 DEDICATED fsprd1_ora_26606.trc
       706 DEDICATED fsprd1_ora_28822.trc
       708 DEDICATED fsprd1_ora_19973.trc
       709 DEDICATED fsprd1_ora_23388.trc
       712 DEDICATED fsprd1_ora_19905.trc
       715 DEDICATED fsprd1_ora_23388.trc
       716 DEDICATED fsprd1_ora_19897.trc
       717 DEDICATED fsprd1_ora_19897.trc
       722 DEDICATED fsprd1_ora_25682.trc
       723 DEDICATED fsprd1_ora_13620.trc
       725 DEDICATED fsprd1_ora_19905.trc
       727 DEDICATED fsprd1_ora_19973.trc
       869 DEDICATED fsprd1_ora_11813.trc
       870 DEDICATED fsprd1_ora_11426.trc
       871 DEDICATED fsprd1_ora_16950.trc
       872 DEDICATED fsprd1_ora_23111.trc
       876 DEDICATED fsprd1_ora_18948.trc
       878 DEDICATED fsprd1_ora_11576.trc
       879 DEDICATED fsprd1_ora_26619.trc
       888 DEDICATED fsprd1_ora_5642.trc
       891 DEDICATED fsprd1_ora_19901.trc
       893 DEDICATED fsprd1_ora_11894.trc
       894 DEDICATED fsprd1_ora_21054.trc
      1041 DEDICATED fsprd1_ora_8206.trc
      1044 DEDICATED fsprd1_ora_21050.trc
      1045 DEDICATED fsprd1_ora_27390.trc
      1050 DEDICATED fsprd1_ora_562.trc
      1054 DEDICATED fsprd1_ora_881.trc
      1056 DEDICATED fsprd1_ora_562.trc
      1057 DEDICATED fsprd1_ora_25049.trc
      1059 DEDICATED fsprd1_ora_14418.trc
      1060 DEDICATED fsprd1_ora_26549.trc
      1061 DEDICATED fsprd1_ora_25049.trc
      1062 DEDICATED fsprd1_ora_19782.trc
      1066 DEDICATED fsprd1_ora_29248.trc
      1071 DEDICATED fsprd1_ora_13186.trc
      1214 DEDICATED fsprd1_ora_8208.trc
      1215 DEDICATED fsprd1_ora_31579.trc
      1221 DEDICATED fsprd1_ora_4364.trc
      1222 DEDICATED fsprd1_ora_13480.trc
      1226 DEDICATED fsprd1_ora_5923.trc
      1231 DEDICATED fsprd1_ora_20326.trc
      1233 DEDICATED fsprd1_ora_10144.trc
      1234 DEDICATED fsprd1_ora_31579.trc
      1235 DEDICATED fsprd1_ora_21563.trc
      1236 DEDICATED fsprd1_ora_9126.trc
      1239 DEDICATED fsprd1_ora_21059.trc
      1242 DEDICATED fsprd1_ora_17882.trc
      1243 DEDICATED fsprd1_ora_21174.trc
      1244 DEDICATED fsprd1_ora_5923.trc

106 rows selected.


Trace File
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/u01/app/oracle/diag/rdbms/fsprddal/fsprd1/trace/fsprd1_ora_8206.trc
/u01/app/oracle/diag/rdbms/fsprddal/fsprd1/trace/fsprd1_ora_8208.trc
/u01/app/oracle/diag/rdbms/fsprddal/fsprd1/trace/fsprd1_ora_8210.trc
/u01/app/oracle/diag/rdbms/fsprddal/fsprd1/trace/fsprd1_ora_8212.trc
/u01/app/oracle/diag/rdbms/fsprddal/fsprd1/trace/fsprd1_ora_8214.trc
/u01/app/oracle/diag/rdbms/fsprddal/fsprd1/trace/fsprd1_ora_12941.trc

6 rows selected.


SELECT   TRACE_TYPE, PRIMARY_ID, QUALIFIER_ID1, waits, binds FROM DBA_ENABLED_TRACES;

SYS@fsprd1> select sid, SQL_TRACE from v$session where SQL_TRACE != 'DISABLED'

       SID SQL_TRAC
---------- --------
        29 ENABLED
      1062 ENABLED

      
select v$session.sid, u_dump.value || '/' || instance.value || '_ora_' || v$process.spid 
|| nvl2(v$process.traceid, '_' || v$process.traceid, null ) || '.trc'"Trace File"
from V$PARAMETER u_dump 
cross join V$PARAMETER instance 
cross join V$PROCESS 
join V$SESSION on v$process.addr = V$SESSION.paddr 
where u_dump.name = 'user_dump_dest' 
and instance.name = 'instance_name' 
-- and V$SESSION.audsid=sys_context('userenv','sessionid')
and v$session.sid in ('1530');

       SID
----------
Trace File
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        29
/u01/app/oracle/diag/rdbms/fsprddal/fsprd1/trace/fsprd1_ora_22149.trc

      1062
/u01/app/oracle/diag/rdbms/fsprddal/fsprd1/trace/fsprd1_ora_19782.trc


exec dbms_monitor.session_trace_disable(29);
exec dbms_monitor.session_trace_disable(1062);


SYS@fsprd1> 
select sid, SQL_TRACE from v$session where SQL_TRACE != 'DISABLED';

no rows selected

10200 - LIO trace

$
0
0

your own session

trace the session

ALTER SESSION SET TRACEFILE_IDENTIFIER='LIO_TRACE';
ALTER SESSION SET EVENTS '10200 TRACE NAME CONTEXT FOREVER, LEVEL 1';

Then take the occurrence of the LIO reasons

$ less emrep_ora_9946_WATCH_CONSISTENT.trc | grep "started for block" | awk '{print $1} ' | sort | uniq -c
    324 ktrget2():
     44 ktrgtc2():


I found this too which more on tracking the objects
http://hoopercharles.wordpress.com/2011/01/24/watching-consistent-gets-10200-trace-file-parser/

another session

1) create the files ss.sql and getlio.awk (see below)

2) get the sid and serial# and trace file name

SELECT s.sid, 
s.serial#,
s.server, 
lower( 
CASE 
WHEN s.server IN ('DEDICATED','SHARED') THEN 
i.instance_name || '_' || 
nvl(pp.server_name, nvl(ss.name, 'ora')) || '_' || 
p.spid || '.trc' 
ELSE NULL 
END 
) AS trace_file_name 
FROM v$instance i, 
v$session s, 
v$process p, 
v$px_process pp, 
v$shared_server ss 
WHERE s.paddr = p.addr 
AND s.sid = pp.sid (+) 
AND s.paddr = ss.paddr(+) 
AND s.type = 'USER' 
ORDER BY s.sid;

3) to start trace, set the 10200 event level 1

exec sys.dbms_system.set_ev(200   ,   11667, 10200, 1, '');

4) monitor the file size

while : ; do du -sm dw_ora_18177.trc ; echo "--" ; sleep 2 ; done

5) execute ss.sql on the sid for 5 times

6) to stop trace, set the 10200 event level 0

exec sys.dbms_system.set_ev(200   ,   11667, 10200, 0, '');

7) process the trace file and the oradebug output

-- get the top objects
awk -v trcfile=dw_ora_18177.trc -f getlio.awk

-- get the function names
less dw_ora_18177.trc | grep "started for block" | awk '{print $1} ' | sort | uniq -c

8) SQL to get the object names

	SELECT
	  OBJECT_NAME,
	  DATA_OBJECT_ID,
	  TO_CHAR(DATA_OBJECT_ID, 'XXXXX') HEX_DATA_OBJECT_ID
	FROM
	  DBA_OBJECTS
	WHERE
	  DATA_OBJECT_ID IN(
	    TO_NUMBER('15ced', 'XXXXX'))
	/

	OBJECT_NAME                                                                                                                      DATA_OBJECT_ID HEX_DA
	-------------------------------------------------------------------------------------------------------------------------------- -------------- ------
	OBJ$                                                                                                                                         18     12


	Summary obj for file: dw_ora_18177.trc
	---------------------------------
	0x00000012 2781466


	2781466 ktrget2():



#### ss.sql and getlio.awk scripts below

cat ss.sql
oradebug setospid &spid
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack
oradebug short_stack



$ cat getlio.awk
BEGIN {
   FS ="[ \t<>:]+"
    print "Details for file: " trcfile
   print "---------------------------------"
   while( getline < trcfile != EOF ){
      if ( $0 ~ /started for block/ ) {
      rdba[$6]+=1
      obj[$8]+=1
      both[$6","$8]+=1
      #print $6 "" rdba[$6] ", " $8 "" obj[$8]
      }
   }
   close (trcfile)
   print ""

   print ""
   print "Summary rdba and obj for file: " trcfile
   print "---------------------------------"
   for ( var in both) {
      #print var "" both[var]
   }

   print ""
   print "Summary obj for file: " trcfile
   print "---------------------------------"
   for ( var in obj ) {
      print var "" obj[var]
   }
}

HyperLogLog in Oracle

buffer busy waits - troubleshooting

r2project

$
0
0
Check the scatter plot of the regression here http://www.facebook.com/photo.php?pid=5053273&l=39a2900738&id=552113028
"That is the Linear Regression of Average Active Sessions vs. CPU% utilization
notice the strong R2 of .97 which on the photo shows a strong correlation between the two statistics. But when CPU starts to queue at >80% the AAS also shoots up!
This came from 8core HS21 Bladeserver on a DS4800 SAN, and 2 node 11gR1 RAC."


the r2toolkit can be downloaded here http://karlarao.wordpress.com/scripts-resources/


RAC NODE1


RAC NODE2




For the r2 scripts check out the following link http://karlarao.wordpress.com/scripts-resources/ look for the file r2toolkit.zip

I was also able to present this idea at OOW unconference 2010 and OCW 2010 http://karlarao.wordpress.com/2010/09/24/oracle-closed-world-and-unconference-presentations/ will also present this at HOTSOS 2011 in March http://www.hotsos.com/sym11/sym_speakers.html


1) The Y (dependent) and X (independent) values
SQL> select count(*) from r2_y_value;

  COUNT(*)
----------
       112

SQL> select count(*) from r2_x_value;

  COUNT(*)
----------
     54208


2) Populate the Y data
SQL> insert into r2_regression_data (snap_id, tm, x_axis, y_axis)
  2  select snap_id, tm, null, diff
  3  from r2_y_value;

112 rows created.

SQL> commit;

Commit complete.


3) Analyze the R2 values
SQL>
SQL>
SQL> -------------------------------------------------------------------------
SQL> -- ANALYZE r2 VALUES
SQL> -------------------------------------------------------------------------
SQL>
SQL> -- get r2 of each x axis independent value
SQL> -- truncate table r2_stat_name_top;
SQL> declare
cursor r2_stat_name is select stat_name from r2_stat_name;
    r2_count number;
    r2_r2 number; 
    stat_name varchar2(200);
begin
for table_scan in r2_stat_name loop
select 
       regr_count(y.y_axis,x.diff), regr_r2(y.y_axis,x.diff)
into   r2_count, r2_r2
from   
(
    select snap_id, y_axis from r2_regression_data
) y,
(
    select snap_id, diff from r2_x_value                                                             --<---- x value HERE!
    where stat_name = table_scan.stat_name
) x
where  x.snap_id = y.snap_id;
insert into r2_stat_name_top values (r2_count, r2_r2, table_scan.stat_name);
commit;
end loop;
end;
/

PL/SQL procedure successfully completed.


4) Get the stat_name with the highest R2
SQL>
SQL>
SQL> -- get top r2, choose above .90!
SQL> set lines 300
SQL> select * from
  2  (select regr_count, round(regr_r2,2) regr_r2, stat_name
  3  from r2_stat_name_top
  4  where regr_r2 > 0
  5  and regr_count > 30
  6  and stat_name != (select distinct stat_name from r2_y_value)
  7  order by 2 desc)
  8  where rownum < 31;

REGR_COUNT    REGR_R2 STAT_NAME
---------- ---------- --------------------------------------------------------
       112         .97 CPU used by this session
       112         .93 consistent gets
       112         .93 session logical reads
       112         .92 consistent gets from cache
       112         .92 no work - consistent read gets
       112         .92 CPU used when call started
       112         .91 sorts (rows)
       112         .91 consistent gets from cache (fastpath)
       112         .90 workarea executions - optimal
       112         .90 sorts (memory)
       112         .89 consistent gets - examination
       112         .89 buffer is not pinned count
       112         .89 index fetch by key
       112         .88 rows fetched via callback
       112         .88 DB time
       112         .87 table fetch by rowid
       112         .87 index scans kdiixs1
       112         .79 shared hash latch upgrades - no wait
       112         .76 buffer is pinned count
       112         .71 DBWR fusion writes
       112         .67 gc cr block receive time
       112         .67 cluster wait time
       112         .67 gc cr blocks received
       112         .66 consistent changes
       112         .65 data blocks consistent reads - undo records applied
       112         .65 redo write time
       112         .64 calls to kcmgas
       112         .64 physical write total IO requests
       112         .63 gc cr blocks served
       112         .62 redo wastage

30 rows selected.




5) Populate the X data
declare
  cursor c2 is 
    select snap_id, diff from r2_x_value                                  --<---- indicate specific x value (.90 above) from the top r2 HERE!
    where stat_name = 'CPU used by this session'               
    ;
begin
for table_scan in c2 loop
  update r2_regression_data set x_axis = table_scan.diff
  where snap_id = table_scan.snap_id;
commit;
end loop;
end;
/



6) Regression Analysis code!
-- regression analysis code - populate the residual and outlier data
declare
  outlier_count number;
  intercept number;
  slope number;
  stnd_dev number;
  avg_res number;
  cursor c1 is select 
    snap_id, tm, x_axis, y_axis, proj_y, residual, residual_sqr, stnd_residual
    from r2_regression_data;

  begin
    update r2_regression_data set stnd_residual = 4;

  select count(*) 
    into outlier_count
  from r2_regression_data
  where abs(stnd_residual) > 3;

  while outlier_count >0 loop
    select round(regr_intercept (y_axis, x_axis),8)
     into intercept 
  from r2_regression_data;
    select round(regr_slope (y_axis, x_axis),8) 
     into slope 
  from r2_regression_data;

  for table_scan in c1 loop
    update r2_regression_data set proj_y = slope * table_scan.x_axis + intercept 
    where snap_id = table_scan.snap_id;

    update r2_regression_data set residual = proj_y - y_axis
    where snap_id = table_scan.snap_id;

    update r2_regression_data set residual_sqr = residual * residual 
    where snap_id = table_scan.snap_id; 
  end loop;

  select round(avg(residual),8) 
     into avg_res 
  from r2_regression_data;
  
  select round(stddev(residual),8) 
     into stnd_dev
  from r2_regression_data;
  
  for table_scan2 in c1 loop
    update r2_regression_data set stnd_residual = (residual-avg_res)/stnd_dev where snap_id = table_scan2.snap_id;
  end loop;

  select count(*) 
     into outlier_count 
  from r2_regression_data where abs(stnd_residual) > 3;

  if outlier_count >0 then 
  for table_scan3 in c1 loop
      if abs(table_scan3.stnd_residual) > 3 then
        insert into r2_outlier_data (snap_id, tm, x_axis, y_axis, proj_y, residual, residual_sqr, stnd_residual) values
        (table_scan3.snap_id, table_scan3.tm, table_scan3.x_axis, table_scan3.y_axis, table_scan3.proj_y, table_scan3.residual, table_scan3.residual_sqr, table_scan3.stnd_residual);

        delete from r2_regression_data where snap_id = table_scan3.snap_id;
      end if;
  end loop;
  end if;
  end loop;
  commit; 
end;
/



7) Get the full r2 report & residual
SQL> select snap_id, to_char(tm,'yy/mm/dd hh24:mi') tm, x_axis, y_axis, round(proj_y,2) proj_y, round(residual,2) resi
  2  from
  3  (select * from r2_regression_data
  4  union all
  5  select * from r2_outlier_data)
  6  order by residual_sqr desc;

   SNAP_ID TM                 X_AXIS     Y_AXIS     PROJ_Y   RESIDUAL RESIDUAL_SQR STND_RESIDUAL
---------- -------------- ---------- ---------- ---------- ---------- ------------ -------------
      8631 10/09/03 10:00    2386527 10.1381514          8      -2.14         4.56    -5.5071925
      8655 10/09/04 10:00    2386368  9.6647556          8      -1.66         2.77    -4.2911863
      8727 10/09/07 10:00    1512471 6.17427596       4.98       -1.2         1.43    -4.2286624
      8583 10/09/01 10:00    1533624 6.16998122       5.05      -1.12         1.26    -3.9690933
      8709 10/09/06 16:00    1277555 5.05832429       4.21       -.85          .72    -3.0116921
      8654 10/09/04 09:00    2433062 8.63511064       7.94       -.69          .48    -3.1382862
      8662 10/09/04 17:00    2551548 8.96291063       8.29       -.67          .45    -3.1757221
      8659 10/09/04 14:00    2333061 8.18530792       7.56       -.63          .39    -3.1399135
      8636 10/09/03 15:00    2315812 7.95748646       7.47       -.49          .24    -2.5535469
      8608 10/09/02 11:00    1783079 6.24226378       5.77       -.48          .23    -2.4990136
      8582 10/09/01 09:00     551600 2.28957403       1.82       -.46          .22    -2.4367774
      8609 10/09/02 12:00    2103698 7.23740511       6.79       -.45           .2    -2.3384935
      8565 10/08/31 16:00     693115 2.67050598       2.28       -.39          .15     -2.062453
      8566 10/08/31 17:00     633888  2.4739455       2.09       -.39          .15    -2.0258405
      8664 10/09/04 19:00    1890219 5.73770489       6.11        .37          .14    1.91175537
      8562 10/08/31 13:00     489129 2.00285427       1.62       -.38          .14    -1.9849164
      8712 10/09/06 19:00    1525835 4.57327212       4.94        .37          .14    1.90344801
      8610 10/09/02 13:00    1792940 6.17764899        5.8       -.38          .14    -1.9984469
      8584 10/09/01 11:00     866023 3.17126538       2.83       -.34          .12     -1.788949
      8564 10/08/31 15:00     493105 1.95770374       1.64       -.32           .1    -1.6836825
      8568 10/08/31 19:00     481399 1.90847337        1.6       -.31           .1    -1.6224133
      8567 10/08/31 18:00     433245 1.75857694       1.45       -.31           .1    -1.6442555
      8705 10/09/06 12:00    1501657 4.55864014       4.86        .31          .09    1.57689748
      8607 10/09/02 10:00    1766166 6.00471057       5.71       -.29          .09    -1.5442486
      8661 10/09/04 16:00    2427824 8.10989209       7.83       -.28          .08    -1.4811425
      8711 10/09/06 18:00    1429207 4.34789168       4.63        .29          .08    1.46711563
      8663 10/09/04 18:00    2333496 7.80088949       7.53       -.27          .08     -1.443911
      8563 10/08/31 14:00     474200 1.83990047       1.58       -.26          .07    -1.3853971
      8732 10/09/07 15:00    1585686 4.87290846       5.13        .26          .07    1.34071707
      8633 10/09/03 12:00    1718953 5.30180224       5.56        .26          .07    1.32802001
      8665 10/09/04 20:00    1527818  4.7140803       4.95        .23          .06     1.2035677
      8730 10/09/07 13:00    1375383 4.21823346       4.46        .24          .06    1.24549331
      8561 10/08/31 12:00     447792  1.7262915       1.49       -.23          .05    -1.2339135
      8590 10/09/01 17:00    1091974 3.74160948       3.55       -.19          .04    -.99414732
      8735 10/09/07 18:00    1439298 4.47701642       4.67        .19          .04    .963095217
      8713 10/09/06 20:00    1329360 4.10360513       4.31        .21          .04    1.07557408
      8680 10/09/05 11:00     493909 1.44333669       1.64         .2          .04     1.0069992
      8569 10/08/31 20:00     621020 2.23225169       2.05       -.19          .03     -.9821498
      8706 10/09/06 13:00    1558842 4.87406163       5.05        .17          .03    .887599476
      8679 10/09/05 10:00     596128 1.78912429       1.97        .18          .03    .909734037
      8686 10/09/05 17:00     566790 1.70654602       1.87        .17          .03     .85089999
      8737 10/09/07 20:00    1344196 4.18466536       4.36        .18          .03    .900763349
      8733 10/09/07 16:00    1128147 3.52837343       3.67        .14          .02    .718250018
      8682 10/09/05 13:00     646239 1.99993311       2.13        .13          .02    .647121981
      8684 10/09/05 15:00     562085 1.70315119       1.86        .16          .02    .790203399
      8689 10/09/05 20:00     619094 1.90113592       2.04        .14          .02    .709234492
      8560 10/08/31 11:00     351699 1.32021978       1.19       -.14          .02    -.72083336
      8558 10/08/31 09:00     964370 3.00795272       3.15        .14          .02    .699170048
      8685 10/09/05 16:00     555031 1.70070695       1.84        .14          .02    .685433839
      8707 10/09/06 14:00    1461530 4.60228452       4.74        .13          .02     .68136991
      8681 10/09/05 12:00     560716 1.70368071       1.85        .15          .02    .764645087
      8678 10/09/05 09:00     697000 2.13204449       2.29        .16          .02    .804958056
      8593 10/09/01 20:00    1100780 3.43772925       3.58        .14          .02    .734228301
      8656 10/09/04 11:00    1571407 4.96144141       5.09        .13          .02    .642069482
      8641 10/09/03 20:00    1752018 5.53668318       5.67        .13          .02     .65619296
      8683 10/09/05 14:00     532763 1.62465329       1.76        .14          .02    .710397441
      8657 10/09/04 12:00    1961457 6.19011722       6.34        .15          .02    .743485058
      8630 10/09/03 09:00    2066457  6.5532292       6.67        .12          .01    .602366716
      8710 10/09/06 17:00    1451543 4.60742153        4.7         .1          .01     .48828759
      8731 10/09/07 14:00    1609715 5.09466483       5.21        .12          .01    .586699449
      8542 10/08/30 17:00     110265 .336416967        .41        .08          .01      .3785396
      8543 10/08/30 18:00     103109 .317441401        .39        .07          .01    .358117007
      8544 10/08/30 19:00     161094 .476071211        .58         .1          .01    .498247518
      8546 10/08/30 21:00     107748 .333670329         .4        .07          .01    .350912598
      8570 10/08/31 21:00     321105 1.19129277       1.09        -.1          .01     -.5593413
      8586 10/09/01 13:00    1691056 5.55459794       5.47       -.08          .01    -.45244052
      8592 10/09/01 19:00    1158329 3.85529824       3.77       -.09          .01    -.48068656
      8606 10/09/02 09:00    1149399 3.83633289       3.74        -.1          .01    -.53071017
      8617 10/09/02 20:00    1143081 3.60338063       3.72        .11          .01    .576577757
      8642 10/09/03 21:00    1292866 4.07937972        4.2        .12          .01    .593821525
      8688 10/09/05 19:00     468391 1.46101697       1.56         .1          .01     .48994366
      8734 10/09/07 17:00    1304459 4.15358377       4.23        .08          .01    .400681754
      8736 10/09/07 19:00    1340310 4.27241376       4.35        .08          .01    .379305809
      8634 10/09/03 13:00    2053647 6.71936096       6.63       -.09          .01    -.47571641
      8658 10/09/04 13:00    2388735 7.77465876        7.7       -.07          .01     -.3873154
      8660 10/09/04 15:00    2226993 7.08390739       7.19         .1          .01    .514074019
      8687 10/09/05 18:00     631445 1.98721549       2.08        .09          .01    .466907665
      8702 10/09/06 09:00    1427626 4.55118579       4.63        .08          .01    .382632684
      8726 10/09/07 09:00    1402837  4.4743164       4.55        .07          .01    .369852249
      8728 10/09/07 11:00    1381194    4.40381       4.48        .08          .01      .3763523
      8545 10/08/30 20:00     201627 .618431765         .7        .09          .01    .432378244
      8536 10/08/30 11:00     274775 .957136911        .94       -.02            0    -.11223094
      8537 10/08/30 12:00     283776 .964265268        .97          0            0    .000587034
      8538 10/08/30 13:00     164698 .628332443        .59       -.04            0    -.23424664
      8540 10/08/30 15:00     198878 .692103767         .7          0            0    .003126568
      8541 10/08/30 16:00     165912 .527914401        .59        .06            0    .308651631
      8587 10/09/01 14:00    1336977 4.35437199       4.34       -.02            0    -.10280299
      8588 10/09/01 15:00    1213871 3.99096109       3.94       -.05            0    -.26170336
      8589 10/09/01 16:00    1218170 3.95576848       3.96          0            0    -.00692076
      8594 10/09/01 21:00     409523 1.33522544       1.37        .03            0    .164181969
      8611 10/09/02 14:00    1609481 5.14215324       5.21        .07            0    .335623814
      8612 10/09/02 15:00    1587677 5.09113794       5.14        .05            0    .237990719
      8614 10/09/02 17:00    1591507 5.19283262       5.15       -.04            0    -.22753931
      8615 10/09/02 18:00    1179791 3.80819504       3.83        .03            0    .121958826
      8616 10/09/02 19:00    1328806 4.26580329       4.31        .05            0    .222102102
      8618 10/09/02 21:00     740846 2.40469546       2.43        .03            0    .116106207
      8635 10/09/03 14:00    2129358 6.86914675       6.87          0            0    .005692706
      8637 10/09/03 16:00    2244322 7.18968273       7.24        .05            0    .252144219
      8666 10/09/04 21:00     654243  2.1327977       2.15        .02            0     .08887439
      8690 10/09/05 21:00     620183 2.02367035       2.04        .02            0    .089578883
      8703 10/09/06 10:00    1419108 4.53652602        4.6        .06            0    .317060748
      8714 10/09/06 21:00     296818 1.05433744       1.01       -.04            0    -.25101199
      8729 10/09/07 12:00    1189720 3.91915435       3.87       -.05            0    -.29020841
      8632 10/09/03 11:00    1985814 6.48205386       6.41       -.07            0    -.37035902
      8638 10/09/03 17:00    2068615 6.70243433       6.68       -.02            0    -.13830504
      8640 10/09/03 19:00    1441356 4.65129746       4.67        .02            0      .0902373
      8704 10/09/06 11:00    1254032 4.02578603       4.07        .05            0    .225956234
      8708 10/09/06 15:00    1405646 4.53892013       4.56        .02            0    .080375465
      8539 10/08/30 14:00     163956  .52973017        .58        .05            0    .266621265
      8591 10/09/01 18:00    1141194 3.74610636       3.71       -.03            0    -.19774237
      8613 10/09/02 16:00    1880895 6.04760842       6.08        .03            0    .143400491
      8639 10/09/03 18:00    1161313 3.84369577       3.78       -.07            0    -.37059383

112 rows selected.



8) Get the cpu(y) centric r2 report
SQL>
SQL>
SQL>
SQL>
SQL> set pagesize 50000
SQL> set linesize 250
SQL> select a.snap_id, to_char(a.tm,'yy/mm/dd hh24:mi') tm, a.x_axis, a.y_axis, round(b.oracpupct,2) oracpupct, round(
  2  from
  3  (select * from r2_regression_data
  4  union all
  5  select * from r2_outlier_data) a, r2_y_value b
  6  where a.x_axis is not null
  7  and a.snap_id = b.snap_id
  8  -- and a.snap_id = 354
  9   order by a.residual_sqr desc
 10  -- order by oracpupct desc
 11
SQL>
SQL> /

   SNAP_ID TM                 X_AXIS     Y_AXIS  ORACPUPCT     PROJ_Y   RESIDUAL RESIDUAL_SQR STND_RESIDUAL
---------- -------------- ---------- ---------- ---------- ---------- ---------- ------------ -------------
      8631 10/09/03 10:00    2386527 10.1381514       95.6          8      -2.14         4.56    -5.5071925
      8655 10/09/04 10:00    2386368  9.6647556      86.75          8      -1.66         2.77    -4.2911863
      8727 10/09/07 10:00    1512471 6.17427596      62.43       4.98       -1.2         1.43    -4.2286624
      8583 10/09/01 10:00    1533624 6.16998122      60.44       5.05      -1.12         1.26    -3.9690933
      8709 10/09/06 16:00    1277555 5.05832429      67.26       4.21       -.85          .72    -3.0116921
      8654 10/09/04 09:00    2433062 8.63511064      87.53       7.94       -.69          .48    -3.1382862
      8662 10/09/04 17:00    2551548 8.96291063      90.78       8.29       -.67          .45    -3.1757221
      8659 10/09/04 14:00    2333061 8.18530792      84.79       7.56       -.63          .39    -3.1399135
      8636 10/09/03 15:00    2315812 7.95748646      84.64       7.47       -.49          .24    -2.5535469
      8608 10/09/02 11:00    1783079 6.24226378      65.96       5.77       -.48          .23    -2.4990136
      8582 10/09/01 09:00     551600 2.28957403      22.91       1.82       -.46          .22    -2.4367774
      8609 10/09/02 12:00    2103698 7.23740511       77.3       6.79       -.45           .2    -2.3384935
      8565 10/08/31 16:00     693115 2.67050598      28.99       2.28       -.39          .15     -2.062453
      8566 10/08/31 17:00     633888  2.4739455      26.19       2.09       -.39          .15    -2.0258405
      8610 10/09/02 13:00    1792940 6.17764899      67.25        5.8       -.38          .14    -1.9984469
      8562 10/08/31 13:00     489129 2.00285427      21.29       1.62       -.38          .14    -1.9849164
      8664 10/09/04 19:00    1890219 5.73770489      67.81       6.11        .37          .14    1.91175537
      8712 10/09/06 19:00    1525835 4.57327212      55.19       4.94        .37          .14    1.90344801
      8584 10/09/01 11:00     866023 3.17126538       35.2       2.83       -.34          .12     -1.788949
      8564 10/08/31 15:00     493105 1.95770374      22.05       1.64       -.32           .1    -1.6836825
      8567 10/08/31 18:00     433245 1.75857694      19.38       1.45       -.31           .1    -1.6442555
      8568 10/08/31 19:00     481399 1.90847337      21.04        1.6       -.31           .1    -1.6224133
      8705 10/09/06 12:00    1501657 4.55864014      54.52       4.86        .31          .09    1.57689748
      8607 10/09/02 10:00    1766166 6.00471057      66.77       5.71       -.29          .09    -1.5442486
      8711 10/09/06 18:00    1429207 4.34789168      52.87       4.63        .29          .08    1.46711563
      8661 10/09/04 16:00    2427824 8.10989209      87.38       7.83       -.28          .08    -1.4811425
      8663 10/09/04 18:00    2333496 7.80088949      82.82       7.53       -.27          .08     -1.443911
      8563 10/08/31 14:00     474200 1.83990047      20.48       1.58       -.26          .07    -1.3853971
      8732 10/09/07 15:00    1585686 4.87290846      58.68       5.13        .26          .07    1.34071707
      8633 10/09/03 12:00    1718953 5.30180224       62.9       5.56        .26          .07    1.32802001
      8730 10/09/07 13:00    1375383 4.21823346      50.97       4.46        .24          .06    1.24549331
      8665 10/09/04 20:00    1527818  4.7140803      55.57       4.95        .23          .06     1.2035677
      8561 10/08/31 12:00     447792  1.7262915      18.56       1.49       -.23          .05    -1.2339135
      8713 10/09/06 20:00    1329360 4.10360513      49.28       4.31        .21          .04    1.07557408
      8680 10/09/05 11:00     493909 1.44333669      17.45       1.64         .2          .04     1.0069992
      8735 10/09/07 18:00    1439298 4.47701642      53.79       4.67        .19          .04    .963095217
      8590 10/09/01 17:00    1091974 3.74160948      42.53       3.55       -.19          .04    -.99414732
      8569 10/08/31 20:00     621020 2.23225169      23.94       2.05       -.19          .03     -.9821498
      8679 10/09/05 10:00     596128 1.78912429      21.34       1.97        .18          .03    .909734037
      8737 10/09/07 20:00    1344196 4.18466536      49.83       4.36        .18          .03    .900763349
      8706 10/09/06 13:00    1558842 4.87406163       58.1       5.05        .17          .03    .887599476
      8686 10/09/05 17:00     566790 1.70654602       20.3       1.87        .17          .03     .85089999
      8678 10/09/05 09:00     697000 2.13204449       25.1       2.29        .16          .02    .804958056
      8684 10/09/05 15:00     562085 1.70315119      20.25       1.86        .16          .02    .790203399
      8681 10/09/05 12:00     560716 1.70368071      20.29       1.85        .15          .02    .764645087
      8657 10/09/04 12:00    1961457 6.19011722         71       6.34        .15          .02    .743485058
      8593 10/09/01 20:00    1100780 3.43772925      40.34       3.58        .14          .02    .734228301
      8733 10/09/07 16:00    1128147 3.52837343      42.42       3.67        .14          .02    .718250018
      8683 10/09/05 14:00     532763 1.62465329      19.45       1.76        .14          .02    .710397441
      8689 10/09/05 20:00     619094 1.90113592      21.92       2.04        .14          .02    .709234492
      8558 10/08/31 09:00     964370 3.00795272      36.07       3.15        .14          .02    .699170048
      8560 10/08/31 11:00     351699 1.32021978      14.83       1.19       -.14          .02    -.72083336
      8685 10/09/05 16:00     555031 1.70070695      20.12       1.84        .14          .02    .685433839
      8707 10/09/06 14:00    1461530 4.60228452      54.34       4.74        .13          .02     .68136991
      8641 10/09/03 20:00    1752018 5.53668318      65.36       5.67        .13          .02     .65619296
      8682 10/09/05 13:00     646239 1.99993311      23.24       2.13        .13          .02    .647121981
      8656 10/09/04 11:00    1571407 4.96144141      58.56       5.09        .13          .02    .642069482
      8630 10/09/03 09:00    2066457  6.5532292      75.75       6.67        .12          .01    .602366716
      8642 10/09/03 21:00    1292866 4.07937972      47.76        4.2        .12          .01    .593821525
      8731 10/09/07 14:00    1609715 5.09466483      59.75       5.21        .12          .01    .586699449
      8617 10/09/02 20:00    1143081 3.60338063      42.06       3.72        .11          .01    .576577757
      8570 10/08/31 21:00     321105 1.19129277      12.82       1.09        -.1          .01     -.5593413
      8660 10/09/04 15:00    2226993 7.08390739      80.85       7.19         .1          .01    .514074019
      8544 10/08/30 19:00     161094 .476071211       5.68        .58         .1          .01    .498247518
      8606 10/09/02 09:00    1149399 3.83633289       42.5       3.74        -.1          .01    -.53071017
      8688 10/09/05 19:00     468391 1.46101697      17.41       1.56         .1          .01     .48994366
      8710 10/09/06 17:00    1451543 4.60742153      54.53        4.7         .1          .01     .48828759
      8687 10/09/05 18:00     631445 1.98721549      22.68       2.08        .09          .01    .466907665
      8592 10/09/01 19:00    1158329 3.85529824      42.93       3.77       -.09          .01    -.48068656
      8634 10/09/03 13:00    2053647 6.71936096      75.93       6.63       -.09          .01    -.47571641
      8545 10/08/30 20:00     201627 .618431765       7.24         .7        .09          .01    .432378244
      8586 10/09/01 13:00    1691056 5.55459794      61.64       5.47       -.08          .01    -.45244052
      8734 10/09/07 17:00    1304459 4.15358377      49.92       4.23        .08          .01    .400681754
      8702 10/09/06 09:00    1427626 4.55118579      52.99       4.63        .08          .01    .382632684
      8736 10/09/07 19:00    1340310 4.27241376      49.52       4.35        .08          .01    .379305809
      8542 10/08/30 17:00     110265 .336416967       4.06        .41        .08          .01      .3785396
      8728 10/09/07 11:00    1381194    4.40381      51.21       4.48        .08          .01      .3763523
      8726 10/09/07 09:00    1402837  4.4743164      51.33       4.55        .07          .01    .369852249
      8543 10/08/30 18:00     103109 .317441401        3.8        .39        .07          .01    .358117007
      8658 10/09/04 13:00    2388735 7.77465876      86.93        7.7       -.07          .01     -.3873154
      8546 10/08/30 21:00     107748 .333670329       3.94         .4        .07          .01    .350912598
      8639 10/09/03 18:00    1161313 3.84369577       44.7       3.78       -.07            0    -.37059383
      8632 10/09/03 11:00    1985814 6.48205386      73.54       6.41       -.07            0    -.37035902
      8611 10/09/02 14:00    1609481 5.14215324      60.27       5.21        .07            0    .335623814
      8703 10/09/06 10:00    1419108 4.53652602      53.74        4.6        .06            0    .317060748
      8541 10/08/30 16:00     165912 .527914401       6.28        .59        .06            0    .308651631
      8539 10/08/30 14:00     163956  .52973017       6.24        .58        .05            0    .266621265
      8729 10/09/07 12:00    1189720 3.91915435      46.12       3.87       -.05            0    -.29020841
      8637 10/09/03 16:00    2244322 7.18968273      82.01       7.24        .05            0    .252144219
      8612 10/09/02 15:00    1587677 5.09113794      60.23       5.14        .05            0    .237990719
      8588 10/09/01 15:00    1213871 3.99096109      46.02       3.94       -.05            0    -.26170336
      8704 10/09/06 11:00    1254032 4.02578603      47.67       4.07        .05            0    .225956234
      8616 10/09/02 19:00    1328806 4.26580329      50.22       4.31        .05            0    .222102102
      8714 10/09/06 21:00     296818 1.05433744      12.07       1.01       -.04            0    -.25101199
      8538 10/08/30 13:00     164698 .628332443       7.34        .59       -.04            0    -.23424664
      8614 10/09/02 17:00    1591507 5.19283262      60.26       5.15       -.04            0    -.22753931
      8594 10/09/01 21:00     409523 1.33522544      15.84       1.37        .03            0    .164181969
      8591 10/09/01 18:00    1141194 3.74610636      42.78       3.71       -.03            0    -.19774237
      8613 10/09/02 16:00    1880895 6.04760842      69.42       6.08        .03            0    .143400491
      8615 10/09/02 18:00    1179791 3.80819504      44.06       3.83        .03            0    .121958826
      8618 10/09/02 21:00     740846 2.40469546      27.18       2.43        .03            0    .116106207
      8638 10/09/03 17:00    2068615 6.70243433      76.87       6.68       -.02            0    -.13830504
      8640 10/09/03 19:00    1441356 4.65129746      54.47       4.67        .02            0      .0902373
      8690 10/09/05 21:00     620183 2.02367035      40.16       2.04        .02            0    .089578883
      8666 10/09/04 21:00     654243  2.1327977      24.62       2.15        .02            0     .08887439
      8708 10/09/06 15:00    1405646 4.53892013      53.82       4.56        .02            0    .080375465
      8536 10/08/30 11:00     274775 .957136911       11.1        .94       -.02            0    -.11223094
      8587 10/09/01 14:00    1336977 4.35437199       49.3       4.34       -.02            0    -.10280299
      8635 10/09/03 14:00    2129358 6.86914675      78.22       6.87          0            0    .005692706
      8540 10/08/30 15:00     198878 .692103767        8.1         .7          0            0    .003126568
      8537 10/08/30 12:00     283776 .964265268      11.17        .97          0            0    .000587034
      8589 10/09/01 16:00    1218170 3.95576848      45.12       3.96          0            0    -.00692076

112 rows selected.



9) Compare the R2 of y to another column value (oracle cpu pct%)
SQL> select regr_count(a.y_axis,b.oracpupct), regr_r2(a.y_axis,b.oracpupc
  2  from
  3  (select * from r2_regression_data
  4  union all
  5  select * from r2_outlier_data) a, r2_y_value b
  6  where a.x_axis is not null
  7  and a.snap_id = b.snap_id
  8   order by a.residual_sqr desc
  9
SQL> /

REGR_COUNT(A.Y_AXIS,B.ORACPUPCT) REGR_R2(A.Y_AXIS,B.ORACPUPCT)
-------------------------------- -----------------------------
                             112                    .974644372



10) Get R2 again of X and Y
SQL> select regr_count(y_axis,x_axis), regr_r2(y_axis,x_axis) from
  2  (select * from r2_regression_data
  3  union all
  4  select * from r2_outlier_data);

REGR_COUNT(Y_AXIS,X_AXIS) REGR_R2(Y_AXIS,X_AXIS)
------------------------- ----------------------
                      112             .971346164



11) Get R2 after removing outlier data
SQL> select regr_count(y_axis,x_axis), regr_r2(y_axis,x_axis) from r2_regression_data;

REGR_COUNT(Y_AXIS,X_AXIS) REGR_R2(Y_AXIS,X_AXIS)
------------------------- ----------------------
                      104             .991180797



12) Get R2 of outlier
SQL> select regr_count(y_axis,x_axis), regr_r2(y_axis,x_axis) from r2_outlier_data;

REGR_COUNT(Y_AXIS,X_AXIS) REGR_R2(Y_AXIS,X_AXIS)
------------------------- ----------------------
                        8             .881970392



13) Get outlier data
SQL> select snap_id, to_char(tm,'yy/mm/dd hh24:mi') tm, x_axis, y_axis, round(proj_y,2) proj_y, round(resid
  2  from r2_outlier_data
  3  where x_axis is not null
  4  order by residual_sqr desc;

   SNAP_ID TM                 X_AXIS     Y_AXIS     PROJ_Y   RESIDUAL RESIDUAL_SQR STND_RESIDUAL
---------- -------------- ---------- ---------- ---------- ---------- ------------ -------------
      8631 10/09/03 10:00    2386527 10.1381514          8      -2.14         4.56    -5.5071925
      8655 10/09/04 10:00    2386368  9.6647556          8      -1.66         2.77    -4.2911863
      8727 10/09/07 10:00    1512471 6.17427596       4.98       -1.2         1.43    -4.2286624
      8583 10/09/01 10:00    1533624 6.16998122       5.05      -1.12         1.26    -3.9690933
      8709 10/09/06 16:00    1277555 5.05832429       4.21       -.85          .72    -3.0116921
      8654 10/09/04 09:00    2433062 8.63511064       7.94       -.69          .48    -3.1382862
      8662 10/09/04 17:00    2551548 8.96291063       8.29       -.67          .45    -3.1757221
      8659 10/09/04 14:00    2333061 8.18530792       7.56       -.63          .39    -3.1399135

8 rows selected.




14) Get statistical summary of data
SQL> set serveroutput on
SQL> set echo on
SQL> declare
  2    s DBMS_STAT_FUNCS.SummaryType;
  3  begin
  4    DBMS_STAT_FUNCS.SUMMARY('R2TOOLKIT','R2_REGRESSION_DATA','X_AXIS',5,s);
  5    dbms_output.put_line('SUMMARY STATISTICS');
  6    dbms_output.put_line('---------------------------');
  7    dbms_output.put_line('Count:         '||s.count);
  8    dbms_output.put_line('Min:             '||s.min);
  9    dbms_output.put_line('Max:             '||s.max);
 10    dbms_output.put_line('Range:         '||s.range);
 11    dbms_output.put_line('Mean:            '||round(s.mean));
 12    dbms_output.put_line('Mode Count:        '||s.cmode.count);
 13    dbms_output.put_line('Mode:                  '||s.cmode(1));
 14    dbms_output.put_line('Variance:    '||round(s.variance));
 15    dbms_output.put_line('Stddev:              '||round(s.stddev));
 16    dbms_output.put_line('---------------------------');
 17    dbms_output.put_line('Quantile 5  ->     '||s.quantile_5);
 18    dbms_output.put_line('Quantile 25 ->     '||s.quantile_25);
 19    dbms_output.put_line('Median      ->  '||s.median);
 20    dbms_output.put_line('Quantile 75 ->     '||s.quantile_75);
 21    dbms_output.put_line('Quantile 95 ->     '||s.quantile_95);
 22    dbms_output.put_line('---------------------------');
 23    dbms_output.put_line('Extreme Count:     '||s.extreme_values.count);
 24    dbms_output.put_line('Extremes:        '||s.extreme_values(1));
 25    dbms_output.put_line('Bottom 5:        '||s.bottom_5_values(5)||','||s.bottom_5_values(4)||','||s.bottom_5
 26    dbms_output.put_line('Top 5:                   '||s.top_5_values(1)||','||s.top_5_values(2)||','||s.top_5_
 27    dbms_output.put_line('---------------------------');
 28  end;
 29  /
SUMMARY STATISTICS
---------------------------
Count:      104
Min:          103109
Max:          2427824
Range:      2324715
Mean:         1131744
Mode Count:     104
Mode:               165912
Variance:         405820839869
Stddev:           637041
---------------------------
Quantile 5  ->  164880.1
Quantile 25 ->  559294.75
Median      ->  1201795.5
Quantile 75 ->  1574976.75
Quantile 95 ->  2212347.75
---------------------------
Extreme Count:  0
declare
*
ERROR at line 1:
ORA-06533: Subscript beyond count
ORA-06512: at line 24


SQL> declare
  2    s DBMS_STAT_FUNCS.SummaryType;
  3  begin
  4    DBMS_STAT_FUNCS.SUMMARY('R2TOOLKIT','R2_REGRESSION_DATA','Y_AXIS',5,s);
  5    dbms_output.put_line('SUMMARY STATISTICS');
  6    dbms_output.put_line('---------------------------');
  7    dbms_output.put_line('Count:         '||s.count);
  8    dbms_output.put_line('Min:             '||s.min);
  9    dbms_output.put_line('Max:             '||s.max);
 10    dbms_output.put_line('Range:         '||s.range);
 11    dbms_output.put_line('Mean:            '||round(s.mean));
 12    dbms_output.put_line('Mode Count:        '||s.cmode.count);
 13    dbms_output.put_line('Mode:                  '||s.cmode(1));
 14    dbms_output.put_line('Variance:    '||round(s.variance));
 15    dbms_output.put_line('Stddev:              '||round(s.stddev));
 16    dbms_output.put_line('---------------------------');
 17    dbms_output.put_line('Quantile 5  ->     '||s.quantile_5);
 18    dbms_output.put_line('Quantile 25 ->     '||s.quantile_25);
 19    dbms_output.put_line('Median      ->  '||s.median);
 20    dbms_output.put_line('Quantile 75 ->     '||s.quantile_75);
 21    dbms_output.put_line('Quantile 95 ->     '||s.quantile_95);
 22    dbms_output.put_line('---------------------------');
 23    dbms_output.put_line('Extreme Count:     '||s.extreme_values.count);
 24    dbms_output.put_line('Extremes:        '||s.extreme_values(1));
 25    dbms_output.put_line('Bottom 5:        '||s.bottom_5_values(5)||','||s.bottom_5_values(4)||','||s.bottom_5
 26    dbms_output.put_line('Top 5:                   '||s.top_5_values(1)||','||s.top_5_values(2)||','||s.top_5_
 27    dbms_output.put_line('---------------------------');
 28  end;
 29  /
SUMMARY STATISTICS
---------------------------
Count:      104
Min:          .317441401312861593235425011125945705385
Max:          8.10989208507089241034195162635529608007
Range:      7.79245068375803081710652661522935037469
Mean:         4
Mode Count:     104
Mode:               .9642652676419483212824393251499355417298
Variance:         4
Stddev:           2
---------------------------
Quantile 5  ->  .5430354091205594430385812645437926098878
Quantile 25 ->  1.88582705559029512237984947748443866416
Median      ->  3.93746141390887432508029373874942105042
Quantile 75 ->  4.89590657700375285514313374197188642884
Quantile 95 ->  7.17381643105824124338148201530821454513
---------------------------
Extreme Count:  0
declare
*
ERROR at line 1:
ORA-06533: Subscript beyond count
ORA-06512: at line 24





Drilling down on the peak workload... with AAS of 10


1) General Workload report


                                                                                                              AWR CPU and IO Workload Report                                                                                                              
                                                                                                                                                                                                                                                          
                         i                        ***                                                       ***         ***                                                                                                                               
                         n                      Total                                                     Total       Total                                                                                                           U    S              
       Snap              s       Snap   C         CPU                                             A      Oracle          OS   Physical                                                                            Oracle RMAN   OS    S    Y              
  Snap Start             t        Dur   P        Time         DB        DB        Bg     RMAN     A         CPU         CPU     Memory      IOPs      IOPs      IOPs      IO r      IO w      Redo           Exec    CPU  CPU  CPU    R    S              
    ID Time              #        (m)   U         (s)       Time       CPU       CPU      CPU     S         (s)         (s)       (mb)         r         w      redo    (mb)/s    (mb)/s    (mb)/s Sess        /s      %    %    %    %    %              
------ --------------- --- ---------- --- ----------- ---------- --------- --------- -------- ----- ----------- ----------- ---------- --------- --------- --------- --------- --------- --------- ---- --------- ------ ---- ---- ---- ----   
  8631 10/09/03 10:00    1      59.98   8    28790.40   36485.18  27217.50    307.25     0.00  10.1    27524.75    26288.07   12287.06   454.684    31.020    49.214   106.008     0.392     0.091   98  2111.028     96    0   91   84    7              

           

2) Tablespace IO report

                                                                                                                 AWR Tablespace IO Report                                                                                                                 
                                                                                                                                                                                                                                                          
                         i                                                                                                                                                                                                                                
                         n                                                                                                                                                                                                                                
       Snap              s       Snap                                                        IOPS                                      IOPS                                       IOPS                                                                    
  Snap Start             t        Dur                        IO     Read              Av       Av      Av    Write              Av       Av       Av   Buffer Av Buf    Total    Total                                                                    
    ID Time              #        (m) TS                   Rank     Time    Reads Rd(ms)  Reads/s Blks/Rd     Time   Writes Wt(ms) Writes/s Blks/Wrt    Waits Wt(ms)   IO R+W      R+W                                                                    
------ --------------- --- ---------- -------------------- ---- -------- -------- ------ -------- ------- -------- -------- ------ -------- -------- -------- ------ -------- --------                                                                    
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          1   179285   981340    1.8      273     3.7   364237    78032   46.7       22      1.4     5881    5.2  1059372      294                                                                    
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        2   173600   403730    4.3      112   104.7    74466    25632   29.1        7      1.0       13   15.4   429362      119                                                                    
  8631 10/09/03 10:00    1      59.98 BIOHUB_MAIN             3    67411   208421    3.2       58    13.6      291       72   40.4        0      1.0        0    0.0   208493       58                                                                    
  8631 10/09/03 10:00    1      59.98 SYSAUX                  4    13830    35832    3.9       10     2.6    22611     4968   45.5        1      1.4        0    0.0    40800       11                                                                    
  8631 10/09/03 10:00    1      59.98 SYSTEM                  5     1744     6446    2.7        2     1.8     4058      988   41.1        0      1.5        0    0.0     7434        2                                                                    
  8631 10/09/03 10:00    1      59.98 TEMP                    6      118      299    3.9        0    17.3    17385     1047  166.0        0     26.2        0    0.0     1346        0                                                                    
  8631 10/09/03 10:00    1      59.98 UNDOTBS1                7      164      363    4.5        0     1.0     4344      896   48.5        0      9.8       38    0.3     1259        0                                                                    
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS       8      875      541   16.2        0     1.0      675      168   40.2        0      1.0        0    0.0      709        0                                                                    
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    9      760      298   25.5        0     1.0      438       80   54.8        0      1.0        0    0.0      378        0                                                                    
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES   10      714      269   26.5        0     1.0      433       80   54.1        0      1.0        0    0.0      349        0                                                                    
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 UNDOTBS2               11       22        9   24.4        0     1.0       11        8   13.8        0      1.0      661    6.2       17        0                                                                    
  8631 10/09/03 10:00    1      59.98 USERS                  12       22        8   27.5        0     1.0        9        8   11.3        0      1.0        0    0.0       16        0                                                                    




3) Datafile IO report

                                                                                                                    AWR File IO Report                                                                                                                    
                                                                                                                                                                                                                                                          
                         i                                                                                                                                                                                                                                
                         n                                                                                                                                                                                                                                
       Snap              s       Snap                                                                                                                           IOPS                                      IOPS                                       IOPS 
  Snap Start             t        Dur                                                                                           IO     Read              Av       Av      Av    Write              Av       Av       Av   Buffer Av Buf    Total    Total 
    ID Time              #        (m) TS                   File# Filename                                                     Rank     Time    Reads Rd(ms)  Reads/s Blks/Rd     Time   Writes Wt(ms) Writes/s Blks/Wrt    Waits Wt(ms)   IO R+W      R+W 
------ --------------- --- ---------- -------------------- ----- ------------------------------------------------------------ ---- -------- -------- ------ -------- ------- -------- -------- ------ -------- -------- -------- ------ -------- -------- 
  8631 10/09/03 10:00    1      59.98 BIOHUB_MAIN             13 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_01.dbf                     1    28940    83874    3.5       23    15.1       13       10   13.0        0      1.0        0    0.0    83884       23 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          44 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_15.dbf                  2    11077    62572    1.8       17     2.6     6112     1473   41.5        0      1.4      178   15.0    64045       18 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          43 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_14.dbf                  3    10542    57851    1.8       16     2.8     6130     1439   42.6        0      1.3      170   11.8    59290       16 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          53 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_24.dbf                  4     8738    51111    1.7       14     2.6    24620     5146   47.8        1      2.0      425    2.9    56257       16 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          51 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_22.dbf                  5     7290    49711    1.5       14     2.8    26259     5157   50.9        1      1.5      357    1.2    54868       15 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          52 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_23.dbf                  6     7613    49670    1.5       14     3.0     8324     1878   44.3        1      1.4      615    1.8    51548       14 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          56 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_03.dbf                  7     8887    44159    2.0       12     4.0    25073     6139   40.8        2      1.4      239    6.9    50298       14 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          40 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_11.dbf                  8     9968    46766    2.1       13     4.2     8604     1881   45.7        1      1.3      346    4.4    48647       14 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          42 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_13.dbf                  9     8381    45347    1.8       13     3.7     8453     1805   46.8        1      1.3      473    9.6    47152       13 
  8631 10/09/03 10:00    1      59.98 BIOHUB_MAIN            157 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_02.dbf                    10    13397    46774    2.9       13    12.3      109       21   51.9        0      1.0        0    0.0    46795       13 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          39 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_10.dbf                 11     8571    43053    2.0       12     4.3    14653     3283   44.6        1      1.3      329    4.3    46336       13 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          57 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_04.dbf                 12     7538    39006    1.9       11     4.5    27792     6759   41.1        2      1.3      324    4.2    45765       13 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          58 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_05.dbf                 13     6789    40225    1.7       11     4.4    21520     5183   41.5        1      1.2      314    3.2    45408       13 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          59 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_06.dbf                 14     6613    40806    1.6       11     4.0    19542     4413   44.3        1      1.1      230    2.6    45219       13 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS           6 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_01.dbf                 15     7240    42344    1.7       12     4.5    13303     2804   47.4        1      1.2      207    6.0    45148       13 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          41 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_12.dbf                 16     7726    42326    1.8       12     3.9     8236     1712   48.1        0      1.3      256    9.1    44038       12 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          55 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_02.dbf                 17     7393    40557    1.8       11     4.3    12177     3220   37.8        1      1.2      156    5.4    43777       12 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          54 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_25.dbf                 18     7901    40249    2.0       11     3.9    10703     2440   43.9        1      1.2      405    2.2    42689       12 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          60 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_07.dbf                 19     6077    39850    1.5       11     4.1     7057     1772   39.8        0      1.4      255    1.6    41622       12 
  8631 10/09/03 10:00    1      59.98 SYSAUX                   2 +DATA_1/xxxxxdb/datafile/sysaux.262.695412469                  20    13830    35832    3.9       10     2.6    22611     4968   45.5        1      1.4        0    0.0    40800       11 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          61 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_08.dbf                 21     6200    39021    1.6       11     4.3     7446     1757   42.4        0      1.3       92   10.3    40778       11 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          62 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_09.dbf                 22     6255    37974    1.6       11     4.4     6284     1495   42.0        0      1.1       82    3.3    39469       11 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          45 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_16.dbf                 23     7717    30393    2.5        8     3.3     9145     1888   48.4        1      1.8      105   24.4    32281        9 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        35 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_22.dbf               24     8994    24508    3.7        7    64.7    15286     5018   30.5        1      1.0        0    0.0    29526        8 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          49 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_20.dbf                 25     4294    21441    2.0        6     3.2    48517     7243   67.0        2      1.8       44    6.6    28684        8 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          50 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_21.dbf                 26     4260    19872    2.1        6     3.6    26567     4888   54.4        1      1.4       58    7.1    24760        7 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          48 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_19.dbf                 27     4406    20567    2.1        6     3.2     9303     2178   42.7        1      1.5      125    1.5    22745        6 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        36 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_23.dbf               28     6298    16191    3.9        4    94.4     9616     5817   16.5        2      1.0        0    0.0    22008        6 
  8631 10/09/03 10:00    1      59.98 BIOHUB_MAIN            161 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_06.dbf                    29     7615    21071    3.6        6    14.0       29        8   36.3        0      1.0        0    0.0    21079        6 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          47 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_18.dbf                 30     4252    19195    2.2        5     3.4     4645     1172   39.6        0      1.2       65    3.7    20367        6 
  8631 10/09/03 10:00    1      59.98 BIOHUB_MAIN            160 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_05.dbf                    31     4777    18203    2.6        5    10.2       39        8   48.8        0      1.0        0    0.0    18211        5 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS          46 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_17.dbf                 32     3557    17274    2.1        5     3.7     3772      907   41.6        0      1.1       31    8.4    18181        5 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        34 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_21.dbf               33     4558    11736    3.9        3    19.8    10773     4829   22.3        1      1.0        0    0.0    16565        5 
  8631 10/09/03 10:00    1      59.98 BIOHUB_MAIN            158 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_03.dbf                    34     5319    15326    3.5        4    14.1       31        8   38.8        0      1.0        0    0.0    15334        4 
  8631 10/09/03 10:00    1      59.98 BIOHUB_MAIN            159 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_04.dbf                    35     5238    15210    3.4        4    13.3       41        9   45.6        0      1.0        0    0.0    15219        4 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        31 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_18.dbf               36     5643    12708    4.4        4   119.3      441      104   42.4        0      1.0        9    4.4    12812        4 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        84 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_28.dbf               37     5195    12533    4.1        3   119.6      816      171   47.7        0      1.0        0    0.0    12704        4 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       118 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_63.dbf               38     5117    11646    4.4        3    89.4     3157     1055   29.9        0      1.1        0    0.0    12701        4 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       117 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_62.dbf               39     4484    11404    3.9        3   116.9     3828      753   50.8        0      1.1        0    0.0    12157        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       115 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_60.dbf               40     4299    11369    3.8        3   117.3     1867      401   46.6        0      1.1        0    0.0    11770        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       116 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_61.dbf               41     4537    11267    4.0        3   118.3     1882      389   48.4        0      1.0        1  130.0    11656        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       113 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_58.dbf               42     4629    11265    4.1        3   118.3      950      212   44.8        0      1.0        0    0.0    11477        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       111 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_56.dbf               43     4070    11271    3.6        3   118.4      745      167   44.6        0      1.0        0    0.0    11438        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       112 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_57.dbf               44     4403    11279    3.9        3   118.2      514      110   46.7        0      1.0        0    0.0    11389        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       110 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_55.dbf               45     4211    11168    3.8        3   119.4      460      109   42.2        0      1.0        0    0.0    11277        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       114 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_59.dbf               46     4121    11205    3.7        3   119.0      247       44   56.1        0      1.0        0    0.0    11249        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       109 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_54.dbf               47     4368    11127    3.9        3   119.9      356       71   50.1        0      1.0        0    0.0    11198        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       106 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_51.dbf               48     4527    11104    4.1        3   120.1      475       86   55.2        0      1.0        0    0.0    11190        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       108 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_53.dbf               49     4282    11101    3.9        3   120.2      373       73   51.1        0      1.0        0    0.0    11174        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       105 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_50.dbf               50     4431    11088    4.0        3   120.3      286       57   50.2        0      1.0        0    0.0    11145        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       103 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_48.dbf               51     4374    11066    4.0        3   120.5      388       72   53.9        0      1.0        0    0.0    11138        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       107 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_52.dbf               52     4265    11064    3.9        3   120.6      341       69   49.4        0      1.0        0    0.0    11133        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       104 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_49.dbf               53     4393    11010    4.0        3   121.1      471       94   50.1        0      1.0        0    0.0    11104        3 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       102 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_47.dbf               54     3972    10914    3.6        3   122.2      284       61   46.6        0      1.0        0    0.0    10975        3 
  8631 10/09/03 10:00    1      59.98 BIOHUB_MAIN            162 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_07.dbf                    55     2125     7963    2.7        2    13.5       29        8   36.3        0      1.0        0    0.0     7971        2 
  8631 10/09/03 10:00    1      59.98 SYSTEM                   1 +DATA_1/xxxxxdb/datafile/system.261.695412463                  56     1744     6446    2.7        2     1.8     4058      988   41.1        0      1.5        0    0.0     7434        2 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        30 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_17.dbf               57     2140     5565    3.8        2    85.5      324       96   33.8        0      1.0        0    0.0     5661        2 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        33 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_20.dbf               58     2116     4061    5.2        1    47.4      921      478   19.3        0      1.0        0    0.0     4539        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        23 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_10.dbf               59     2224     4423    5.0        1   105.8      319       74   43.1        0      1.0        1   20.0     4497        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        27 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_14.dbf               60     2107     4385    4.8        1   106.7      265       69   38.4        0      1.0        0    0.0     4454        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        28 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_15.dbf               61     2068     4370    4.7        1   107.1      199       59   33.7        0      1.0        0    0.0     4429        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        24 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_11.dbf               62     2433     4328    5.6        1   108.1      278       58   47.9        0      1.0        0    0.0     4386        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        21 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_08.dbf               63     2002     4340    4.6        1   107.8      156       34   45.9        0      1.0        0    0.0     4374        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        22 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_09.dbf               64     2003     4289    4.7        1   109.1       99       25   39.6        0      1.0        0    0.0     4314        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        26 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_13.dbf               65     2052     4170    4.9        1   112.2      335       61   54.9        0      1.0        0    0.0     4231        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        20 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_07.dbf               66     2104     4140    5.1        1   112.9      103       28   36.8        0      1.0        0    0.0     4168        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS         7 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_01.dbf               67     2159     4085    5.3        1   110.7       12        9   13.3        0      1.0        0    0.0     4094        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        16 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_03.dbf               68     2263     3951    5.7        1   118.3       52       21   24.8        0      1.0        0    0.0     3972        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        17 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_04.dbf               69     1827     3609    5.1        1    91.5       49       17   28.8        0      1.0        0    0.0     3626        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        32 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_19.dbf               70     1262     2975    4.2        1    64.4      342      124   27.6        0      1.0        0    0.0     3099        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        37 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_24.dbf               71     1559     3024    5.2        1   109.6      156       31   50.3        0      1.1        0    0.0     3055        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        38 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_25.dbf               72     1515     2891    5.2        1   114.4       72       26   27.7        0      1.0        0    0.0     2917        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        19 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_06.dbf               73     1552     2838    5.5        1   116.1      202       41   49.3        0      1.0        2    5.0     2879        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        29 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_16.dbf               74     1241     2751    4.5        1   119.8      105       35   30.0        0      1.0        0    0.0     2786        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        18 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_05.dbf               75     1311     2732    4.8        1   120.6      143       29   49.3        0      1.0        0    0.0     2761        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        15 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_02.dbf               76     1494     2695    5.5        1   122.3       30       11   27.3        0      1.0        0    0.0     2706        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        98 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_43.dbf               77     1367     2591    5.3        1   110.3       41       11   37.3        0      1.0        0    0.0     2602        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       130 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_75.dbf               78      898     1435    6.3        0    96.2     2732     1158   23.6        0      1.1        0    0.0     2593        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        99 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_44.dbf               79     1343     2568    5.2        1   111.3       35       13   26.9        0      1.0        0    0.0     2581        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        96 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_41.dbf               80     1617     2507    6.4        1   114.0       26       15   17.3        0      1.0        0    0.0     2522        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       100 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_45.dbf               81     1376     2495    5.5        1   114.5      128       21   61.0        0      1.0        0    0.0     2516        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       101 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_46.dbf               82     1474     2475    6.0        1   115.4      137       13  105.4        0      1.0        0    0.0     2488        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        97 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_42.dbf               83     1461     2407    6.1        1   118.6       91       29   31.4        0      1.0        0    0.0     2436        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       122 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_67.dbf               84      638     2047    3.1        1    67.8     1368      339   40.4        0      1.0        0    0.0     2386        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       121 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_66.dbf               85      798     1862    4.3        1    74.4      463      114   40.6        0      1.3        0    0.0     1976        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       119 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_64.dbf               86      742     1914    3.9        1    72.4      275       53   51.9        0      1.0        0    0.0     1967        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       123 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_68.dbf               87      601     1740    3.5        0    79.5      748      166   45.1        0      1.1        0    0.0     1906        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       120 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_65.dbf               88      641     1838    3.5        1    75.3      285       52   54.8        0      1.0        0    0.0     1890        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       124 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_69.dbf               89      610     1770    3.4        0    78.2      467      107   43.6        0      1.2        0    0.0     1877        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       125 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_70.dbf               90      561     1804    3.1        1    76.8      112       35   32.0        0      1.0        0    0.0     1839        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       127 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_72.dbf               91      864     1798    4.8        0    77.0       93       28   33.2        0      1.0        0    0.0     1826        1 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       129 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_74.dbf               92      946     1454    6.5        0    95.0      559      264   21.2        0      1.0        0    0.0     1718        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        85 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_29.dbf               93      727     1679    4.3        0    98.3      137       33   41.5        0      1.0        0    0.0     1712        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       128 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_73.dbf               94      747     1666    4.5        0    83.0      117       28   41.8        0      1.0        0    0.0     1694        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       126 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_71.dbf               95      699     1631    4.3        0    84.8       30       16   18.8        0      1.0        0    0.0     1647        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        25 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_12.dbf               96      719     1595    4.5        0   114.0      174       47   37.0        0      1.0        0    0.0     1642        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        83 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_27.dbf               97      720     1518    4.7        0   108.6      103       30   34.3        0      1.0        0    0.0     1548        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        89 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_33.dbf               98      893     1519    5.9        0   108.6       54       18   30.0        0      1.0        0    0.0     1537        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        86 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_30.dbf               99      666     1479    4.5        0   111.5      162       28   57.9        0      1.0        0    0.0     1507        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        90 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_34.dbf              ###      807     1484    5.4        0   111.1       27       12   22.5        0      1.0        0    0.0     1496        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        91 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_35.dbf              ###      876     1447    6.1        0   113.9      106       35   30.3        0      1.0        0    0.0     1482        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        82 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_26.dbf              ###      707     1456    4.9        0   113.2       56       16   35.0        0      1.0        0    0.0     1472        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        88 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_32.dbf              ###      836     1432    5.8        0   115.1       58       22   26.4        0      1.0        0    0.0     1454        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        87 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_31.dbf              ###      710     1419    5.0        0   116.1       87       24   36.3        0      1.0        0    0.0     1443        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        92 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_37.dbf              ###      778     1412    5.5        0   116.7       92       23   40.0        0      1.0        0    0.0     1435        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        93 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_38.dbf              ###      827     1393    5.9        0   118.3       53       20   26.5        0      1.0        0    0.0     1413        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        95 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_40.dbf              ###      732     1391    5.3        0   118.6       46       21   21.9        0      1.0        0    0.0     1412        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS        94 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_39.dbf              ###      673     1391    4.8        0   118.5       33       12   27.5        0      1.0        0    0.0     1403        0 
  8631 10/09/03 10:00    1      59.98 TEMP                     1 +DATA_1/xxxxxdb/tempfile/temp.264.695412473                   ###      118      299    3.9        0    17.3    17385     1047  166.0        0     26.2        0            1346        0 
  8631 10/09/03 10:00    1      59.98 UNDOTBS1                 3 +DATA_1/xxxxxdb/datafile/undotbs1.263.695412471               ###      164      363    4.5        0     1.0     4344      896   48.5        0      9.8       38    0.3     1259        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       133 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_78.dbf              ###      405      640    6.3        0     1.0     1140      259   44.0        0      1.0        0    0.0      899        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       132 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_77.dbf              ###      236      432    5.5        0     1.0      595      131   45.4        0      1.0        0    0.0      563        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       134 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_79.dbf              ###      203      306    6.6        0     1.0     1007      215   46.8        0      1.1        0    0.0      521        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       137 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_82.dbf              ###      132      212    6.2        0     1.0     1110      248   44.8        0      1.0        0    0.0      460        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       135 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_80.dbf              ###      196      298    6.6        0     1.0      704      153   46.0        0      1.3        0    0.0      451        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       138 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_83.dbf              ###      153      183    8.4        0     1.0     1093      226   48.4        0      1.0        0    0.0      409        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       131 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_76.dbf              ###      209      302    6.9        0     1.0      355       60   59.2        0      1.0        0    0.0      362        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       139 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_84.dbf              ###      211      162   13.0        0     1.0      943      187   50.4        0      1.0        0    0.0      349        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       136 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_81.dbf              ###       93      151    6.2        0     1.0      378       93   40.6        0      1.0        0    0.0      244        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       140 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_85.dbf              ###      127      111   11.4        0     1.0       73       49   14.9        0      1.1        0    0.0      160        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       142 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_87.dbf              ###      136      144    9.4        0     1.0       21        8   26.3        0      1.0        0    0.0      152        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       144 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_89.dbf              ###       67       73    9.2        0     1.0       29        8   36.3        0      1.0        0    0.0       81        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       149 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_94.dbf              ###       70       69   10.1        0     1.0       31        8   38.8        0      1.0        0    0.0       77        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       141 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_86.dbf              ###       80       61   13.1        0     1.0       22        8   27.5        0      1.0        0    0.0       69        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       145 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_90.dbf              ###       60       51   11.8        0     1.0       31        8   38.8        0      1.0        0    0.0       59        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    81 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_10.d          ###       81       37   21.9        0     1.0        9        8   11.3        0      1.0        0    0.0       45        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      164 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_08.dbf                   ###       46       34   13.5        0     1.0       36        8   45.0        0      1.0        0    0.0       42        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      163 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_07.dbf                   ###       46       34   13.5        0     1.0       31        8   38.8        0      1.0        0    0.0       42        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      165 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_09.dbf                   ###       47       34   13.8        0     1.0       29        8   36.3        0      1.0        0    0.0       42        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       151 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_96.dbf              ###       65       34   19.1        0     1.0       40        8   50.0        0      1.0        0    0.0       42        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      167 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_11.dbf                   ###       49       31   15.8        0     1.0       30        8   37.5        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      172 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_16.dbf                   ###       51       31   16.5        0     1.0       28        8   35.0        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      168 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_12.dbf                   ###       49       31   15.8        0     1.0       53        8   66.3        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      169 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_13.dbf                   ###       45       31   14.5        0     1.0       42        8   52.5        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      171 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_15.dbf                   ###       45       31   14.5        0     1.0       50        8   62.5        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      175 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_19.dbf                   ###       49       31   15.8        0     1.0       48        8   60.0        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      176 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_20.dbf                   ###       47       31   15.2        0     1.0       51        8   63.8        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      173 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_17.dbf                   ###       49       31   15.8        0     1.0       29        8   36.3        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      174 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_18.dbf                   ###       49       31   15.8        0     1.0       47        8   58.8        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      177 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_21.dbf                   ###       45       31   14.5        0     1.0       42        8   52.5        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      166 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_10.dbf                   ###       47       31   15.2        0     1.0       29        8   36.3        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      170 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_14.dbf                   ###       47       31   15.2        0     1.0       41        8   51.3        0      1.0        0    0.0       39        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    80 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_09.d          ###       69       29   23.8        0     1.0       12        8   15.0        0      1.0        0    0.0       37        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    74 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_03.d          ###       77       29   26.6        0     1.0       57        8   71.3        0      1.0        0    0.0       37        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    78 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_07.d          ###       75       29   25.9        0     1.0       45        8   56.3        0      1.0        0    0.0       37        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    69 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_08          ###       72       29   24.8        0     1.0       57        8   71.3        0      1.0        0    0.0       37        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    65 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_04          ###       71       29   24.5        0     1.0       52        8   65.0        0      1.0        0    0.0       37        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    63 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_02          ###       78       29   26.9        0     1.0       52        8   65.0        0      1.0        0    0.0       37        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    72 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_01.d          ###       78       29   26.9        0     1.0       55        8   68.8        0      1.0        0    0.0       37        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       143 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_88.dbf              ###       59       29   20.3        0     1.0       28        8   35.0        0      1.0        0    0.0       37        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    71 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_10          ###       79       29   27.2        0     1.0       53        8   66.3        0      1.0        0    0.0       37        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    67 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_06          ###       79       29   27.2        0     1.0       18        8   22.5        0      1.0        0    0.0       37        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    68 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_07          ###       71       29   24.5        0     1.0       55        8   68.8        0      1.0        0    0.0       37        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    66 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_05          ###       79       29   27.2        0     1.0       18        8   22.5        0      1.0        0    0.0       37        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    64 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_03          ###       78       29   26.9        0     1.0       61        8   76.3        0      1.0        0    0.0       37        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    76 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_05.d          ###       69       29   23.8        0     1.0       54        8   67.5        0      1.0        0    0.0       37        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    75 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_04.d          ###       72       29   24.8        0     1.0       49        8   61.3        0      1.0        0    0.0       37        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    70 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_09          ###       77       29   26.6        0     1.0       50        8   62.5        0      1.0        0    0.0       37        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    73 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_02.d          ###       86       29   29.7        0     1.0       55        8   68.8        0      1.0        0    0.0       37        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    77 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_06.d          ###       84       29   29.0        0     1.0       57        8   71.3        0      1.0        0    0.0       37        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_PERSO_TS_TESTI    79 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_08.d          ###       69       29   23.8        0     1.0       45        8   56.3        0      1.0        0    0.0       37        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       147 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_92.dbf              ###       55       27   20.4        0     1.0       28        8   35.0        0      1.0        0    0.0       35        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       150 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_95.dbf              ###       54       26   20.8        0     1.0       28        8   35.0        0      1.0        0    0.0       34        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       148 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_93.dbf              ###       54       26   20.8        0     1.0       40        8   50.0        0      1.0        0    0.0       34        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       152 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_97.dbf              ###       54       26   20.8        0     1.0       28        8   35.0        0      1.0        0    0.0       34        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       154 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_99.dbf              ###       54       26   20.8        0     1.0       31        8   38.8        0      1.0        0    0.0       34        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       153 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_98.dbf              ###       54       26   20.8        0     1.0       30        8   37.5        0      1.0        0    0.0       34        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       155 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_100.dbf             ###       60       26   23.1        0     1.0       28        8   35.0        0      1.0        0    0.0       34        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS      156 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_06.dbf                   ###       54       26   20.8        0     1.0       28        8   35.0        0      1.0        0    0.0       34        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS       146 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_91.dbf              ###       56       26   21.5        0     1.0       40        8   50.0        0      1.0        0    0.0       34        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS        9 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_02.dbf                   ###       22        9   24.4        0     1.0       11        8   13.8        0      1.0        0    0.0       17        0 
  8631 10/09/03 10:00    1      59.98 UNDOTBS2                 4 +DATA_1/xxxxxdb/datafile/undotbs2.265.695412479               ###       22        9   24.4        0     1.0       11        8   13.8        0      1.0      661    6.2       17        0 
  8631 10/09/03 10:00    1      59.98 USERS                    5 +DATA_1/xxxxxdb/datafile/users.266.695412481                  ###       22        8   27.5        0     1.0        9        8   11.3        0      1.0        0    0.0       16        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS       10 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_03.dbf                   ###       22        8   27.5        0     1.0       11        8   13.8        0      1.0        0    0.0       16        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS        8 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_01.dbf                   ###       22        8   27.5        0     1.0       11        8   13.8        0      1.0        0    0.0       16        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS       11 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_04.dbf                   ###       22        8   27.5        0     1.0       15        8   18.8        0      1.0        0    0.0       16        0 
  8631 10/09/03 10:00    1      59.98 BIOHUB_BIOMETRICS       12 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_05.dbf                   ###       22        8   27.5        0     1.0       13        8   16.3        0      1.0        0    0.0       16        0 
  8631 10/09/03 10:00    1      59.98 xxxxx_CENTRAL_TS_TES    14 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_01          ###       30        8   37.5        0     1.0       17        8   21.3        0      1.0        0    0.0       16        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                        


4) Top Timed Events



                                                                                                                   AWR Top Events Report                                                                                                                  
                                                                                                                                                                                                                                                          
                         i                                                                                                                                                                                                                                
                         n                                                                                                                                                                                                                                
       Snap              s       Snap                                                                                                    A                                                                                                                
  Snap Start             t        Dur                                          Event                          Time    Avgwt DB Time      A                                                                                                                
    ID Time              #        (m) Event                                     Rank          Waits            (s)     (ms)       %      S Wait Class                                                                                                     
------ --------------- --- ---------- ---------------------------------------- ----- -------------- -------------- -------- ------- ------ ---------------   
  8631 10/09/03 10:00    1      59.98 CPU time                                     1           0.00       27217.50     0.00      75    7.6 CPU                                                                                                            
  8631 10/09/03 10:00    1      59.98 db file scattered read                       2      558250.00        1300.52     2.33       4    0.4 User I/O                                                                                                       
  8631 10/09/03 10:00    1      59.98 gcs log flush sync                           3      415152.00        1073.14     2.58       3    0.3 Other                                                                                                          
  8631 10/09/03 10:00    1      59.98 db file sequential read                      4      588175.00        1028.34     1.75       3    0.3 User I/O                                                                                                       
  8631 10/09/03 10:00    1      59.98 log file parallel write                      5      177144.00        1015.58     5.73       3    0.3 System I/O                                                                                                     






5) Top 20 SQLs

                                                                                                                                             AWR Top SQL Report                                                                                                                                             
                                                                                                                                                                                                                                                                                                            
                         i                                                                                                                                                                                                                                                                                  
                         n                                                                         Elapsed                                                                                                                                                                                                  
       Snap              s    Snap                         Plan                         Elapsed       Time        CPU                                                                                      A                                                                                                
  Snap Start             t     Dur SQL                     Hash                            Time   per exec       Time    Cluster                                                      Parse       PX       A Time SQL                                                                                       
    ID Time              #     (m) ID                     Value Module                      (s)        (s)        (s)       Wait          LIO          PIO         Rows     Exec      Count     Exec       S Rank Text                                                                                      
------ --------------- --- ------- --------------- ------------ -------------------- ---------- ---------- ---------- ---------- ------------ ------------ ------------ -------- ---------- -------- ------- ---- ----------------------------------------                                                  
  8655 10/09/04 10:00    1   59.97 5p6a4cpc38qg3     3067813470                        24516.18      27.27   17856.45        374            0          919      3458526      899        660        0    6.81    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8662 10/09/04 17:00    1   60.18 5p6a4cpc38qg3     3067813470                        23449.89      23.71   20799.27         72    672994388          105      9090770      989        320        0    6.49    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8659 10/09/04 14:00    1   60.01 5p6a4cpc38qg3     3067813470                        22758.77      24.26   19637.77         72   2457316389          182      7268329      938        391        0    6.32    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8653 10/09/04 08:00    1   59.95 5p6a4cpc38qg3     3067813470                        22456.59      25.72   18133.92        100     48069206          167      4148269      873        535        0    6.24    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8658 10/09/04 13:00    1   60.11 5p6a4cpc38qg3     3067813470                        22161.01      23.60   20235.70         78    545821468          219      9539455      939        360        0    6.14    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8654 10/09/04 09:00    1   59.78 5p6a4cpc38qg3     3067813470                        21584.52      24.72   18996.42        110    239162393          112      5644950      873        432        0    6.02    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8661 10/09/04 16:00    1   59.95 5p6a4cpc38qg3     3067813470                        20806.46      22.84   19223.80         47    320679428           76      7873590      911        352        0    5.78    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8660 10/09/04 15:00    1   59.67 5p6a4cpc38qg3     3067813470                        19292.37      22.07   18430.75         36    175976224          260      8377377      874        355        0    5.39    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8631 10/09/03 10:00    1   59.98 5p6a4cpc38qg3     3067813470                        18805.15      27.82   17089.64        110            0         7260      2815426      676        355        0    5.23    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8663 10/09/04 18:00    1   60.58 5p6a4cpc38qg3     3067813470                        18769.61      23.64   16816.86         46    882910191          172      9477951      794        290        0    5.16    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8636 10/09/03 15:00    1   59.83 5p6a4cpc38qg3     3067813470                        18374.14      26.90   16926.69         67            0         1096      7126880      683        280        0    5.12    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8637 10/09/03 16:00    1   60.59 5p6a4cpc38qg3     3067813470                        16895.70      25.91   16298.97         78            0         2212      8090271      652        208        0    4.65    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8657 10/09/04 12:00    1   59.98 5p6a4cpc38qg3     3067813470                        16762.93      22.81   15688.13         26            0          112      6969281      735        280        0    4.66    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8635 10/09/03 14:00    1   60.01 5p6a4cpc38qg3     3067813470                        15888.86      26.05   15407.11         51   3670199503         1163      7606867      610        283        0    4.41    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8557 10/08/31 08:00    1   60.14 5p6a4cpc38qg3     3385254935                        15609.40      29.68   11370.47        245   2669391952         5222        88900      526        522        0    4.33    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8630 10/09/03 09:00    1   60.01 5p6a4cpc38qg3     3067813470                        15297.69      26.24   14828.78         63   3561619757         1107      2177597      583        377        0    4.25    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8634 10/09/03 13:00    1   59.72 5p6a4cpc38qg3     3067813470                        15061.37      26.80   14238.39         69    668291545         2720      6192614      562        299        0    4.20    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8632 10/09/03 11:00    1   59.76 5p6a4cpc38qg3     3067813470                        14768.43      26.56   14121.11         57            0         2861      2444366      556        269        0    4.12    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8638 10/09/03 17:00    1   59.39 5p6a4cpc38qg3     3067813470                        14719.85      25.73   14262.94         68            0          807      6900496      572        204        0    4.13    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            
  8609 10/09/02 12:00    1   60.09 5p6a4cpc38qg3     3067813470                        14116.71      29.05   12874.50         43            0          437      1193240      486        345        0    3.92    1 SELECT last_dh.id FROM demand_history la                                                  
                                                                                                                                                                                                                  st_dh                                                                                     
                                                                                                                                                                                                                  INNER JOIN demand_history first_                                                          
                                                                                                                                                                                                                                                                                                            

20 rows selected.




6) Top 5 SQLs of SNAP_ID 8631.. which by the way got an AAS of 10

                                                                                                                    AWR Top SQL Report                                                                                                                    
                                                                                                                                                                                                                                                          
                         i                                                                 Ela                                                                                                                                                            
                         n                                                                Time                                                                                                                                                            
       Snap              s    Snap                         Plan                 Ela        per        CPU         IO        App        Ccr    Cluster                                                                               PX       A            
  Snap Start             t     Dur SQL                     Hash                Time       exec       Time       Wait       Wait       Wait       Wait                                 Direct                            Parse   Server       A Time SQL   
    ID Time              #     (m) ID                     Value Module          (s)        (s)        (s)        (s)        (s)        (s)        (s)          LIO          PIO       Writes         Rows     Exec      Count     Exec       S Rank Text  
------ --------------- --- ------- --------------- ------------ -------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ------------ ------------ ------------ ------------ -------- ---------- -------- ------- ---- ------
  8631 10/09/03 10:00    1   59.98 5p6a4cpc38qg3     3067813470            18805.15      27.82   17089.64       5.64       0.00     110.80     110.30            0         7260            0      2815426      676        355        0    5.23    1 SELECT
  8631 10/09/03 10:00    1   59.98 chp2zxzxsc6az              0 SQL*Plus    3603.31               2235.22     977.86      59.39      83.34      67.79    245970369      2620209            0            0        0          0        0    1.00    2 DECLAR
  8631 10/09/03 10:00    1   59.98 6jbrg916bjmqc              0 DBMS_SCH    3584.81    3584.81    2169.73     965.05       0.00       4.25     230.80     99791222      3203168         3634            1        1          0        0    1.00    3 DECLAR
                                                                EDULER                                                                                                                                                                                    
                                                                                                                                                                                                                                                          
  8631 10/09/03 10:00    1   59.98 2k7p48zwvz9cr     3268610971 SQL*Plus    3033.08       0.42    1851.16     887.68      51.29      83.13      11.25    199474250      2603911            0         7187     7187          0        0    0.84    4 DELETE
  8631 10/09/03 10:00    1   59.98 fu93bkrwbdznd     1154882994 SQL*Plus    2881.11       0.40    1844.66     879.58       0.00       0.58      10.54    199264302      2602238            0         7187     7187          0        0    0.80    5  selec








Now on the low workload period... with AAS of 2.2


1) General workload report

                                                                                                              AWR CPU and IO Workload Report                                                                                                              
                                                                                                                                                                                                                                                          
                         i                        ***                                                       ***         ***                                                                                                                               
                         n                      Total                                                     Total       Total                                                                                                           U    S              
       Snap              s       Snap   C         CPU                                             A      Oracle          OS   Physical                                                                            Oracle RMAN   OS    S    Y              
  Snap Start             t        Dur   P        Time         DB        DB        Bg     RMAN     A         CPU         CPU     Memory      IOPs      IOPs      IOPs      IO r      IO w      Redo           Exec    CPU  CPU  CPU    R    S              
    ID Time              #        (m)   U         (s)       Time       CPU       CPU      CPU     S         (s)         (s)       (mb)         r         w      redo    (mb)/s    (mb)/s    (mb)/s Sess        /s      %    %    %    %    %              
------ --------------- --- ---------- --- ----------- ---------- --------- --------- -------- ----- ----------- ----------- ---------- --------- --------- --------- --------- --------- --------- ---- --------- ------ ---- ---- ---- ----              
  8636 10/09/03 15:00    1      59.83   8    28718.40   28565.78  24080.20    228.03     0.00   8.0    24308.23    25261.29   12287.06   124.386    34.736    49.384    70.647     0.885     0.087  104  1991.365     85    0   88   82    6              
  8582 10/09/01 09:00    1      60.35   8    28968.00    8290.55   6498.64    136.95     0.00   2.3     6635.59     7707.44   12287.06   265.980     8.644    32.428   211.100     0.304     0.073   98  2020.585     23    0   27   20    7              




2) Tablespace IO

                                                                                                                 AWR Tablespace IO Report                                                                                                                 
                                                                                                                                                                                                                                                          
                         i                                                                                                                                                                                                                                
                         n                                                                                                                                                                                                                                
       Snap              s       Snap                                                        IOPS                                      IOPS                                       IOPS                                                                    
  Snap Start             t        Dur                        IO     Read              Av       Av      Av    Write              Av       Av       Av   Buffer Av Buf    Total    Total                                                                    
    ID Time              #        (m) TS                   Rank     Time    Reads Rd(ms)  Reads/s Blks/Rd     Time   Writes Wt(ms) Writes/s Blks/Wrt    Waits Wt(ms)   IO R+W      R+W                                                                    
------ --------------- --- ---------- -------------------- ---- -------- -------- ------ -------- ------- -------- -------- ------ -------- -------- -------- ------ -------- --------      
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        1   169346   875793    1.9      242   109.9    24479    19626   12.5        5      1.0       10    0.0   895419      247                                                                    
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          2    14020    71778    2.0       20    20.8    11806     5988   19.7        2      1.1      286    2.1    77766       21                                                                    
  8582 10/09/01 09:00    1      60.35 SYSAUX                  3     2178     8754    2.5        2     1.8     3689     1153   32.0        0      1.1        0    0.0     9907        3                                                                    
  8582 10/09/01 09:00    1      60.35 TEMP                    4      410     1697    2.4        0    31.2    30332     3335   91.0        1     30.9        0    0.0     5032        1                                                                    
  8582 10/09/01 09:00    1      60.35 SYSTEM                  5      502     2055    2.4        1     2.4      161       77   20.9        0      1.2        7   11.4     2132        1                                                                    
  8582 10/09/01 09:00    1      60.35 BIOHUB_MAIN             6      427     1288    3.3        0     1.0       30       45    6.7        0      1.0        0    0.0     1333        0                                                                    
  8582 10/09/01 09:00    1      60.35 UNDOTBS1                7        6        7    8.6        0     1.0     1378      778   17.7        0     11.8       14    0.0      785        0                                                                    
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS       8       37      310    1.2        0     1.0      121      146    8.3        0      1.0        0    0.0      456        0                                                                    
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    9       41      287    1.4        0     1.0       51       70    7.3        0      1.0        0    0.0      357        0                                                                    
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES   10       33      259    1.3        0     1.0       54       70    7.7        0      1.0        0    0.0      329        0                                                                    
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 UNDOTBS2               11        1        7    1.4        0     1.0        5        7    7.1        0      1.0        0    0.0       14        0                                                                    
  8582 10/09/01 09:00    1      60.35 USERS                  11        2        7    2.9        0     1.0        4        7    5.7        0      1.0        0    0.0       14        0                                                                    



3) File IO

  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        35 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_22.dbf                1     6390    49445    1.3       14    74.8       90       67   13.4        0      1.0        0    0.0    49512       14 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        36 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_23.dbf                2     5860    32049    1.8        9   111.5      117       83   14.1        0      1.0        0    0.0    32132        9 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        31 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_18.dbf                3     5783    29395    2.0        8   120.6      100       80   12.5        0      1.0        1    0.0    29475        8 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        84 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_28.dbf                4     6057    29075    2.1        8   120.7      437      190   23.0        0      1.1        0    0.0    29265        8 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       110 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_55.dbf                5     5079    27176    1.9        8   115.0      170       93   18.3        0      1.0        0    0.0    27269        8 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       111 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_56.dbf                6     5557    26806    2.1        7   116.6      245      141   17.4        0      1.0        0    0.0    26947        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       116 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_61.dbf                7     5454    25782    2.1        7   121.2     1493     1138   13.1        0      1.0        0    0.0    26920        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       109 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_54.dbf                8     5310    25898    2.1        7   120.6      109       76   14.3        0      1.0        0    0.0    25974        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       115 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_60.dbf                9     5173    25470    2.0        7   122.6     1087      470   23.1        0      1.0        0    0.0    25940        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       117 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_62.dbf               10     5059    25273    2.0        7   123.6      932      548   17.0        0      1.0        0    0.0    25821        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       113 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_58.dbf               11     5097    25464    2.0        7   122.7      257      142   18.1        0      1.2        0    0.0    25606        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       112 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_57.dbf               12     5298    25419    2.1        7   122.9      177      103   17.2        0      1.0        0    0.0    25522        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       114 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_59.dbf               13     5277    25428    2.1        7   122.8      197       87   22.6        0      1.0        0    0.0    25515        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       103 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_48.dbf               14     5183    25353    2.0        7   123.2      178      100   17.8        0      1.0        0    0.0    25453        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       108 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_53.dbf               15     5210    25360    2.1        7   123.2       97       62   15.6        0      1.0        0    0.0    25422        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       105 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_50.dbf               16     5081    25360    2.0        7   123.2       83       52   16.0        0      1.0        0    0.0    25412        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       106 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_51.dbf               17     5517    25342    2.2        7   123.2       88       60   14.7        0      1.0        0    0.0    25402        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       104 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_49.dbf               18     5010    25280    2.0        7   123.5      224       92   24.3        0      1.0        0    0.0    25372        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       107 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_52.dbf               19     5623    25262    2.2        7   123.6      113       58   19.5        0      1.0        0    0.0    25320        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       102 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_47.dbf               20     5082    25144    2.0        7   124.2      151       98   15.4        0      1.0        0    0.0    25242        7 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS         7 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_01.dbf               21     2498    15462    1.6        4    68.9     3471     4891    7.1        1      1.0        0    0.0    20353        6 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        34 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_21.dbf               22     1087    18142    0.6        5    29.5      100       64   15.6        0      1.1        0    0.0    18206        5 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        30 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_17.dbf               23     2058    12678    1.6        4    87.8       85       60   14.2        0      1.0        0    0.0    12738        4 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        27 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_14.dbf               24     1905    10050    1.9        3   109.0       68       48   14.2        0      1.0        0    0.0    10098        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        15 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_02.dbf               25     1521     8595    1.8        2    90.1      961     1489    6.5        0      1.0        0    0.0    10084        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        20 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_07.dbf               26     1967    10005    2.0        3   109.5       44       34   12.9        0      1.1        6    0.0    10039        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        22 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_09.dbf               27     1901     9987    1.9        3   109.7       88       48   18.3        0      1.0        1    0.0    10035        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        28 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_15.dbf               28     2049     9927    2.1        3   110.3       48       42   11.4        0      1.0        0    0.0     9969        3 
  8582 10/09/01 09:00    1      60.35 SYSAUX                   2 +DATA_1/xxxxxdb/datafile/sysaux.262.695412469                  29     2178     8754    2.5        2     1.8     3689     1153   32.0        0      1.1        0    0.0     9907        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        21 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_08.dbf               30     1894     9843    1.9        3   111.2       33       27   12.2        0      1.0        0    0.0     9870        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        24 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_11.dbf               31     1956     9737    2.0        3   112.5       75       54   13.9        0      1.0        0    0.0     9791        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        23 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_10.dbf               32     1934     9679    2.0        3   113.1       77       51   15.1        0      1.0        0    0.0     9730        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        26 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_13.dbf               33     1979     9420    2.1        3   116.2       82       57   14.4        0      1.0        2    0.0     9477        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        16 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_03.dbf               34     2038     9435    2.2        3   116.0       56       25   22.4        0      1.0        0    0.0     9460        3 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       154 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_99.dbf               35      625     4251    1.5        1     1.0     2665     3210    8.3        1      1.0        0    0.0     7461        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        37 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_24.dbf               36     1450     7096    2.0        2   109.5       42       33   12.7        0      1.0        0    0.0     7129        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          41 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_12.dbf                 37      984     6873    1.4        2    11.3      240      141   17.0        0      1.0        7    0.0     7014        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        33 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_20.dbf               38      936     6782    1.4        2    66.1       85       63   13.5        0      1.1        0    0.0     6845        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        38 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_25.dbf               39     1593     6793    2.3        2   114.0       51       42   12.1        0      1.0        0    0.0     6835        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        18 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_05.dbf               40     1508     6586    2.3        2   117.2       50       30   16.7        0      1.0        0    0.0     6616        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        29 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_16.dbf               41     1327     6564    2.0        2   117.5       65       42   15.5        0      1.1        0    0.0     6606        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        32 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_19.dbf               42      988     6526    1.5        2    68.7      110       64   17.2        0      1.0        0    0.0     6590        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        19 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_06.dbf               43     1400     6521    2.1        2   118.4       22       16   13.8        0      1.0        0    0.0     6537        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        17 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_04.dbf               44     1397     6438    2.2        2   119.9       22       16   13.8        0      1.0        0    0.0     6454        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        98 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_43.dbf               45     1171     5914    2.0        2   113.1       26       18   14.4        0      1.0        0    0.0     5932        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        99 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_44.dbf               46     1092     5869    1.9        2   114.5       16       12   13.3        0      1.0        0    0.0     5881        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        96 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_41.dbf               47     1197     5770    2.1        2   116.4       15       13   11.5        0      1.0        0    0.0     5783        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       101 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_46.dbf               48     1193     5766    2.1        2   116.0       12       11   10.9        0      1.0        0    0.0     5777        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       100 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_45.dbf               49     1285     5662    2.3        2   118.1       31       24   12.9        0      1.0        0    0.0     5686        2 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        97 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_42.dbf               50     1134     5462    2.1        2   122.4        5        8    6.3        0      1.0        0    0.0     5470        2 
  8582 10/09/01 09:00    1      60.35 TEMP                     1 +DATA_1/xxxxxdb/tempfile/temp.264.695412473                    51      410     1697    2.4        0    31.2    30332     3335   91.0        1     30.9        0            5032        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       128 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_73.dbf               52      588     3694    1.6        1    87.6      946     1309    7.2        0      1.1        0    0.0     5003        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          51 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_22.dbf                 53      766     4563    1.7        1    15.2      802      382   21.0        0      1.1        0    0.0     4945        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          52 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_23.dbf                 54      762     4287    1.8        1    16.1      370      197   18.8        0      1.1        4    0.0     4484        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        82 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_26.dbf               55     1168     4418    2.6        1    87.6        7        9    7.8        0      1.0        0    0.0     4427        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          44 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_15.dbf                 56      712     4080    1.7        1    18.6      258      274    9.4        0      1.0        8    1.3     4354        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        83 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_27.dbf               57     1024     4073    2.5        1    95.0       38       28   13.6        0      1.0        0    0.0     4101        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          42 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_13.dbf                 58      617     3813    1.6        1    19.6      205      142   14.4        0      1.3        7    0.0     3955        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          39 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_10.dbf                 59      659     2998    2.2        1    24.6     2509      794   31.6        0      1.1       20    1.0     3792        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       127 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_72.dbf               60      619     3768    1.6        1    85.9       18       15   12.0        0      1.0        0    0.0     3783        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       123 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_68.dbf               61      595     3725    1.6        1    86.9       68       30   22.7        0      1.6        0    0.0     3755        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        25 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_12.dbf               62      830     3673    2.3        1   116.0       69       45   15.3        0      1.0        0    0.0     3718        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       121 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_66.dbf               63      679     3434    2.0        1    95.0      502      252   19.9        0      1.1        0    0.0     3686        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          53 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_24.dbf                 64      667     3426    1.9        1    19.9      223      173   12.9        0      1.1       13    0.8     3599        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       120 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_65.dbf               65      634     3331    1.9        1    97.9      415      228   18.2        0      1.1        0    0.0     3559        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       119 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_64.dbf               66      644     3452    1.9        1    94.5      183      103   17.8        0      1.0        0    0.0     3555        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       122 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_67.dbf               67      647     3371    1.9        1    96.8      311      151   20.6        0      1.1        0    0.0     3522        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          58 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_05.dbf                 68      527     3267    1.6        1    21.1      198      157   12.6        0      1.0       17    3.5     3424        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          40 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_11.dbf                 69      719     2822    2.5        1    26.7      641      587   10.9        0      1.0        0    0.0     3409        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       126 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_71.dbf               70      624     3328    1.9        1    97.1       26       16   16.3        0      1.0        0    0.0     3344        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       125 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_70.dbf               71      580     3318    1.7        1    97.4       19       15   12.7        0      1.0        0    0.0     3333        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       118 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_63.dbf               72      638     3224    2.0        1   101.1      286      106   27.0        0      1.0        0    0.0     3330        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        90 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_34.dbf               73      547     3294    1.7        1   118.1       27       19   14.2        0      1.0        0    0.0     3313        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        86 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_30.dbf               74      753     3294    2.3        1   118.1       18       16   11.3        0      1.1        0    0.0     3310        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          43 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_14.dbf                 75      568     3097    1.8        1    24.0      343      211   16.3        0      1.1        2    0.0     3308        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        89 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_33.dbf               76      676     3290    2.1        1   118.2       20       13   15.4        0      1.0        0    0.0     3303        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        88 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_32.dbf               77      787     3257    2.4        1   118.5       22       21   10.5        0      1.0        0    0.0     3278        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       124 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_69.dbf               78      610     3226    1.9        1   100.1       75       21   35.7        0      2.9        0    0.0     3247        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        91 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_35.dbf               79      710     3228    2.2        1   119.5       10       10   10.0        0      1.0        0    0.0     3238        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        92 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_37.dbf               80      646     3224    2.0        1   119.7       20       12   16.7        0      1.0        0    0.0     3236        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        85 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_29.dbf               81      560     3210    1.7        1   120.2       22       19   11.6        0      1.0        0    0.0     3229        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          56 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_03.dbf                 82      649     3083    2.1        1    22.0      245      137   17.9        0      1.4        0    0.0     3220        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        87 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_31.dbf               83      626     3203    2.0        1   120.5       23       14   16.4        0      1.0        0    0.0     3217        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        95 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_40.dbf               84      611     3149    1.9        1   122.6       31       24   12.9        0      1.0        0    0.0     3173        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        93 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_38.dbf               85      638     3153    2.0        1   122.4       25       15   16.7        0      1.0        0    0.0     3168        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS        94 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_39.dbf               86      666     3142    2.1        1   122.8       15       15   10.0        0      1.0        0    0.0     3157        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          55 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_02.dbf                 87      505     2845    1.8        1    23.8       43       38   11.3        0      1.0        1    0.0     2883        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          50 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_21.dbf                 88      452     2358    1.9        1     9.7      839      415   20.2        0      1.1       45    2.2     2773        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          46 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_17.dbf                 89      392     2576    1.5        1     8.9      289      165   17.5        0      1.2        0    0.0     2741        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          59 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_06.dbf                 90      525     2554    2.1        1    26.7      144       63   22.9        0      1.0      132    2.7     2617        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          62 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_09.dbf                 91      598     2320    2.6        1    29.9      565      127   44.5        0      1.0        0    0.0     2447        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          57 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_04.dbf                 92      507     2299    2.2        1    29.2      243      136   17.9        0      1.0        0    0.0     2435        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          61 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_08.dbf                 93      433     2267    1.9        1    30.7       53       47   11.3        0      1.0        0    0.0     2314        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS           6 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_01.dbf                 94      547     1922    2.8        1    38.5      756      369   20.5        0      1.0        0    0.0     2291        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          54 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_25.dbf                 95      463     2101    2.2        1    31.8       80       61   13.1        0      1.0        1   10.0     2162        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          49 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_20.dbf                 96      357     1789    2.0        0    12.4      788      369   21.4        0      1.1       16    2.5     2158        1 
  8582 10/09/01 09:00    1      60.35 SYSTEM                   1 +DATA_1/xxxxxdb/datafile/system.261.695412463                  97      502     2055    2.4        1     2.4      161       77   20.9        0      1.2        7   11.4     2132        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          48 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_19.dbf                 98      345     1491    2.3        0    14.6      818      396   20.7        0      1.1        0    0.0     1887        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          60 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_07.dbf                 99      435     1756    2.5        0    38.4      153      100   15.3        0      1.0        4    0.0     1856        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          45 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_16.dbf                ###      508     1712    3.0        0    20.8      230      141   16.3        0      1.1        8    0.0     1853        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS          47 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_18.dbf                ###      323     1479    2.2        0    14.8      771      366   21.1        0      1.1        1    0.0     1845        1 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       153 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_98.dbf              ###      187     1091    1.7        0     1.0      414      440    9.4        0      1.1        0    0.0     1531        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       133 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_78.dbf              ###      170      742    2.3        0     1.1     1554      509   30.5        0      1.1        0    0.0     1251        0 
  8582 10/09/01 09:00    1      60.35 UNDOTBS1                 3 +DATA_1/xxxxxdb/datafile/undotbs1.263.695412471               ###        6        7    8.6        0     1.0     1378      778   17.7        0     11.8       14    0.0      785        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       152 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_97.dbf              ###      115      642    1.8        0     1.0       81       78   10.4        0      1.0        0    0.0      720        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       132 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_77.dbf              ###       61      390    1.6        0     1.1      851      308   27.6        0      1.1        0    0.0      698        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       137 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_82.dbf              ###       90      254    3.5        0     1.0     1180      374   31.6        0      1.1        0    0.0      628        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       131 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_76.dbf              ###       55      414    1.3        0     1.1      185       91   20.3        0      1.0        0    0.0      505        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_MAIN             13 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_01.dbf                   ###      160      456    3.5        0     1.0        5        7    7.1        0      1.0        0    0.0      463        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       138 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_83.dbf              ###       30      272    1.1        0     1.0      408      146   27.9        0      1.5        0    0.0      418        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       136 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_81.dbf              ###       72      208    3.5        0     1.0      649      205   31.7        0      1.0        0    0.0      413        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       129 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_74.dbf              ###       40      266    1.5        0     1.1      177      113   15.7        0      1.0        0    0.0      379        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       130 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_75.dbf              ###       47      280    1.7        0     1.1      158       93   17.0        0      1.0        0    0.0      373        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       135 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_80.dbf              ###       51      141    3.6        0     1.0      291      162   18.0        0      1.0        0    0.0      303        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       134 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_79.dbf              ###       44      115    3.8        0     1.0      206      140   14.7        0      1.0        0    0.0      255        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_MAIN            157 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_02.dbf                   ###       84      239    3.5        0     1.0        5        6    8.3        0      1.0        0    0.0      245        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_MAIN            159 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_04.dbf                   ###       60      195    3.1        0     1.0        4        6    6.7        0      1.0        0    0.0      201        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       143 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_88.dbf              ###       16      171    0.9        0     1.0        4        6    6.7        0      1.0        0    0.0      177        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_MAIN            161 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_06.dbf                   ###       54      150    3.6        0     1.0        4        7    5.7        0      1.0        0    0.0      157        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       151 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_96.dbf              ###       30      115    2.6        0     1.0       39       36   10.8        0      1.1        0    0.0      151        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       150 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_95.dbf              ###       19       78    2.4        0     1.0       70       46   15.2        0      1.0        0    0.0      124        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_MAIN            158 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_03.dbf                   ###       37      116    3.2        0     1.0        4        6    6.7        0      1.0        0    0.0      122        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       139 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_84.dbf              ###        7       41    1.7        0     1.0      182       62   29.4        0      1.2        0    0.0      103        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_MAIN            160 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_05.dbf                   ###       18       83    2.2        0     1.0        6        6   10.0        0      1.0        0    0.0       89        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       148 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_93.dbf              ###        6       42    1.4        0     1.0       17       17   10.0        0      1.1        0    0.0       59        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_MAIN            162 +DATA_1/xxxxxdb/datafile/xxxxmain_ts_07.dbf                   ###       14       49    2.9        0     1.0        2        7    2.9        0      1.0        0    0.0       56        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       149 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_94.dbf              ###        2       32    0.6        0     1.0       21       14   15.0        0      1.0        0    0.0       46        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       142 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_87.dbf              ###        3       38    0.8        0     1.0        4        6    6.7        0      1.0        0    0.0       44        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       145 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_90.dbf              ###        3       37    0.8        0     1.0        6        6   10.0        0      1.0        0    0.0       43        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       141 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_86.dbf              ###        2       37    0.5        0     1.0        8        6   13.3        0      1.0        0    0.0       43        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       144 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_89.dbf              ###        3       37    0.8        0     1.0        6        6   10.0        0      1.0        0    0.0       43        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    81 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_10.d          ###        5       35    1.4        0     1.0        3        7    4.3        0      1.0        0    0.0       42        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       147 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_92.dbf              ###        2       35    0.6        0     1.0        3        6    5.0        0      1.0        0    0.0       41        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      156 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_06.dbf                   ###        2       32    0.6        0     1.0        8        6   13.3        0      1.0        0    0.0       38        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       146 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_91.dbf              ###        3       32    0.9        0     1.0        6        6   10.0        0      1.0        0    0.0       38        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       155 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_100.dbf             ###        3       32    0.9        0     1.0        7        6   11.7        0      1.0        0    0.0       38        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS       140 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_85.dbf              ###        2       31    0.6        0     1.0        6        6   10.0        0      1.0        0    0.0       37        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    78 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_07.d          ###        3       28    1.1        0     1.0        5        7    7.1        0      1.0        0    0.0       35        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    69 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_08          ###        3       28    1.1        0     1.0       13        7   18.6        0      1.0        0    0.0       35        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    65 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_04          ###        1       28    0.4        0     1.0        4        7    5.7        0      1.0        0    0.0       35        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    63 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_02          ###        4       28    1.4        0     1.0        4        7    5.7        0      1.0        0    0.0       35        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    77 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_06.d          ###        6       28    2.1        0     1.0        4        7    5.7        0      1.0        0    0.0       35        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    79 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_08.d          ###        3       28    1.1        0     1.0        3        7    4.3        0      1.0        0    0.0       35        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    80 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_09.d          ###        2       28    0.7        0     1.0        3        7    4.3        0      1.0        0    0.0       35        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    74 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_03.d          ###        3       28    1.1        0     1.0        8        7   11.4        0      1.0        0    0.0       35        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    68 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_07          ###        1       28    0.4        0     1.0        4        7    5.7        0      1.0        0    0.0       35        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    64 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_03          ###        6       28    2.1        0     1.0        6        7    8.6        0      1.0        0    0.0       35        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    66 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_05          ###        3       28    1.1        0     1.0        4        7    5.7        0      1.0        0    0.0       35        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    72 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_01.d          ###        4       28    1.4        0     1.0        7        7   10.0        0      1.0        0    0.0       35        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    71 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_10          ###        5       28    1.8        0     1.0        5        7    7.1        0      1.0        0    0.0       35        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    67 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_06          ###        1       28    0.4        0     1.0        3        7    4.3        0      1.0        0    0.0       35        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    76 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_05.d          ###        2       28    0.7        0     1.0        6        7    8.6        0      1.0        0    0.0       35        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    75 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_04.d          ###        3       28    1.1        0     1.0        3        7    4.3        0      1.0        0    0.0       35        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    70 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_09          ###        2       28    0.7        0     1.0        6        7    8.6        0      1.0        0    0.0       35        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 xxxxx_PERSO_TS_TESTI    73 +DATA_1/xxxxxdb/datafile/xxxxx_perso_ts_testing_02.d          ###       10       28    3.6        0     1.0        9        7   12.9        0      1.0        0    0.0       35        0 
                                      NG                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      165 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_09.dbf                   ###        1       17    0.6        0     1.0        4        7    5.7        0      1.0        0    0.0       24        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      164 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_08.dbf                   ###        1       17    0.6        0     1.0        4        7    5.7        0      1.0        0    0.0       24        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      163 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_07.dbf                   ###        1       17    0.6        0     1.0        3        7    4.3        0      1.0        0    0.0       24        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      168 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_12.dbf                   ###        2       16    1.3        0     1.0       13        7   18.6        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      169 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_13.dbf                   ###        2       16    1.3        0     1.0        5        7    7.1        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      175 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_19.dbf                   ###        2       16    1.3        0     1.0        9        7   12.9        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      172 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_16.dbf                   ###        2       16    1.3        0     1.0        4        7    5.7        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      176 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_20.dbf                   ###        2       16    1.3        0     1.0        7        7   10.0        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      171 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_15.dbf                   ###        2       16    1.3        0     1.0       11        7   15.7        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      173 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_17.dbf                   ###        2       16    1.3        0     1.0        5        7    7.1        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      174 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_18.dbf                   ###        2       16    1.3        0     1.0        5        7    7.1        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      177 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_21.dbf                   ###        2       16    1.3        0     1.0        4        7    5.7        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      170 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_14.dbf                   ###        2       16    1.3        0     1.0        6        7    8.6        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      166 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_10.dbf                   ###        2       16    1.3        0     1.0        4        7    5.7        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS      167 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_11.dbf                   ###        2       16    1.3        0     1.0        5        7    7.1        0      1.0        0    0.0       23        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS        9 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_02.dbf                   ###        4        7    5.7        0     1.0        5        7    7.1        0      1.0        0    0.0       14        0 
  8582 10/09/01 09:00    1      60.35 USERS                    5 +DATA_1/xxxxxdb/datafile/users.266.695412481                  ###        2        7    2.9        0     1.0        4        7    5.7        0      1.0        0    0.0       14        0 
  8582 10/09/01 09:00    1      60.35 UNDOTBS2                 4 +DATA_1/xxxxxdb/datafile/undotbs2.265.695412479               ###        1        7    1.4        0     1.0        5        7    7.1        0      1.0        0    0.0       14        0 
  8582 10/09/01 09:00    1      60.35 xxxxx_CENTRAL_TS_TES    14 +DATA_1/xxxxxdb/datafile/xxxxx_central_ts_testing_01          ###        7        7   10.0        0     1.0        5        7    7.1        0      1.0        0    0.0       14        0 
                                      TING                                                                                                                                                                                                                
                                                                                                                                                                                                                                                          
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS       12 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_05.dbf                   ###        1        7    1.4        0     1.0        5        7    7.1        0      1.0        0    0.0       14        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS       11 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_04.dbf                   ###        1        7    1.4        0     1.0        7        7   10.0        0      1.0        0    0.0       14        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS       10 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_03.dbf                   ###        1        7    1.4        0     1.0        3        7    4.3        0      1.0        0    0.0       14        0 
  8582 10/09/01 09:00    1      60.35 BIOHUB_BIOMETRICS        8 +DATA_1/xxxxxdb/datafile/xxxxblob_ts_01.dbf                   ###        1        7    1.4        0     1.0        4        7    5.7        0      1.0        0    0.0       14        0 





4) Top timed events

                                                                                                                   AWR Top Events Report                                                                                                                  
                                                                                                                                                                                                                                                          
                         i                                                                                                                                                                                                                                
                         n                                                                                                                                                                                                                                
       Snap              s       Snap                                                                                                    A                                                                                                                
  Snap Start             t        Dur                                          Event                          Time    Avgwt DB Time      A                                                                                                                
    ID Time              #        (m) Event                                     Rank          Waits            (s)     (ms)       %      S Wait Class                                                                                                     
------ --------------- --- ---------- ---------------------------------------- ----- -------------- -------------- -------- ------- ------ ---------------     
  8582 10/09/01 09:00    1      60.35 CPU time                                     1           0.00        6498.64     0.00      78    1.8 CPU                                                                                                            
  8582 10/09/01 09:00    1      60.35 log file sync                                2      116223.00         702.01     6.04       8    0.2 Commit                                                                                                         
  8582 10/09/01 09:00    1      60.35 log file parallel write                      3      117419.00         653.78     5.57       8    0.2 System I/O                                                                                                     
  8582 10/09/01 09:00    1      60.35 direct path read                             4      872513.00         498.93     0.57       6    0.1 User I/O                                                                                                       
  8582 10/09/01 09:00    1      60.35 db file sequential read                      5       82654.00         138.04     1.67       2    0.0 User I/O                                                                                                       



5) Top 20 SQLs

not entry on the top 20


6) Top 5 SQLs on SNAP_ID 8582

                                                                                                                    AWR Top SQL Report                                                                                                                    
                                                                                                                                                                                                                                                          
                         i                                                                 Ela                                                                                                                                                            
                         n                                                                Time                                                                                                                                                            
       Snap              s    Snap                         Plan                 Ela        per        CPU         IO        App        Ccr    Cluster                                                                               PX       A            
  Snap Start             t     Dur SQL                     Hash                Time       exec       Time       Wait       Wait       Wait       Wait                                 Direct                            Parse   Server       A Time SQL   
    ID Time              #     (m) ID                     Value Module          (s)        (s)        (s)        (s)        (s)        (s)        (s)          LIO          PIO       Writes         Rows     Exec      Count     Exec       S Rank Text  
------ --------------- --- ------- --------------- ------------ -------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ------------ ------------ ------------ ------------ -------- ---------- -------- ------- ---- ------
  8582 10/09/01 09:00    1   60.35 g45wmw7d3g35a     4178773515             1676.11       6.28    1556.56      67.85       5.02       0.00       4.75     25626096     15280562            0          262      267        263        0    0.46    1 SELECT
  8582 10/09/01 09:00    1   60.35 g90bc735d6g63     1552981796             1632.17       0.60    1237.47     364.83      19.26       0.00       1.03     77371697     77346130            0         2718     2719        518        0    0.45    2 SELECT
  8582 10/09/01 09:00    1   60.35 5p6a4cpc38qg3     3989064390             1028.13       1.44     943.56       0.28       0.00       0.00      53.67    184689064          174            0      2746253      714        445        0    0.28    3 SELECT
  8582 10/09/01 09:00    1   60.35 cxkt05mq1t28g     4045880545 w3wp.exe     410.74       0.00     377.25       0.00       0.00       2.15       0.00     44329789            0            0     18999510  6333223       2697        0    0.11    4 SELECT
  8582 10/09/01 09:00    1   60.35 3an2crqdjvhtk      287589933              291.90       6.08     271.16      12.77       0.78       0.00       1.38      4589509      2736817            0         2520       48         48        0    0.08    5 SELECT


AWR all nodes - awr_topevents

$
0
0
set arraysize 5000

COLUMN dbid NEW_VALUE _dbid NOPRINT
select dbid from v$database;

COLUMN name NEW_VALUE _instname NOPRINT
select lower(instance_name) name from v$instance;

COLUMN name NEW_VALUE _hostname NOPRINT
select lower(host_name) name from v$instance;

COLUMN instancenumber NEW_VALUE _instancenumber NOPRINT
select instance_number instancenumber from v$instance;

-- ttitle center 'AWR Top Events Report' skip 2
set pagesize 50000
set linesize 550

col instname    format a15              
col hostname    format a30              
col snap_id     format 99999            heading snap_id       -- "snapid"   
col tm          format a17              heading tm            -- "tm"       
col inst        format 90               heading inst          -- "inst"     
col dur         format 999990.00        heading dur           -- "dur"      
col event       format a55              heading event         -- "Event"    
col event_rank  format 90               heading event_rank    -- "EventRank"
col waits       format 9999999990.00    heading waits         -- "Waits"    
col time        format 9999999990.00    heading time          -- "Timesec"  
col avgwt       format 99990.00         heading avgwt         -- "Avgwtms"  
col pctdbt      format 9990.0           heading pctdbt        -- "DBTimepct"
col aas         format 990.0            heading aas           -- "Aas"      
col wait_class  format a15              heading wait_class    -- "WaitClass"

spool awr_topevents-tableau-&_instname-&_hostname..csv
select trim('&_instname') instname, trim('&_dbid') db_id, trim('&_hostname') hostname, snap_id, tm, inst, dur, event, event_rank, waits, time, avgwt, pctdbt, aas, wait_class
from 
      (select snap_id, TO_CHAR(tm,'MM/DD/YY HH24:MI:SS') tm, inst, dur, event, waits, time, avgwt, pctdbt, aas, wait_class, 
            DENSE_RANK() OVER (
          PARTITION BY snap_id ORDER BY time DESC) event_rank
      from 
              (
              select * from 
                    (select * from 
                          (select 
                            s0.snap_id snap_id,
                            s0.END_INTERVAL_TIME tm,
                            s0.instance_number inst,
                            round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                    + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                    + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                    + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) dur,
                            e.event_name event,
                            e.total_waits - nvl(b.total_waits,0)       waits,
                            round ((e.time_waited_micro - nvl(b.time_waited_micro,0))/1000000, 2)  time,     -- THIS IS EVENT (sec)
                            round (decode ((e.total_waits - nvl(b.total_waits, 0)), 0, to_number(NULL), ((e.time_waited_micro - nvl(b.time_waited_micro,0))/1000) / (e.total_waits - nvl(b.total_waits,0))), 2) avgwt,
                            ((round ((e.time_waited_micro - nvl(b.time_waited_micro,0))/1000000, 2)) / NULLIF(((s5t1.value - nvl(s5t0.value,0)) / 1000000),0))*100 as pctdbt,     -- THIS IS EVENT (sec) / DB TIME (sec)
                            (round ((e.time_waited_micro - nvl(b.time_waited_micro,0))/1000000, 2))/60 /  round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                                            + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                                            + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                                            + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) aas,     -- THIS IS EVENT (min) / SnapDur (min) TO GET THE % DB CPU ON AAS
                            e.wait_class wait_class
                            from 
                                 dba_hist_snapshot s0,
                                 dba_hist_snapshot s1,
                                 dba_hist_system_event b,
                                 dba_hist_system_event e,
                                 dba_hist_sys_time_model s5t0,
                                 dba_hist_sys_time_model s5t1
                            where 
                              s0.dbid                   = &_dbid            -- CHANGE THE DBID HERE!
                              AND s1.dbid               = s0.dbid
                              and b.dbid(+)             = s0.dbid
                              and e.dbid                = s0.dbid
                              AND s5t0.dbid             = s0.dbid
                              AND s5t1.dbid             = s0.dbid
                              --AND s0.instance_number    = &_instancenumber  -- CHANGE THE INSTANCE_NUMBER HERE!
                              AND s1.instance_number    = s0.instance_number
                              and b.instance_number(+)  = s0.instance_number
                              and e.instance_number     = s0.instance_number
                              AND s5t0.instance_number = s0.instance_number
                              AND s5t1.instance_number = s0.instance_number
                              AND s1.snap_id            = s0.snap_id + 1
                              AND b.snap_id(+)          = s0.snap_id
                              and e.snap_id             = s0.snap_id + 1
                              AND s5t0.snap_id         = s0.snap_id
                              AND s5t1.snap_id         = s0.snap_id + 1
                              AND s5t0.stat_name       = 'DB time'
                              AND s5t1.stat_name       = s5t0.stat_name
                                    and b.event_id            = e.event_id
                                    and e.wait_class          != 'Idle'
                                    and e.total_waits         > nvl(b.total_waits,0)
                                    and e.event_name not in ('smon timer', 
                                                             'pmon timer', 
                                                             'dispatcher timer',
                                                             'dispatcher listen timer',
                                                             'rdbms ipc message')
                                  order by snap_id, time desc, waits desc, event)
                    union all
                              select 
                                       s0.snap_id snap_id,
                                       s0.END_INTERVAL_TIME tm,
                                       s0.instance_number inst,
                                       round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                            + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                            + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                            + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) dur,
                                        'CPU time',
                                        0,
                                        round ((s6t1.value - s6t0.value) / 1000000, 2) as time,     -- THIS IS DB CPU (sec)
                                        0,
                                        ((round ((s6t1.value - s6t0.value) / 1000000, 2)) / NULLIF(((s5t1.value - nvl(s5t0.value,0)) / 1000000),0))*100 as pctdbt,     -- THIS IS DB CPU (sec) / DB TIME (sec)..TO GET % OF DB CPU ON DB TIME FOR TOP 5 TIMED EVENTS SECTION
                                        (round ((s6t1.value - s6t0.value) / 1000000, 2))/60 /  round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                                                    + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                                                    + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                                                    + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) aas,  -- THIS IS DB CPU (min) / SnapDur (min) TO GET THE % DB CPU ON AAS
                                        'CPU'
                                      from 
                                        dba_hist_snapshot s0,
                                        dba_hist_snapshot s1,
                                        dba_hist_sys_time_model s6t0,
                                        dba_hist_sys_time_model s6t1,
                                        dba_hist_sys_time_model s5t0,
                                        dba_hist_sys_time_model s5t1
                                      WHERE 
                                      s0.dbid                   = &_dbid              -- CHANGE THE DBID HERE!
                                      AND s1.dbid               = s0.dbid
                                      AND s6t0.dbid            = s0.dbid
                                      AND s6t1.dbid            = s0.dbid
                                      AND s5t0.dbid            = s0.dbid
                                      AND s5t1.dbid            = s0.dbid
                                      --AND s0.instance_number    = &_instancenumber    -- CHANGE THE INSTANCE_NUMBER HERE!
                                      AND s1.instance_number    = s0.instance_number
                                      AND s6t0.instance_number = s0.instance_number
                                      AND s6t1.instance_number = s0.instance_number
                                      AND s5t0.instance_number = s0.instance_number
                                      AND s5t1.instance_number = s0.instance_number
                                      AND s1.snap_id            = s0.snap_id + 1
                                      AND s6t0.snap_id         = s0.snap_id
                                      AND s6t1.snap_id         = s0.snap_id + 1
                                      AND s5t0.snap_id         = s0.snap_id
                                      AND s5t1.snap_id         = s0.snap_id + 1
                                      AND s6t0.stat_name       = 'DB CPU'
                                      AND s6t1.stat_name       = s6t0.stat_name
                                      AND s5t0.stat_name       = 'DB time'
                                      AND s5t1.stat_name       = s5t0.stat_name
                    union all
                                      (select 
                                               dbtime.snap_id,
                                               dbtime.tm,
                                               dbtime.inst,
                                               dbtime.dur,
                                               'CPU wait',
                                                0,
                                                round(dbtime.time - accounted_dbtime.time, 2) time,     -- THIS IS UNACCOUNTED FOR DB TIME (sec)
                                                0,
                                                ((dbtime.aas - accounted_dbtime.aas)/ NULLIF(nvl(dbtime.aas,0),0))*100 as pctdbt,     -- THIS IS UNACCOUNTED FOR DB TIME (sec) / DB TIME (sec)
                                                round(dbtime.aas - accounted_dbtime.aas, 2) aas,     -- AAS OF UNACCOUNTED FOR DB TIME
                                                'CPU wait'
                                      from
                                                  (select  
                                                     s0.snap_id, 
                                                     s0.END_INTERVAL_TIME tm,
                                                     s0.instance_number inst,
                                                    round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                                    + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                                    + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                                    + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) dur,
                                                    'DB time',
                                                    0,
                                                    round ((s5t1.value - s5t0.value) / 1000000, 2) as time,     -- THIS IS DB time (sec)
                                                    0,
                                                    0,
                                                     (round ((s5t1.value - s5t0.value) / 1000000, 2))/60 /  round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                                                                    + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                                                                    + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                                                                    + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) aas,
                                                    'DB time'
                                                  from 
                                                                    dba_hist_snapshot s0,
                                                                    dba_hist_snapshot s1,
                                                                    dba_hist_sys_time_model s5t0,
                                                                    dba_hist_sys_time_model s5t1
                                                                  WHERE 
                                                                  s0.dbid                   = &_dbid              -- CHANGE THE DBID HERE!
                                                                  AND s1.dbid               = s0.dbid
                                                                  AND s5t0.dbid            = s0.dbid
                                                                  AND s5t1.dbid            = s0.dbid
                                                                  --AND s0.instance_number    = &_instancenumber    -- CHANGE THE INSTANCE_NUMBER HERE!
                                                                  AND s1.instance_number    = s0.instance_number
                                                                  AND s5t0.instance_number = s0.instance_number
                                                                  AND s5t1.instance_number = s0.instance_number
                                                                  AND s1.snap_id            = s0.snap_id + 1
                                                                  AND s5t0.snap_id         = s0.snap_id
                                                                  AND s5t1.snap_id         = s0.snap_id + 1
                                                                  AND s5t0.stat_name       = 'DB time'
                                                                  AND s5t1.stat_name       = s5t0.stat_name) dbtime, 
                                                  (select snap_id, inst, sum(time) time, sum(AAS) aas from 
                                                          (select * from (select 
                                                                s0.snap_id snap_id,
                                                                s0.END_INTERVAL_TIME tm,
                                                                s0.instance_number inst,
                                                                round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                                                        + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                                                        + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                                                        + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) dur,
                                                                e.event_name event,
                                                                e.total_waits - nvl(b.total_waits,0)       waits,
                                                                round ((e.time_waited_micro - nvl(b.time_waited_micro,0))/1000000, 2)  time,     -- THIS IS EVENT (sec)
                                                                round (decode ((e.total_waits - nvl(b.total_waits, 0)), 0, to_number(NULL), ((e.time_waited_micro - nvl(b.time_waited_micro,0))/1000) / (e.total_waits - nvl(b.total_waits,0))), 2) avgwt,
                                                                ((round ((e.time_waited_micro - nvl(b.time_waited_micro,0))/1000000, 2)) / NULLIF(((s5t1.value - nvl(s5t0.value,0)) / 1000000),0))*100 as pctdbt,     -- THIS IS EVENT (sec) / DB TIME (sec)
                                                                (round ((e.time_waited_micro - nvl(b.time_waited_micro,0))/1000000, 2))/60 /  round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                                                                                + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                                                                                + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                                                                                + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) aas,     -- THIS IS EVENT (min) / SnapDur (min) TO GET THE % DB CPU ON AAS
                                                                e.wait_class wait_class
                                                          from 
                                                               dba_hist_snapshot s0,
                                                               dba_hist_snapshot s1,
                                                               dba_hist_system_event b,
                                                               dba_hist_system_event e,
                                                               dba_hist_sys_time_model s5t0,
                                                               dba_hist_sys_time_model s5t1
                                                          where 
                                                            s0.dbid                   = &_dbid            -- CHANGE THE DBID HERE!
                                                            AND s1.dbid               = s0.dbid
                                                            and b.dbid(+)             = s0.dbid
                                                            and e.dbid                = s0.dbid
                                                            AND s5t0.dbid             = s0.dbid
                                                            AND s5t1.dbid             = s0.dbid
                                                            --AND s0.instance_number    = &_instancenumber  -- CHANGE THE INSTANCE_NUMBER HERE!
                                                            AND s1.instance_number    = s0.instance_number
                                                            and b.instance_number(+)  = s0.instance_number
                                                            and e.instance_number     = s0.instance_number
                                                            AND s5t0.instance_number = s0.instance_number
                                                            AND s5t1.instance_number = s0.instance_number
                                                            AND s1.snap_id            = s0.snap_id + 1
                                                            AND b.snap_id(+)          = s0.snap_id
                                                            and e.snap_id             = s0.snap_id + 1
                                                            AND s5t0.snap_id         = s0.snap_id
                                                            AND s5t1.snap_id         = s0.snap_id + 1
                                                      AND s5t0.stat_name       = 'DB time'
                                                      AND s5t1.stat_name       = s5t0.stat_name
                                                            and b.event_id            = e.event_id
                                                            and e.wait_class          != 'Idle'
                                                            and e.total_waits         > nvl(b.total_waits,0)
                                                            and e.event_name not in ('smon timer', 
                                                                                     'pmon timer', 
                                                                                     'dispatcher timer',
                                                                                     'dispatcher listen timer',
                                                                                     'rdbms ipc message')
                                                          order by snap_id, time desc, waits desc, event)
                                                    union all
                                                          select 
                                                                   s0.snap_id snap_id,
                                                                   s0.END_INTERVAL_TIME tm,
                                                                   s0.instance_number inst,
                                                                   round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                                                        + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                                                        + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                                                        + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) dur,
                                                                    'CPU time',
                                                                    0,
                                                                    round ((s6t1.value - s6t0.value) / 1000000, 2) as time,     -- THIS IS DB CPU (sec)
                                                                    0,
                                                                    ((round ((s6t1.value - s6t0.value) / 1000000, 2)) / NULLIF(((s5t1.value - nvl(s5t0.value,0)) / 1000000),0))*100 as pctdbt,     -- THIS IS DB CPU (sec) / DB TIME (sec)..TO GET % OF DB CPU ON DB TIME FOR TOP 5 TIMED EVENTS SECTION
                                                                    (round ((s6t1.value - s6t0.value) / 1000000, 2))/60 /  round(EXTRACT(DAY FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 1440 
                                                                                                + EXTRACT(HOUR FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) * 60 
                                                                                                + EXTRACT(MINUTE FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) 
                                                                                                + EXTRACT(SECOND FROM s1.END_INTERVAL_TIME - s0.END_INTERVAL_TIME) / 60, 2) aas,  -- THIS IS DB CPU (min) / SnapDur (min) TO GET THE % DB CPU ON AAS
                                                                    'CPU'
                                                                  from 
                                                                    dba_hist_snapshot s0,
                                                                    dba_hist_snapshot s1,
                                                                    dba_hist_sys_time_model s6t0,
                                                                    dba_hist_sys_time_model s6t1,
                                                                    dba_hist_sys_time_model s5t0,
                                                                    dba_hist_sys_time_model s5t1
                                                                  WHERE 
                                                                  s0.dbid                   = &_dbid              -- CHANGE THE DBID HERE!
                                                                  AND s1.dbid               = s0.dbid
                                                                  AND s6t0.dbid            = s0.dbid
                                                                  AND s6t1.dbid            = s0.dbid
                                                                  AND s5t0.dbid            = s0.dbid
                                                                  AND s5t1.dbid            = s0.dbid
                                                                  --AND s0.instance_number    = &_instancenumber    -- CHANGE THE INSTANCE_NUMBER HERE!
                                                                  AND s1.instance_number    = s0.instance_number
                                                                  AND s6t0.instance_number = s0.instance_number
                                                                  AND s6t1.instance_number = s0.instance_number
                                                                  AND s5t0.instance_number = s0.instance_number
                                                                  AND s5t1.instance_number = s0.instance_number
                                                                  AND s1.snap_id            = s0.snap_id + 1
                                                                  AND s6t0.snap_id         = s0.snap_id
                                                                  AND s6t1.snap_id         = s0.snap_id + 1
                                                                  AND s5t0.snap_id         = s0.snap_id
                                                                  AND s5t1.snap_id         = s0.snap_id + 1
                                                                  AND s6t0.stat_name       = 'DB CPU'
                                                                  AND s6t1.stat_name       = s6t0.stat_name
                                                                  AND s5t0.stat_name       = 'DB time'
                                                                  AND s5t1.stat_name       = s5t0.stat_name
                                                          ) group by snap_id, inst) accounted_dbtime
                                                            where dbtime.snap_id = accounted_dbtime.snap_id 
                                                            and dbtime.inst = accounted_dbtime.inst 
                                        )
                    )
              )
      )
WHERE event_rank <= 5
-- AND tm > to_char(sysdate - 30, 'MM/DD/YY HH24:MI')
-- AND TO_CHAR(tm,'D') >= 1     -- Day of week: 1=Sunday 7=Saturday
-- AND TO_CHAR(tm,'D') <= 7
-- AND TO_CHAR(tm,'HH24MI') >= 0900     -- Hour
-- AND TO_CHAR(tm,'HH24MI') <= 1800
-- AND tm >= TO_DATE('2010-jan-17 00:00:00','yyyy-mon-dd hh24:mi:ss')     -- Data range
-- AND tm <= TO_DATE('2010-aug-22 23:59:59','yyyy-mon-dd hh24:mi:ss')
-- and snap_id = 495
-- and snap_id >= 495 and snap_id <= 496
-- and event = 'db file sequential read'
-- and event like 'CPU%'
-- and avgwt > 5
-- and aas > .5
-- and wait_class = 'CPU'
-- and wait_class like '%I/O%'
-- and event_rank in (1,2,3)
ORDER BY snap_id;

awr_topevents bug fixes

$
0
0
There are a couple of bug fixes on this top_events script.. originally this is designed to be executed on each node which is dependent on the instance number and it accounts for the CPU Wait which is essentaially the unaccounted for DB Time for each snap_id. Now there's a subquery that has this stuff (below), and it sums all the "time" and "AAS" for all the wait events and CPU time and then subtract it to the DB time of that snap_id therefore getting the metric called "CPU Wait"
		(select snap_id, sum(time) time, sum(AAS) aas from 
		      (select * from (select 
		            s0.snap_id snap_id,
		            s0.END_INTERVAL_TIME tm,
		            s0.instance_number inst,
the bug fixes are as follows:

1) running on all nodes

this script is intended to run manually on every instance.. the bug is the "inst" is missing and it should be beside the snap_id.. so if you run this on all nodes the above sub-query will group "wait events" and "AAS" into 1 snapshot ID across all instances

if you are encountering this bug, you'll just have data problems on the "CPU Wait" metric which will end up showing as a very high value.

the fix is adding "inst" on the sum and the join at the bottom:
		(select snap_id, inst, sum(time) time, sum(AAS) aas from 
		          (select * from (select 
		                s0.atk_seq_id atk_seq_id,
		                s0.snap_id snap_id,
		                s0.END_INTERVAL_TIME tm,
		                s0.instance_number inst,

		... output snipped ...

		 ) group by snap_id, inst) accounted_dbtime
		    where dbtime.snap_id = accounted_dbtime.snap_id
		    and dbtime.inst = accounted_dbtime.inst  
the fixed script for all nodes run is here http://goo.gl/zBqNU8

2) running on all nodes with ATK_SEQ_ID, inst, and snap_id (the new awr toolkit w/ Carlos Sierra)

I have this awr tableau toolkit (available here http://karlarao.wordpress.com/scripts-resources/) to create an AWR performance data warehouse, Carlos revised this toolkit and added a column on every dba_hist view called ATK_SEQ_ID which is a unique identifier for a particular data set.

The problems I have are as follows:
* the introduction of atk_seq_id, which I am missing the join from the dba_hist_snapshot to the other tables on the same subquery resulting to a cartesian join
* the dense_rank portion where I'm missing the "inst" beside the snap_id resulting to a non-top5 events kind of output

the fix is adding the "inst" beside the snap_id
      (select atk_seq_id, snap_id, TO_CHAR(tm,'MM/DD/YY HH24:MI:SS') tm, inst, dur, event, waits, time, avgwt, pctdbt, aas, wait_class, 
            DENSE_RANK() OVER (
          PARTITION BY inst, snap_id  ORDER BY time DESC) event_rank

		... output snipped ...         

	adding the joins before the dbid section 

		  where 
		  s1.atk_seq_id             = s0.atk_seq_id
		  AND b.atk_seq_id          = s0.atk_seq_id
		  AND e.atk_seq_id          = s0.atk_seq_id
		  AND s5t0.atk_seq_id       = s0.atk_seq_id
		  AND s5t1.atk_seq_id       = s0.atk_seq_id

	then fixing the where clause at the bottom

		  WHERE 
		  event_rank <= 5
		  and aas > 0
		  ORDER BY inst, snap_id;

vmware oracle consolidation

$
0
0

Virtualization

RAC services automatic relocation

$
0
0
automatic service relocation
http://www.oracledatabase12g.com/wp-content/uploads/2009/08/Session6.pdf
http://jarneil.wordpress.com/2010/11/05/11gr2-database-services-and-instance-shutdown/
https://forums.oracle.com/message/10479460
http://indico.cern.ch/getFile.py/access?resId=1&materialId=slides&confId=135581
http://bdrouvot.wordpress.com/2012/12/13/rac-one-node-avoid-automatic-database-relocation/
http://ilmarkerm.blogspot.com/2012/05/scipt-to-automatically-move-rac-11gr2.html< this is the script
http://www.ritzyblogs.com/OraTalk/PostID/108/Using-FAN-callouts-relocate-a-service-back

#!/bin/bash
#
# GI callout script to catch INSTANCE up event from clusterware and relocate services to preferred instance
# Copy or symlink this script to $GRID_HOME/racg/usrco
# Tested on Oracle Linux 5.8 with 11.2.0.3 Oracle Grid Infrastructure and 11.2.0.2 & 11.2.0.3 Oracle Database Enterprise Edition
# 2012 Ilmar Kerm <ilmar.kerm@gmail.com>
#

LOGFILE=/u02/app/oracle/grid_callout/log.txt
SCRIPTDIR=`dirname $0`

# Determine grid home
if [[ "${SCRIPTDIR:(-11)}" == "/racg/usrco" ]]; then
  CRS_HOME="${SCRIPTDIR:0:$(( ${#SCRIPTDIR} - 11 ))}"
  export CRS_HOME
fi

# Only execute script for INSTANCE events
if [ "$1" != "INSTANCE" ]; then
  exit 0
fi

STATUS=""
DATABASE=""
INSTANCE=""

# Parse input arguments
args=("$@")
for arg in ${args[@]}; do
  if [[ "$arg" == *=* ]]; then
    KEY=${arg%=*}
    VALUE=${arg#*=}
    
    case "$KEY" in
      status)
        STATUS="$VALUE"
        ;;
      database)
        DATABASE="$VALUE"
        ;;
      instance)
        INSTANCE="$VALUE"
        ;;
    esac
    
  fi
done

# If database, status and instance values are not set, then exit
# status must be up
if [[ -z "$DATABASE" || -z "$INSTANCE" || "$STATUS" != "up" ]]; then
  exit 0
fi

echo "`date`">> "$LOGFILE"
echo "[$DATABASE][`hostname`] Instance $INSTANCE up">> "$LOGFILE"

#
# Read database software home directory from clusterware
#
DBCONFIG=`$CRS_HOME/bin/crsctl status res ora.$DATABASE.db -f | grep "ORACLE_HOME="`
if [ -z "$DBCONFIG" ]; then
  exit 0
fi
declare -r "$DBCONFIG"
echo "ORACLE_HOME=$ORACLE_HOME">> "$LOGFILE"

# Array function
in_array() {
    local hay needle=$1
    shift
    for hay; do
        [[ $hay == $needle ]] && return 0
    done
    return 1
}

#
# Read information about services
#
for service in `$CRS_HOME/bin/crsctl status res | grep -E "ora\.$DATABASE\.(.+)\.svc" | sed -rne "s/NAME=ora\.$DATABASE\.(.+)\.svc/\1/gip"`; do
  SERVICECONFIG=`$ORACLE_HOME/bin/srvctl config service -d $DATABASE -s $service`
  echo "Service $service">> "$LOGFILE"
  if [[ "$SERVICECONFIG" == *"Service is enabled"* ]]; then
    echo " enabled">> "$LOGFILE"
    PREFERRED=( `echo "$SERVICECONFIG" | grep "Preferred instances:" | sed -rne "s/.*\: ([a-zA-Z0-9]+)/\1/p" | tr ",""\n"` )
    #
    # Check if current instance is preferred for this service
    #
    if in_array "$INSTANCE""${PREFERRED[@]}" ; then
      echo " preferred">> "$LOGFILE"
      #
      # Check if service is already running on current instance
      #
      SRVSTATUS=`$ORACLE_HOME/bin/srvctl status service -d $DATABASE -s $service`
      if [[ "$SRVSTATUS" == *"is not running"* ]]; then
          #
          # if service is not running, then start it
          #
        echo " service stopped, starting">> "$LOGFILE"
        $ORACLE_HOME/bin/srvctl start service -d "$DATABASE" -s "$service">> "$LOGFILE"
      else
        #
        # Service is running, but is it running on preferred instance?
        #
        RUNNING=( `echo "$SRVSTATUS" | sed -rne "s/.* ([a-zA-Z0-9]+)/\1/p" | tr ",""\n"` )
        #echo "${RUNNING[@]} = ${PREFERRED[@]}"
        if ! in_array "$INSTANCE""${RUNNING[@]}" ; then
          echo " not running on preferred $INSTANCE">> "$LOGFILE"
          #
          # Find the first non-preferred running instance
          #
          CURRENT=""
          for inst in "${RUNNING[@]}"; do
            if ! in_array "$inst""${PREFERRED[@]}" ; then
              CURRENT="$inst"
              break
            fi
          done
          #
          # Relocate
          #
          if [[ -n "$CURRENT" ]]; then
            echo " relocate $CURRENT -> $INSTANCE">> "$LOGFILE"
            $ORACLE_HOME/bin/srvctl relocate service -d "$DATABASE" -s "$service" -i "$CURRENT" -t "$INSTANCE">> "$LOGFILE"
          fi
        else
          #
          # Service is already running on preferred instance, no need to do anything
          #
          echo " running on preferred $INSTANCE">> "$LOGFILE"
        fi
      fi
    fi
  fi
done

HOWTO: Resource Manager and IORM by Cluster Service

$
0
0
HOWTO: Resource Manager and IORM by Cluster Service
http://goo.gl/I1mjd

• This HOWTO shows the following

o how to make use of Cluster Services to map users on resource manager
o limit the PX slaves per user
o cancel SQLs running longer than 15secs (just for testing purposes)
o limit the backup operations
o activate the IORM intradatabase plan

Also, at the end of this guide is an INTERDATABASE IORM PLAN

The FYIs section at the bottom are some of my observations during the test cases


INTRADATABASE IORM PLAN

-- Create the cluster service
#############################################

--Create a service for Reporting sessions
srvctl add service -d dbm -s DBM_REPORTING -r dbm1,dbm2
-- srvctl add service -d dbm -s DBM_REPORTING -r dbm1
srvctl start service -d dbm -s DBM_REPORTING
srvctl stop service -d dbm -s DBM_REPORTING
srvctl remove service -d dbm -s DBM_REPORTING 

--Create a service for ETL sessions
srvctl add service -d dbm -s DBM_ETL -r dbm1,dbm2
-- srvctl add service -d dbm -s DBM_ETL -r dbm1
srvctl start service -d dbm -s DBM_ETL
srvctl stop service -d dbm -s DBM_ETL
srvctl remove service -d dbm -s DBM_ETL 

-- check service status
srvctl status service -d dbm


-- Create Resource Groups
#############################################

BEGIN
  dbms_resource_manager.clear_pending_area();
  dbms_resource_manager.create_pending_area();

  dbms_resource_manager.create_consumer_group(
    consumer_group => 'REPORTING',
    comment        => 'Consumer group for REPORTS');
   dbms_resource_manager.create_consumer_group(
    consumer_group => 'ETL',
    comment        => 'Consumer group for ETL');
  dbms_resource_manager.create_consumer_group(
    consumer_group => 'MAINT',
    comment        => 'Consumer group for maintenance jobs');

  dbms_resource_manager.validate_pending_area();
  dbms_resource_manager.submit_pending_area();
END;


-- Create Consumer Group Mapping Rules
#############################################

BEGIN
  dbms_resource_manager.clear_pending_area();
  dbms_resource_manager.create_pending_area();

  dbms_resource_manager.set_consumer_group_mapping(
    attribute      => dbms_resource_manager.service_name,
    value          => 'DBM_REPORTING',
    consumer_group => 'REPORTING');

  dbms_resource_manager.set_consumer_group_mapping(
    attribute      => dbms_resource_manager.service_name,
    value          => 'DBM_ETL',
    consumer_group => 'ETL');

  dbms_resource_manager.set_consumer_group_mapping(
    attribute      => dbms_resource_manager.oracle_function,
    value          => 'BACKUP',
    consumer_group => 'MAINT');

  dbms_resource_manager.set_consumer_group_mapping(
    attribute      => dbms_resource_manager.oracle_function,
    value          => 'COPY',
    consumer_group => 'MAINT');

  dbms_resource_manager.validate_pending_area(); 
  dbms_resource_manager.submit_pending_area();
END;


-- Resource Group Mapping Priorities
#############################################


BEGIN
dbms_resource_manager.clear_pending_area();
dbms_resource_manager.create_pending_area();
dbms_resource_manager.set_consumer_group_mapping_pri(
	explicit => 1,
	service_name => 2,
	oracle_user => 3,
	client_program => 4,
	service_module_action => 5,
	service_module => 6,
	module_name_action => 7,
	module_name => 8,
	client_os_user => 9,
	client_machine => 10 );
dbms_resource_manager.validate_pending_area(); 
dbms_resource_manager.submit_pending_area();
END;


-- Create the Resource Plan and Plan Directives
-- * DAYTIME for reports
-- * NIGHTTIME for ETL jobs
#############################################

-- create DAYTIME plan
BEGIN
 dbms_resource_manager.clear_pending_area();
 dbms_resource_manager.create_pending_area();

 dbms_resource_manager.create_plan(
   plan    => 'DAYTIME',
   comment => 'Resource plan for normal business hours');
 dbms_resource_manager.create_plan_directive(
   plan             => 'DAYTIME',
   group_or_subplan => 'REPORTING',
   comment          => 'High priority for users/applications',
   mgmt_p1          => 70,
   PARALLEL_DEGREE_LIMIT_P1 => 4);
 dbms_resource_manager.create_plan_directive(
   plan             => 'DAYTIME',
   group_or_subplan => 'ETL',
   comment          => 'Medium priority for ETL processing',
   mgmt_p2          => 50);
dbms_resource_manager.create_plan_directive(
   plan             => 'DAYTIME',
   group_or_subplan => 'MAINT',
   comment          => 'Low priority for daytime maintenance',
   mgmt_p3          => 50);
 dbms_resource_manager.create_plan_directive(
   plan             => 'DAYTIME',
   group_or_subplan => 'OTHER_GROUPS',
   comment          => 'All other groups not explicitely named in this plan',
   mgmt_p3          => 50);

 dbms_resource_manager.validate_pending_area();
 dbms_resource_manager.submit_pending_area();
END;


-- create NIGHTTIME plan
BEGIN
 dbms_resource_manager.clear_pending_area();
 dbms_resource_manager.create_pending_area();

 dbms_resource_manager.create_plan(
   plan    => 'NIGHTTIME',
   comment => 'Resource plan for ETL hours');
 dbms_resource_manager.create_plan_directive(
   plan             => 'NIGHTTIME',
   group_or_subplan => 'ETL',
   comment          => 'High priority for ETL processing',
   mgmt_p1          => 70);
 dbms_resource_manager.create_plan_directive(
   plan             => 'NIGHTTIME',
   group_or_subplan => 'REPORTING',
   comment          => 'Medium priority for users/applications',
   mgmt_p2          => 50,
   PARALLEL_DEGREE_LIMIT_P1 => 4,
   SWITCH_GROUP=>'CANCEL_SQL',
   SWITCH_TIME=>15,
   SWITCH_ESTIMATE=>false
   );
dbms_resource_manager.create_plan_directive(
   plan             => 'NIGHTTIME',
   group_or_subplan => 'MAINT',
   comment          => 'Low priority for daytime maintenance',
   mgmt_p3          => 50);
 dbms_resource_manager.create_plan_directive(
   plan             => 'NIGHTTIME',
   group_or_subplan => 'OTHER_GROUPS',
   comment          => 'All other groups not explicitely named in this plan',
   mgmt_p3          => 50);

 dbms_resource_manager.validate_pending_area();
 dbms_resource_manager.submit_pending_area();
END;



-- Grant the consumer group to the users
-- if you do not do this, the user's RESOURCE_CONSUMER_GROUP will show as OTHER_GROUPS
#############################################
BEGIN
DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA();
DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();    
dbms_resource_manager_privs.grant_switch_consumer_group ('oracle','REPORTING',FALSE); 
dbms_resource_manager_privs.grant_switch_consumer_group ('oracle','ETL',FALSE); 
dbms_resource_manager_privs.grant_switch_consumer_group ('oracle','MAINT',FALSE); 
DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
END;
/



-- Activate the Resource Plan
#############################################

ALTER SYSTEM SET resource_manager_plan='NIGHTTIME' SCOPE=BOTH SID='*';
ALTER SYSTEM SET resource_manager_plan='DAYTIME' SCOPE=BOTH SID='*';
-- to deactivate 
ALTER SYSTEM SET resource_manager_plan='' SCOPE=BOTH SID='*';
-- You can also enable the resource plan with the FORCE Option to avoid the Scheduler window to activate a different plan during the job execution.
ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = 'FORCE:DAYTIME';



or 


-- The window starts at 11:00 PM (hour 23) and runs through 7:00 AM (480 minutes).
BEGIN
DBMS_SCHEDULER.SET_ATTRIBUTE(
	Name => '"SYS"."WEEKNIGHT_WINDOW"',
	Attribute => 'RESOURCE_PLAN',
	Value => 'NIGHTTIME');
DBMS_SCHEDULER.SET_ATTRIBUTE(
	name => '"SYS"."WEEKNIGHT_WINDOW"',
	attribute => 'REPEAT_INTERVAL',
	value => 'FREQ=WEEKLY;BYDAY=MON,TUE,WED,THU,FRI,SAT,SUN;BYHOUR=23;BYMINUTE=00;BYSECOND=0');
DBMS_SCHEDULER.SET_ATTRIBUTE(
	name=>'"SYS"."WEEKNIGHT_WINDOW"',
	attribute=>'DURATION',
	value=>numtodsinterval(480, 'minute'));
DBMS_SCHEDULER.ENABLE(name=>'"SYS"."WEEKNIGHT_WINDOW"');
END;

-- The window starts at 7:00 AM (hour 7) and runs until 11:00 PM (960 minutes)
BEGIN
DBMS_SCHEDULER.CREATE_WINDOW(
	window_name => '"WEEKDAY_WINDOW"',
	resource_plan => 'DAYTIME',
	start_date => systimestamp at time zone '-6:00',
	duration => numtodsinterval(960, 'minute'),
	repeat_interval => 'FREQ=WEEKLY;BYDAY=MON,TUE,WED,THU,FRI,SAT,SUN;BYHOUR=7;BYMINUTE=0;BYSECOND=0',
	end_date => null,
	window_priority => 'HIGH',
	comments => 'Weekday window. Sets the active resource plan to DAYTIME');
DBMS_SCHEDULER.ENABLE(name=>'"SYS"."WEEKDAY_WINDOW"');
END;



-- Activate IORM on Exadata
#############################################

-- In each storage cell...
dcli -g ~/cell_group -l root 'cellcli -e list iormplan detail'
dcli -g ~/cell_group -l root 'cellcli -e list iormplan attributes objective'

dcli -g ~/cell_group -l root 'cellcli -e alter iormplan objective = auto'
dcli -g ~/cell_group -l root 'cellcli -e alter iormplan dbPlan=\"\"'
dcli -g ~/cell_group -l root 'cellcli -e alter iormplan catPlan=\"\"'
dcli -g ~/cell_group -l root cellcli -e alter iormplan active

dcli -g ~/cell_group -l root 'cellcli -e list iormplan detail'
dcli -g ~/cell_group -l root 'cellcli -e list iormplan attributes objective'




-- Revert/Delete
#############################################
BEGIN
DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA();
DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();    
DBMS_RESOURCE_MANAGER.DELETE_PLAN (PLAN => 'NIGHTTIME');
DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
END;
/

BEGIN
DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA();
DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA(); 
DBMS_RESOURCE_MANAGER.DELETE_CONSUMER_GROUP(CONSUMER_GROUP => 'REPORTS');
DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
END;
/

BEGIN
DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA();
DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA(); 
DBMS_RESOURCE_MANAGER.DELETE_CONSUMER_GROUP(CONSUMER_GROUP => 'ETL');
DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
END;
/




-- Check Resource Manager configuration
#############################################

set wrap off
set head on
set linesize 300
set pagesize 132
col comments format a64

-- show current resource plan
select * from  V$RSRC_PLAN;

-- show all resource plans
select PLAN,NUM_PLAN_DIRECTIVES,CPU_METHOD,substr(COMMENTS,1,64) "COMMENTS",STATUS,MANDATORY 
from dba_rsrc_plans 
order by plan;

-- show consumer groups
select CONSUMER_GROUP,CPU_METHOD,STATUS,MANDATORY,substr(COMMENTS,1,64) "COMMENTS" 
from DBA_RSRC_CONSUMER_GROUPS 
where CONSUMER_GROUP in ('REPORTING','ETL','MAINT')
order by consumer_group;

-- show  category
SELECT consumer_group, category
FROM DBA_RSRC_CONSUMER_GROUPS
ORDER BY category;

-- show mappings
col value format a30
select ATTRIBUTE, VALUE, CONSUMER_GROUP, STATUS 
from DBA_RSRC_GROUP_MAPPINGS
where CONSUMER_GROUP in ('REPORTING','ETL','MAINT')
order by 3;

-- show mapping priority 
select * from DBA_RSRC_MAPPING_PRIORITY;

-- show directives 
SELECT plan,group_or_subplan,cpu_p1,cpu_p2,cpu_p3, PARALLEL_DEGREE_LIMIT_P1, status 
FROM dba_rsrc_plan_directives 
where plan in ('DAYTIME','NIGHTTIME')
order by 1,3 desc,4 desc,5 desc;

-- show grants
select * from DBA_RSRC_CONSUMER_GROUP_PRIVS order by grantee;
select * from DBA_RSRC_MANAGER_SYSTEM_PRIVS order by grantee;

-- show scheduler windows
select window_name, resource_plan, START_DATE, DURATION, WINDOW_PRIORITY, enabled, active from dba_scheduler_windows;




-- Useful monitoring SQLs
#############################################

## Check the service name used by each session
select inst_id, username, SERVICE_NAME, RESOURCE_CONSUMER_GROUP, count(*) 
from gv$session 
where SERVICE_NAME <> 'SYS$BACKGROUND'
group by inst_id, username, SERVICE_NAME, RESOURCE_CONSUMER_GROUP order by 2,3,1;

## List the Active Resource Consumer Groups since instance startup
select INST_ID, NAME, ACTIVE_SESSIONS, EXECUTION_WAITERS, REQUESTS, CPU_WAIT_TIME, CPU_WAITS, CONSUMED_CPU_TIME, YIELDS, QUEUE_LENGTH, ACTIVE_SESSION_LIMIT_HIT 
from gV$RSRC_CONSUMER_GROUP 
-- where name in ('SYS_GROUP','BATCH','OLTP','OTHER_GROUPS') 
order by 2,1;

## Session level details
SET pagesize 50
SET linesize 155
SET wrap off
COLUMN name format a11 head "Consumer|Group"
COLUMN sid format 9999
COLUMN username format a16
COLUMN CONSUMED_CPU_TIME head "Consumed|CPU time|(s)" format 999999.9
COLUMN IO_SERVICE_TIME head "I/O time|(s)" format 999999.9
COLUMN CPU_WAIT_TIME head "CPU Wait|Time (s)" FOR 99999
COLUMN CPU_WAITS head "CPU|Waits" format 99999
COLUMN YIELDS head "Yields" format 99999
COLUMN state format a10
COLUMN osuser format a8
COLUMN machine format a16
COLUMN PROGRAM format a12
 
SELECT
          rcg.name
        , rsi.sid
        , s.username
        , rsi.state
        , rsi.YIELDS
        , rsi.CPU_WAIT_TIME / 1000 AS CPU_WAIT_TIME
        , rsi.CPU_WAITS
        , rsi.CONSUMED_CPU_TIME / 1000 AS CONSUMED_CPU_TIME
        , rsi.IO_SERVICE_TIME /1000 AS IO_SERVICE_TIME
        , s.osuser
        , s.program
        , s.machine
        , sw.event
FROM V$RSRC_SESSION_INFO rsi INNER JOIN v$rsrc_consumer_group rcg
ON rsi.CURRENT_CONSUMER_GROUP_ID = rcg.id
INNER JOIN v$session s ON rsi.sid=s.sid
INNER JOIN v$session_wait sw ON s.sid = sw.sid
WHERE rcg.id !=0 -- _ORACLE_BACKGROUND_GROUP_
and (sw.event != 'SQL*Net message from client' or rsi.state='RUNNING')
ORDER BY rcg.name, s.username,rsi.cpu_wait_time + rsi.IO_SERVICE_TIME + rsi.CONSUMED_CPU_TIME ASC, rsi.state, sw.event, s.username, rcg.name,s.machine,s.osuser
/

## By consumer group - time series
set linesize 160
set pagesize 60
set colsep '  '
 
column total                    head "Total Available|CPU Seconds"      format 99990
column consumed                 head "Used|Oracle Seconds"              format 99990.9
column consumer_group_name      head "Consumer|Group Name"              format a25      wrap off
column "throttled"              head "Oracle Throttled|Time (s)"        format 99990.9
column cpu_utilization          head "% of Host CPU"                    format 99990.9
break on time skip 2 page
 
select to_char(begin_time, 'YYYY-DD-MM HH24:MI:SS') time,
consumer_group_name,
60 * (select value from v$osstat where stat_name = 'NUM_CPUS') as total,
cpu_consumed_time / 1000 as consumed,
cpu_consumed_time / (select value from v$parameter where name = 'cpu_count') / 600 as cpu_utilization,
cpu_wait_time / 1000 as throttled,
IO_MEGABYTES
from v$rsrcmgrmetric_history
order by begin_time,consumer_group_name
/

## High level
set linesize 160
set pagesize 50
set colsep '  '  
column "Total Available CPU Seconds"    head "Total Available|CPU Seconds"      format 99990
column "Used Oracle Seconds"            head "Used Oracle|Seconds"              format 99990.9
column "Used Host CPU %"                head "Used Host|CPU %"                  format 99990.9
column "Idle Host CPU %"                head "Idle Host|CPU %"                  format 99990.9
column "Total Used Seconds"             head "Total Used|Seconds"               format 99990.9
column "Idle Seconds"                   head "Idle|Seconds"                     format 99990.9
column "Non-Oracle Seconds Used"        head "Non-Oracle|Seconds Used"          format 99990.9
column "Oracle CPU %"                   head "Oracle|CPU %"                     format 99990.9
column "Non-Oracle CPU %"               head "Non-Oracle|CPU %"                 format 99990.9
column "throttled"                      head "Oracle Throttled|Time (s)"        format 99990.9
 
select to_char(rm.BEGIN_TIME,'YYYY-MM-DD HH24:MI:SS') as BEGIN_TIME
        ,60 * (select value from v$osstat where stat_name = 'NUM_CPUS') as "Total Available CPU Seconds"
        ,sum(rm.cpu_consumed_time) / 1000 as "Used Oracle Seconds"
        ,min(s.value) as "Used Host CPU %"
        ,(60 * (select value from v$osstat where stat_name = 'NUM_CPUS')) * (min(s.value) / 100) as "Total Used Seconds"
        ,((100 - min(s.value)) / 100) * (60 * (select value from v$osstat where stat_name = 'NUM_CPUS')) as "Idle Seconds"
        ,((60 * (select value from v$osstat where stat_name = 'NUM_CPUS')) * (min(s.value) / 100)) - sum(rm.cpu_consumed_time) / 1000 as "Non-Oracle Seconds Used"
        ,100 - min(s.value) as "Idle Host CPU %"
        ,((((60 * (select value from v$osstat where stat_name = 'NUM_CPUS')) * (min(s.value) / 100)) - sum(rm.cpu_consumed_time) / 1000) / (60 * (select value from v$osstat where stat_name = 'NUM_CPUS')))*100 as "Non-Oracle CPU %"
        ,(((sum(rm.cpu_consumed_time) / 1000) / (60 * (select value from v$osstat where stat_name = 'NUM_CPUS'))) * 100) as "Oracle CPU %"
        , sum(rm.cpu_wait_time) / 1000 as throttled
from    gv$rsrcmgrmetric_history rm
        inner join
        gV$SYSMETRIC_HISTORY s
        on rm.begin_time = s.begin_time
where   s.metric_id = 2057
  and   s.group_id = 2
group by rm.begin_time,s.begin_time
order by rm.begin_time
/




      

-- PROS/CONS 
#############################################
* When you implement a category plan you specify percentage settings a higher level than the database resource manager and this percentage allocation 
	is generic across the databases. Now, if you want to dynamically alter things you have to do it on both DBRM and on the IORM plans
* If you want it to dynamically change the allocation then just go with the intradatabase plan so you can easily alter the "resource_manager_plan" according to 
	a scheduler window or just by altering the resource plan 



-- FYIs
#############################################
* on resource_manager_cpu_allocation parameter

    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    cpu_count                            integer     16    <-- set to do instance caging
    parallel_threads_per_cpu             integer     1
    resource_manager_cpu_allocation      integer     32    <-- this parameter is deprecated DON'T ALTER THIS, and if this is set with cpu_count this will take precedence, see warning below

    alter system set cpu_count=32 scope=both sid='dbm1';

WARNING: the resource_manager_cpu_allocation was introduced in 11106 and deprecated right away on 11107, 
...BUT... if you have this set together with the cpu_count parameter then this will take precedence. 
let's say you set both cpu_count to 3 and resource_manager_cpu_allocation to 16 and you have 32 CPUs on the system 
and a workload burning all of the 32 CPUs... what will happen is the server will show as 50% utilized (16 CPUs burned) because 
the resource_manager_cpu_allocation is set to 16! 
* one more reason of deprecating the resource_manager_cpu_allocation parameter is the cpu_count has dependencies on other stuff like the parallel settings, doing so is one less parameter to worry


* for IORM, on a 70/30 percentage plan directive scheme on DAYTIME & NIGHTTIME plans.. the percentage allocation will only take effect at saturation point.. but if only 
  one consumer group is active then that group should be able to get the 100% of the IO 

    -- 70/30 NIGHTTIME taking effect on idle CPU, with only 1 session
        BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
        ----------,---------------,-----------------,-----------------,----------,-------
        benchmark ,dbm1           ,05/02/13 05:57:46,05/02/13 05:57:58,        12,   2877

        BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
        ----------,---------------,-----------------,-----------------,----------,-------
        benchmark ,dbm1           ,05/02/13 05:57:48,05/02/13 05:58:07,        19,   1817

    -- 70/30 NIGHTTIME taking effect on idle CPU, but with more sessions doing IOs
        -- etl
        BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
        ----------,---------------,-----------------,-----------------,----------,-------
        benchmark ,dbm1           ,05/02/13 06:02:58,05/02/13 06:03:17,        18,   1918

        BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
        ----------,---------------,-----------------,-----------------,----------,-------
        benchmark ,dbm1           ,05/02/13 06:02:58,05/02/13 06:03:17,        19,   1817

        -- reporting
        BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
        ----------,---------------,-----------------,-----------------,----------,-------
        benchmark ,dbm1           ,05/02/13 06:03:00,05/02/13 06:03:30,        30,   1151

        BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
        ----------,---------------,-----------------,-----------------,----------,-------
        benchmark ,dbm1           ,05/02/13 06:03:00,05/02/13 06:03:30,        30,   1151

    -- 70/30 NIGHTTIME taking effect on 100% CPU utilization and 32 AAS "resmgr:cpu quantum"
        BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
        ----------,---------------,-----------------,-----------------,----------,-------
        benchmark ,dbm1           ,05/02/13 05:52:07,05/02/13 05:52:22,        14,   2466

        BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
        ----------,---------------,-----------------,-----------------,----------,-------
        benchmark ,dbm1           ,05/02/13 05:52:16,05/02/13 05:55:05,       167,    207

* for PX, if you set the PARALLEL_DEGREE_LIMIT_P1=4 then a session will be flagged with a "Req. DOP" of 32 but it will really have an "Actual DOP" of 4

    TIME                 CONSUMER_GROUP_NAME                 CPU Seconds  Oracle Seconds  % of Host CPU          Time (s)  IO_MEGABYTES
    -------------------  ------------------------------  ---------------  --------------  -------------  ----------------  ------------
    2013-02-05 05:45:36  ETL                                        1920          1521.4           79.2            1319.5         68511
                         MAINT                                      1920             0.0            0.0               0.0             0
                         OTHER_GROUPS                               1920            10.9            0.6             156.6             0
                         REPORTING                                  1920           389.3           20.3            1630.1          1952
                         _ORACLE_BACKGROUND_GROUP_                  1920             0.0            0.0               0.0            20

    TIME                 CONSUMER_GROUP_NAME                 CPU Seconds  Oracle Seconds  % of Host CPU          Time (s)  IO_MEGABYTES
    -------------------  ------------------------------  ---------------  --------------  -------------  ----------------  ------------
    2013-02-05 05:46:37  ETL                                        1920          1589.9           82.8             343.5             0
                         MAINT                                      1920             0.0            0.0               0.0             0
                         OTHER_GROUPS                               1920            10.8            0.6             149.0             0
                         REPORTING                                  1920           322.3           16.8            2074.0         15016
                         _ORACLE_BACKGROUND_GROUP_                  1920             0.0            0.0               0.0            20

* for PX, if you set the PARALLEL_DEGREE_LIMIT_P1=4 and if you have a GROUP BY on the SQL then that part of the operation will be another 4 PX slaves 

    Username     QC/Slave Group  SlaveSet SID    Slave INS STATE    WAIT_EVENT                     QC SID QC INS Req. DOP Actual DOP SQL_ID
    ------------ -------- ------ -------- ------ --------- -------- ------------------------------ ------ ------ -------- ---------- -------------
    ORACLE       QC                       684    1         WAIT     PX Deq: Execute Reply          684                               7bb5hpfv8jd4a
     - p028      (Slave)  1      1        3010   1         WAIT     PX Deq: Execution Msg          684    1            16          4 7bb5hpfv8jd4a
     - p004      (Slave)  1      1        2721   1         WAIT     PX Deq: Execution Msg          684    1            16          4 7bb5hpfv8jd4a
     - p012      (Slave)  1      1        391    1         WAIT     PX Deq: Execution Msg          684    1            16          4 7bb5hpfv8jd4a
     - p020      (Slave)  1      1        1559   1         WAIT     PX Deq: Execution Msg          684    1            16          4 7bb5hpfv8jd4a
     - p060      (Slave)  1      2        3013   1         WAIT     cell smart table scan          684    1            16          4 7bb5hpfv8jd4a
     - p036      (Slave)  1      2        685    1         WAIT     cell smart table scan          684    1            16          4 7bb5hpfv8jd4a
     - p044      (Slave)  1      2        1459   1         WAIT     cell smart table scan          684    1            16          4 7bb5hpfv8jd4a
     - p052      (Slave)  1      2        2237   1         WAIT     cell smart table scan          684    1            16          4 7bb5hpfv8jd4a

* for CANCEL_SQL, if you are currently on DAYTIME plan.. and if there's already a long running SQL, if you switch it to NIGHTTIME which has the CANCEL_SQL directive
  the SWITCH_TIME of 15secs will take effect upon activation. So a SQL that's already running for 1000secs will be canceled after 1015secs if you switch to the NIGHTTIME 
  plan at 1000secs

* for MAINT consumer group where we have percentage allocation for RMAN backups, it will only kick in once you execute the backup command "backup incremental level 0 database;"
  and if you run reports and ETL while the backup is running.. the percentage allocation for the rest of the consumer groups will take effect.. below the ETL still got the 
  IO priority than the reporting and backups on NIGHTTIME resource plan 

       INST_ID USERNAME                       SERVICE_NAME                                                     RESOURCE_CONSUMER_GROUP            COUNT(*)
    ---------- ------------------------------ ---------------------------------------------------------------- -------------------------------- ----------
             1 SYS                            SYS$USERS                                                        MAINT                                1      <-- the RMAN session
             1 SYS                            SYS$USERS                                                        OTHER_GROUPS                         8
             2 SYS                            SYS$USERS                                                        OTHER_GROUPS                         3

    TIME                 CONSUMER_GROUP_NAME                 CPU Seconds  Oracle Seconds  % of Host CPU          Time (s)  IO_MEGABYTES
    -------------------  ------------------------------  ---------------  --------------  -------------  ----------------  ------------
    2013-02-05 07:01:37  ETL                                        1920             0.0            0.0               0.0             0
                         MAINT                                      1920             1.1            0.1               0.0          3172  <-- RMAN
                         OTHER_GROUPS                               1920             1.1            0.1               0.0            17
                         REPORTING                                  1920             0.0            0.0               0.0             0
                         _ORACLE_BACKGROUND_GROUP_                  1920             0.0            0.0               0.0            25

                                                         Total Available            Used                 Oracle Throttled
    TIME                 CONSUMER_GROUP_NAME                 CPU Seconds  Oracle Seconds  % of Host CPU          Time (s)  IO_MEGABYTES
    -------------------  ------------------------------  ---------------  --------------  -------------  ----------------  ------------
    2013-02-05 07:02:37  ETL                                        1920             6.2            0.3               5.1          4873
                         MAINT                                      1920            15.5            0.8               0.0         65644  <-- RMAN with reports and ETL
                         OTHER_GROUPS                               1920             0.0            0.0               0.0             0
                         REPORTING                                  1920             1.6            0.1               0.9          3964
                         _ORACLE_BACKGROUND_GROUP_                  1920             0.0            0.0               0.0            20


    -- etl
    BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
    ----------,---------------,-----------------,-----------------,----------,-------
    benchmark ,dbm1           ,05/02/13 07:03:32,05/02/13 07:03:57,        25,   1381

    BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
    ----------,---------------,-----------------,-----------------,----------,-------
    benchmark ,dbm1           ,05/02/13 07:03:32,05/02/13 07:03:57,        25,   1381

    -- reporting
    BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
    ----------,---------------,-----------------,-----------------,----------,-------
    benchmark ,dbm1           ,05/02/13 07:03:34,05/02/13 07:04:10,        36,    959

    BENCHMARK ,INSTNAME       ,START            ,END              ,   ELAPSED,    MBs
    ----------,---------------,-----------------,-----------------,----------,-------
    benchmark ,dbm1           ,05/02/13 07:03:34,05/02/13 07:04:10,        36,    959




INTERDATABASE IORM PLAN

-- INTERDATABASE IORM PLAN
#############################################

* do a show parameter db_unique_name&nbsp;across all the databases, this will be the name you'll be putting as a name on the IORM plan

# main commands
alter iormplan dbPlan=( -
(name=dbm,    level=1, allocation=60), -
(name=exadb,   level=1, allocation=40), -
(name=other,    level=2, allocation=100));
alter iormplan active
list iormplan detail

list iormplan attributes objective
alter iormplan objective = auto



# list 
dcli -g ~/cell_group -l root 'cellcli -e list iormplan detail'
dcli -g ~/cell_group -l root 'cellcli -e list iormplan attributes objective'


# implement
dcli -g ~/cell_group -l root 'cellcli -e list iormplan detail'
dcli -g ~/cell_group -l root 'cellcli -e alter iormplan dbPlan=\( \(name=dbm,    level=1, allocation=60\), \(name=exadb,   level=1, allocation=40\), \(name=other,    level=2, allocation=100\)\);'
dcli -g ~/cell_group -l root 'cellcli -e list iormplan detail'
dcli -g ~/cell_group -l root 'cellcli -e alter iormplan active'
dcli -g ~/cell_group -l root 'cellcli -e list iormplan detail'

dcli -g ~/cell_group -l root 'cellcli -e alter iormplan objective = low_latency'
dcli -g ~/cell_group -l root 'cellcli -e list iormplan attributes objective'



# revert
dcli -g ~/cell_group -l root 'cellcli -e alter iormplan dbPlan=\"\"'
dcli -g ~/cell_group -l root 'cellcli -e alter iormplan catPlan=\"\"'
dcli -g ~/cell_group -l root 'cellcli -e list iormplan detail'
dcli -g ~/cell_group -l root 'cellcli -e alter iormplan inactive'
dcli -g ~/cell_group -l root 'cellcli -e list iormplan detail'

dcli -g ~/cell_group -l root 'cellcli -e alter iormplan objective=\"\"'
dcli -g ~/cell_group -l root 'cellcli -e list iormplan attributes objective'
Viewing all 1150 articles
Browse latest View live