Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 

  How to Capture a Workload in a 10g Database for Replay in an 11g Database

Oracle 11g New Features Tips by Donald BurlesonJune 28, 2015

Oracle 11g New Features Tips

At the end of February 2015, Oracle released the 10.2.0.4. patchset. This patchset not only contains bug fixes but also comes with a number of new features for 10gR2. The most important highlight here is the possibility to capture a workload in a 10 database and run it in an 11g database for testing.  Look how this works in a 10g database.

With 10.2.0.4, Oracle has introduced a new parameter which can only be used in 10.2.0.4. to enable resp.  disable workload capturing:

LUTZ AS SYSDBA @ orcl10g SQL> SELECT * FROM v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE    10.2.0.4.0      Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production

LUTZ AS SYSDBA @ orcl10g SQL> show parameter pre_11

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
pre_11g_enable_capture               boolean     FALSE

There are two scripts which can be used to modify the parameter:

  • $ORACLE_HOME/rdbms/admin/wrrenbl for enabling

  • $ORACLE_HOME/rdbms/admin/wrrdsbl.sql for disabling

M Note: The PRE_11G_ENABLE_CAPTURE initialization parameter can only            be used with Oracle Database 10g Release 2 (10.2). This parameter is not            valid in subsequent releases. After upgrading the database,  remove the            parameter from the server parameter file (spfile) or the initialization parameter            file (init.ora); otherwise, the database will fail to start up.

The package DBMS_WORKLOAD_CAPTURE has been added to the 10g RDBMS. This is the interface to workload capturing and filtering. Also, the data dictionary views DBA_WORKLOAD_CAPTURES and DBA_WORKLOAD_FILTERS can be used to monitor the captures. The Enterprise Manager has a graphical interface for Replay Database integrated found in the Server Pane:

Figure 13:  Database Replay Screen

A workload can only be captured on a 10g database system. The replay must be run on an 11g or higher version.

With this 10g New Feature, it is possible to test the impact of an upgrade to RDBMS Server 11g and the consensus is that this will boost Oracle's license sales dramatically.

 

This is an excerpt from the new book Oracle 11g New Features: Expert Guide to the Important New Features by John Garmany, Steve Karam, Lutz Hartmann, V. J. Jain, Brian Carr.

You can buy it direct from the publisher for 30% off.

 

 
��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.