Preface
Chapter 1
Scripts Used in this Book
Environment Setup and Configuration
Database and Platforms
Java
JDBC Driver
Chapter 2
Oracle Utilities Defined
Definition of a Utility
What is a Hidden Utility?
Utility Locations
Methods of Discovery
Package Discovery
Binary Discovery
Other Things worth Discovering
Package Utilities
Table 2.1- The supplied Oracle packages.
UNIX Utilities and Shell Scripts
Windows Executables
Table 2.3 - Utilities that are only present
on the Windows platform.
Summary
Chapter 3
Utilities for General Administration
Terminating Threads with
orakill
Tips for using orakill
Viewing Errors with the
oerr Utility
How oerr Works
oerr on Windows
Creating Custom Message Files
oerr Alternatives
Memory Utilities
Utilities for Starting and Stopping
Databases
Auto Start on HP-UX and Solaris
Auto Start on AIX
Starting and Stopping on Windows
oraenv
and coraenv
Utilities
Using
orapwd to Connect Remotely as SYSDBA
Summary
Chapter 4
Data Copy Utilities
Export
Export Modes
Export Options
Parameter Files
Exporting Data Subsets
Maximizing Export Performance
Import
Import Options
Maximizing Import Performance
The SQL*Plus copy Utility
SQL*Loader
The Control File
The Log File
SQL*Loader Options
Maximizing SQL*Loader Performance
External Tables in 9i
Summary
Chapter 5
Monitoring and Tuning
The
dbms_alert Utility
How It Works
The dbms_alert_info Table
dbms_alert Methods
Practical Uses for dbms_alert
The
utl_smtp Utility
The OEMCTL Utility
OMS Event Handlers
Modifying the Event Handler
The
dbms_xplan Utility
The
dbv Utility
(Database Verify)
dbv
Command Line Options
Executing dbv and Interpreting the Output
Executing dbv against a Particular
Segment
Automating dbv
Alternative Block Checking Mechanisms
Handling Corruption
The
dbms_repair Utility
Configuring the Environment
Finding Corrupt Blocks
Repairing Corrupt Blocks
Rebuilding Freelists
Summary
|
Chapter 6
Tracing Utilities
Formatting Trace Files with
tkprof
Why, When tkprof?
Analyzing tkprof
Results
tkprof
Command Line Options
Best Practices for Using tkprof
Simple Tracing With
autotrace
Low Level Tracing With
oradebug
ORADEBUG Session Trace
ORADEBUG Dumps
The Oracle Trace Utility
Starting Oracle Trace
Stopping Oracle Trace
Reporting Tracing Results
Loading Trace Data into the Database
Deleting Trace Data
Trace Analyzer
How it Works
Executing Trace Analyzer
Better than tkprof?
Summary
Chapter 7
Networking Utilities
Managing Listeners with
lsnrctl
Testing Connectivity
Tracing Listener Connections
Tracking Network Paths and Performance
Summary
Chapter 8
Utilities for Oracle Developers
PL/SQL Wrap Utility for Encryption
Best Practices for Using Wrap
The
dbms_profiler Utility
Installation
Starting a Profiling Session
Stopping a Profiling Session
Working with Captured Profiler Data
Useful Scripts
Best Practices for Using
dbms_profiler
Everywhere
The
dbms_debug Utility
Initializing a Debug Session
Setting a Breakpoint
Synchronizing
Viewing and Modifying Variables
The SQLJ Utility
Conclusion
Loading and Dropping Java Objects
Loading PL/SQL Server Pages
Executing the PSP from SQL*Plus
Executing the PSP through the Browser
Loadpsp Command Line Options
Summary
|