awrcsv
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:project by Clive Bostock, extracts AWR text files into comma separated value files and has templates for Excel reports
AWRCSV 1.12
===========
Description
===========
awrcsv.pl takes a collection of TEXT BASED (NOT HTML!) AWR / STATSPACK 
reports and uses meta-data entries stored in a meta-data directory to 
determine how to extract sections of data from each of the AWR files and 
produce CSV files for use with a spreadsheet application. The output records
are written in descending order of the sum of the field values. In most cases
this is desired for "Top N" type analysis.

The meta-data directory has sub-directories, the 1st level sub-directory
is based on RDBMS version numbers and the second level contains 2 folders
"rac_no" and "rac_yes".

The top level meta-data directory is by default named awrcsv_meta and
it's default location is the current working directory.
Meta-data files have a .mta file extension.

When awrcsv.pl is executed it builds a list of RDBMS versions based on the
AWR / STATSPACK files it is presented with. From this list it determines
which meta-data sub-directories are required. It then applies all the
meta-data files in the meta-data sub-directory to the AWR files matching
the respective database version. The actual names of the individual 
meta-data files are arbitrary, but it is strongly recommended that the names 
be kept consistent with thos listed when you issue the "awrcsv.pl -L" command 
to list CSV file categories.

The current version of AWRCSV is supplied with meta-data for the following
Oracle AWR / STATSPACK versions:

9.2  Single Instance STATSPACK
10.1 Single Instance 
10.2 Single Instance + RAC AWR
11.1 Single Instance + RAC AWR
11.2 Single Instance + RAC AWR

BAT File.
=========
A Windows BAT file, awrcsv.bat, has been supplied. This is supplied as a kind of 
template that you can copy and edit this to save a little time producing CSV files 
in a more organised fashion. This will create directories by CSV category, C1, C2, C3,
etc and place the output CSV files in their respective category directories. 
To use it rename the file extension from the supplied .BATT to .BAT and place leave it
in the folder where you unzip awrcsv. You then create an AWR sub-directory and drop you
text format AWR files into it before running the BAT file.

Excel Template
==============
An excel graphing template (SexyChart.crtx) has been supplied by a colleague (Andy 
MacPherson) which can be used to produce quite a nice looking graph. 
If you like it, you can save the chart template to the template chart location  in Excel 
pointed to by:   Design > Change Chart Type > Manage Templates

When you create a graph you can then in Excel generate a standard line graph and 
then use it via:  Design > Change Chart Type > Templates >