Download Oracle Database Real Application Testing User's Guide
Transcript
Contents Preface ................................................................................................................................................................ vii Audience...................................................................................................................................................... vii Documentation Accessibility .................................................................................................................... vii Related Documents ................................................................................................................................... viii Conventions ............................................................................................................................................... viii 1 Introduction to Oracle Real Application Testing Database Replay ....................................................................................................................................... 1-1 SQL Performance Analyzer.................................................................................................................... 1-2 Part I 2 Database Replay Introduction to Database Replay Workload Capture .................................................................................................................................... Workload Preprocessing ......................................................................................................................... Workload Replay...................................................................................................................................... Analysis and Reporting........................................................................................................................... 3 2-2 2-3 2-3 2-3 Capturing a Database Workload Prerequisites for Capturing a Database Workload............................................................................ 3-1 Workload Capture Options .................................................................................................................... 3-2 Restarting the Database..................................................................................................................... 3-2 Defining the Workload Filters.......................................................................................................... 3-3 Setting Up the Capture Directory .................................................................................................... 3-3 Workload Capture Restrictions ............................................................................................................. 3-3 Enabling and Disabling the Workload Capture Feature.................................................................. 3-3 Capturing a Database Workload Using Enterprise Manager .......................................................... 3-5 Monitoring Workload Capture Using Enterprise Manager............................................................. 3-9 Monitoring an Active Workload Capture ................................................................................... 3-10 Stopping an Active Workload Capture ....................................................................................... 3-11 Managing a Completed Workload Capture................................................................................ 3-11 Capturing a Database Workload Using APIs .................................................................................. 3-13 Adding and Removing Workload Filters .................................................................................... 3-13 Starting a Workload Capture ........................................................................................................ 3-14 iii