1
1
Fork
You've already forked OSPRep
0
an Oracle StatsPack Reporter, generating dynamic reports based on statistics gathered by Oracle StatsPack in your database.
PLSQL 38.4%
Smarty 30.6%
JavaScript 11%
HTML 9.6%
Shell 9.1%
Other 1.2%
Find a file
2022年11月25日 14:52:17 +01:00
doc minor updates to documentation & history 2022年11月25日 14:52:17 +01:00
install minor updates to documentation & history 2022年11月25日 14:52:17 +01:00
plugins compatibility with Oracle 19 (thanks to Willy Schriemer & Peter van Bergen) 2022年11月25日 14:20:12 +01:00
reports * minor adjustment for FF6 2011年09月14日 10:49:01 +00:00
charts.sh ! wrong package name addressed 2011年03月24日 12:21:35 +00:00
config + config option to cut off overlong SQL statements (as they unnecessarily blow up the report; 10g+) 2011年05月11日 14:12:35 +00:00
fts_plans.sh * urls fixed (site changes) 2007年10月08日 17:24:28 +00:00
LICENSE moving license file to top level so Github recognizes it 2018年01月14日 23:20:43 +01:00
Makefile * "make install" failed when webdir was missing - corrected Makefile 2011年04月05日 18:03:43 +00:00
ospopen ! Limit for DBMS_OUTPUT buffer was inversed 2011年10月20日 08:02:59 +00:00
ospout.pls * some code formatting, including check for BINDs to be improved 2011年03月25日 15:11:41 +00:00
README.md update disclaimer in Readme 2022年11月25日 14:31:02 +01:00
sreport.sh honor specified user/pass for ALL sqlplus calls (thanks to Willy Schriemer & Peter van Bergen) 2022年11月25日 14:20:40 +01:00
version + some more context help 2011年10月10日 08:23:25 +00:00

Note: OSPRep is no longer actively developed. Pull requests for fixes and improvements are however accepted.

What is OSPRep?

OSPRep is an Oracle Statspack Report Generator, used to create reports about your database activity statistics in a nice, human readable format – which in this case is HTML –, based on the data collected by Oracle Statspack (or alternatively, using the compatibility layer, on the AWR collected data) and, optionally, some plugins shipped with OSPRep. The generated report provides you with information on the physical database design (tablespaces, datafiles, memory), statistical values on your databases efficiency and more. It is highly configurable not only concerning the report elements you need. Due to its modular design, only the needed code (depending on the options you chose in the config file) will be build and executed, to save your database from unnecessary load.

What does OSPRep do?

OSPRep reads its data out of the (level 5 - 7) statistics gathered by the statspack.snap() procedure of Oracle Statspack and the corresponding procedures from above mentioned plugins. Analogue to the ASCII report one may generate using Oracle Statspack's spreport.sql, OSPrep generates HTML reports out of these data. The additional information gathered (and reported) by the mentioned plugins includes e.g. datafile growth and wait events.

Together with these data, OSPRep gives some descriptions on their meaning as well as ideas what they may point to or what actions are required from the DBA in order to bring the instance to a more efficient state. For some issues, even code pieces for possible required actions are given.

Other useful things to mention here are the fts_plans.sh script provided by OSPrep, which can be used to gather execution plans for all SQL statements executed during a certain period of time, having caused full table scans (FTS; this does not work against AWR data currently) – and the charts.sh script, generating some simple charts for selected statistics. This way OSPRep gives you the information on your finger tips to start the tuning of your applications.

What does OSPRep NOT do?

OSPRep will take no (write) actions to the database (only things that OSPRep writes are the HTML report pages and some temporary files; the latter ones are automatically removed when the script finishes). It only does report what it finds in the database plus some general description on those values. It gives no "perfect solution" to problems that may exist with your instance, just hints to what may be helpful. It will not repair or tune your database for you: in order to have this done, you must draw your own conclusions out of the report results.