You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository contains two versions of the MyStats utility. This reports on the resource usage between two snapshots in an active database session. It is a combination of Jonathan Lewis's SNAP_MY_STATS package and my own re-factoring of Tom Kyte's runstats utility (also available via www.oracle-developer.net or github.com/oracle-developer/runstats). I've also added some functionality and flexibility around the statistics reporting section.
4
5
5
-
1.0 Introduction
6
-
----------------
7
-
This archive contains two versions of the MyStats utility. This reports on the resource usage between two snapshots in an active database session. It is a combination of Jonathan Lewis's SNAP_MY_STATS package and my own re-factoring of Tom Kyte's runstats utility (also available via www.oracle-developer.net). I've also added some functionality and flexibility around the statistics reporting section.
6
+
## 2.0 Versions
7
+
There are two versions provided.
8
8
9
-
2.0 Versions
10
-
------------
11
-
There are two versions provided:
12
-
13
-
2.1 mystats_pkg.sql
14
-
- - - - - - - - - -
9
+
### 2.1 mystats_pkg.sql
15
10
This creates via a single PL/SQL package named MYSTATS_PKG. This uses invoker rights and dynamic SQL to workaround the common issue whereby developers are not given explicit grants on the required V$ views but have V$ access via a role. See the comments in the package header for more details and usage instructions.
16
11
17
-
2.2 mystats.sql
18
-
- - - - - - - -
12
+
### 2.2 mystats.sql
19
13
This version is a standalone SQL*Plus script that runs MyStats from your SQLPATH without the need to create any database objects. This can be used if you are not able to create the PL/SQL package version of MyStats. See the comments in the script header for more details and usage instructions.
0 commit comments