Professional Documents
Culture Documents
In this section we will outline the new and improved features regarding
database and instance tuning. Oracle has introduced some good features
that enhance self-tuning and automated tuning. They are summarized as
follows:
CPU Costing
Dynamic Sampling
However, note that this clause is intended for use only on a test database.
It is not advisable to use this clause on a production database, because
subsequent queries will have no hits, only misses.
The following example shows the effect of flush buffer_cache. There are
50,000 rows in the table POLICYREC.
SQL> update POLICYREC set sum_assured = sum_assured + 15;
50000 rows updated.
SQL> commit;
Commit complete.
SQL> select o.OBJECT_TYPE, substr(o.OBJECT_NAME,1,10)
objname , b.objd , b.status, count(b.objd) from v$bh b,
dba_objects o where b.objd = o.data_object_id and
o.owner = 'NYUSER' group by o.object_type,
o.object_name,b.objd, b.status ;
OBJECT_TYPE
OBJNAME
OBJD STATUS
COUNT(B.OBJD)
----------TABLE
TABLE
TABLE
TABLE
------------TEST1
POLICYREC
POLICYREC
POLICYREC
------6
47
238
376
Because
these
initialization
parameters
either
override
fast_start_mttr_target or potentially drive checkpoints more aggressively
than fast_start_mttr_target does, they can interfere with the simulation.
Type
-----------NUMBER
NUMBER
NUMBER
VARCHAR2(16)
NUMBER
NUMBER
NUMBER
NUMBER
NUMBER
NUMBER
NUMBER
RAW(8)
RAW(8)
NUMBER
Mike Ault, one of the world's top Oracle experts, has finally consented to
release his complete collection of more than 450 Oracle scripts, covering
every possible area of Oracle administration and management.
This is the definitive collection of Oracle monitoring and tuning scripts, and
it would take thousands of hours to re-create this vast arsenal of scripts
from scratch.
Mike has priced his collection of 465 scripts at $39.95, less than a dime per
script. You can download them immediately at this link:
http://www.rampant-books.com/download_adv_mon_tuning.htm