Oracle StatsPack
Version 12.1.0.2

General Information
Library Note Morgan's Library Page Header
Coming to OpenWorld 2018? Be sure to visit the TidalScale booth in Moscone South and learn how to solve performance problems and lower costs with Software Defined Servers. Before you visit the booth, or if you can't make it this year, check out TidalScale at www.tidalscale.com. Be sure to click on the Solutions link and look through the Oracle resources.
Purpose StatsPack is ...
Primary StatsPack Creation Scripts
Description Script
Create Script: calls spcusr.sql, spectab.sql, and spcpkg.sql ?/rdbms/admin/sbcreate.sql
Create User and Required Privileges ?/rdbms/admin/spcusr.sql
Create Required Tables ?/rdbms/admin/spctab.sql
Creates Statistics Package ?/rdbms/admin/sbcpkg.sql
Validate Installation conn perfstat/perfstat@orabase
Automates Statistics Collection ?/rdbms/admin/spauto.sql
Server Performance AWR RAC Report ?/rdbms/admin/spawrrac.sql
Purges a Range of Snapshots ?/rdbms/admin/sppurge.sql
Report Configuration ?/rdbms/admin/sprepcon.sql
Default StatsPack Report ?/rdbms/admin/spreport.sql (calls sprepins.sql)
Snapshot Instance Difference Report ?/rdbms/admin/sprepins.sql
Standard StatsPack Report ?/rdbms/admin/sprepsql.sql (calls sprsqins.sql)
Resource Usage, SQL Text & Plans Report ?/rdbms/admin/sprsqins.sql
Truncates the StatsPack Tables ?/rdbms/admin/sptrunc.sql
Drops the user, tables, and package ?/rdbms/admin/spdrop.sql
Drops StatsPack Tables ?/rdbms/admin/spdtab.sql
Drops StatsPack User ?/rdbms/admin/spdusr.sql
Standby StatsPack Creation Scripts
Description Script
Driver Create Script SQL> @?/rdbms/admin/sbcreate.sql (calls sbcusr.sql, sbctab.sql, and sbaddins.sql)
Create User and Required Privileges SQL> @?/rdbms/admin/sbcusr.sql
Create Required Tables SQL> @?/rdbms/admin/sbctab.sql
Add a Standby Database to the Configuration SQL> @?/rdbms/admin/sbaddins.sql (calls sbcpkg.sql)
Create Standby Statistics Package SQL> @?/rdbms/admin/sbcpkg.sql
List Standby Instances SQL> @?/rdbms/admin/sblisins.sql
Report Creation SQL> @?/rdbms/admin/sbreport.sql (calls sbrepcon.sql and sbrepins.sql)
Return Report Configuration SQL> @?/rdbms/admin/sbrepcon.sq
Report Creation SQL> @?/rdbms/admin/sbrepins.sql
Purge a Set of Snapshots SQL> @?/rdbms/admin/sbpurge.sql
Remove Standby Instance SQL> @?/rdbms/admin/sbdelins.sql
Drops the User and Tables SQL> @?/rdbms/admin/sbdrop.sql (calls sbdtab.sql and sbdusr.sql)
Drops the Tables SQL> @?/rdbms/admin/sbdtab.sql
Drops the User SQL> @?/rdbms/admin/sbdrop.sql
Dependencies
     
     
     
 
CDB$ROOT
   
 
   
 
   
 
 
PDBDEV
   
 
  c:\users\oracle>sqlplus sys@pdbdev as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Sun Oct 11 17:50:43 2015

Copyright (c) 1982, 2014, Oracle. All rights reserved.

Enter password:

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
   
   
   

Related Topics
ASH Report
Automated Workload Repository
AWR Report
What's New In 12cR1
What's New In 12cR2

Morgan's Library Page Footer
This site is maintained by Dan Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2017 Daniel A. Morgan All Rights Reserved