January 2012
Intermediate to advanced
542 pages
11h 28m
English
In this recipe we will present a simple example of a performance tuning session, applying the recipes seen earlier.
The example is based on the SH schema. Be sure Statspack is installed, as presented in an earlier recipe.
The following steps demonstrate a simple example using the SH schema:
PERFSTAT with the password PERFSTAT and the user SH with the password SH. The TESTDB database is the default instance.SH schema:
$ sqlplus SH/SH
Chapter1:CREATE OR REPLACE PACKAGE Chapter1 AS PROCEDURE Workload; PROCEDURE Foo(CUSTID IN sh.sales.cust_id%TYPE); END; / CREATE OR REPLACE PACKAGE BODY Chapter1 AS PROCEDURE Workload IS BEGIN
Read now
Unlock full access