Book description
Perl is a very powerful tool for Oracle database administrators, but too few DBAs realize how helpful Perl can be in managing, monitoring, and tuning Oracle databases. Whether you're responsible for Oracle9i, Oracle8i, or earlier databases, you'll find Perl an invaluable addition to your database administration arsenal.You don't need to be a Perl expert to use the excellent applications and scripts described in Perl for Oracle DBAs. The book explains what you need to know about Perl, provides a wealth of ready-to-use scripts developed especially for Oracle DBAs, and suggests many resources for further exploration. The book covers:
- The Perl language -- an introduction to Perl, its rich history and culture, and its extensive text processing and data transformation capabilities.
- The Perl/Oracle architecture -- Detailed information about Perl DBI, DBD::Oracle, the Oracle Call Interface (OCI), Oracle::OCI, extproc_perl, and mod_perl, the modules that allow Perl programs to communicate with Oracle databases.
- Perl applications for Oracle DBAs -- Profiles of the best Perl open source applications available for use and customization by Oracle DBAs: Perl/Tk, OraExplain, StatsView, Orac, DDL::Oracle, SchemaDiff, Senora, DBD::Chart, SchemaView-Plus, Oracletool, Karma, Embperl, and Mason.
- The Perl Database Administration (PDBA) Toolkit -- a comprehensive suite of specialized, ready-to-use scripts designed to help Oracle DBAs perform both routine and special-purpose administrative tasks: monitoring the Oracle alert log and databases, creating and managing Oracle user accounts, maintaining indexes and extents, extracting DDL and data, troubleshooting and tuning database problems, and much more.
Table of contents
- Perl for Oracle DBAs
- A Note Regarding Supplemental Files
- Preface
- I. Introducing Perl for Oracle
-
II. Extending Perl
- 3. Perl GUI Extensions
- 4. Perl Web Extensions
- 5. Embedding Perl into Apache with mod_perl
- 6. Embedded Perl Web Scripting
- 7. Invoking the Oracle Call Interface with Oracle::OCI
-
8. Embedding Perl into PL/SQL
- Communication Between Perl and PL/SQL
- Embedding Perl Within Oracle
-
III. The Perl DBA Toolkit
-
9. Installing the PDBA Toolkit
- Introducing the PDBA Toolkit
-
Toolkit Modules
- PDBA::CM (Connection Manager)
- PDBA::DBA (DBA Methods)
- PDBA::ConfigFile (Configuration File Handler)
- PDBA::ConfigLoad (Configuration File Loader)
- PDBA::Daemon and Win32::Daemon (Background Programs)
- PDBA::GQ (Generic Query)
- PDBA::LogFile (Logfile Handler)
- PDBA::OPT (Option Handler)
- PDBA::PidFile (Program Id Handler)
- PDBA::PWD (Password Daemon)
- PDBA::PWC (Password Client)
- PDBA::PWDNT (Password Client for NT)
- PDBA (PDBA Utilities)
- Installing the PDBA Toolkit for Unix
- Installing the PDBA Toolkit for Win32
-
Configuring the PDBA Toolkit
- PDBA Module Configuration
- PDBA::CM Module Configuration
-
Password Server Configuration
- $port: Setting the TCP port for the password server
- %pwd: Setting the passwords for password server
- %users: Setting up password server users
- %encryption: Encrypting passwords
- %instanceAuth: Setting up per-account authorization
- Securing pwd.conf
- Running the password server on Unix
- Running the password server on Win32
- Starting the service
- Password Client Configuration
- 10. Performing Routine DBA Tasks with the PDBA Toolkit
- 11. Monitoring the Database with the PDBA Toolkit
-
12. Building a Database Repository with the PDBA Toolkit
- Repository Table Structure
- Installing the Repository
- Loading the Repository with Data
- Reporting on Database Changes
- Reporting on SQL Execution Plans
- 13. Extending the PDBA Toolkit
-
9. Installing the PDBA Toolkit
-
IV. Appendixes
- A. The Essential Guide to Perl
- B. The Essential Guide to Perl DBI
- C. The Essential Guide to Regular Expressions
- D. The Essential Guide to Perl Data Munging
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Perl for Oracle DBAs
- Author(s):
- Release date: August 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596002107
You might also like
book
Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, 3rd Edition
Through a recent series of breakthroughs, deep learning has boosted the entire field of machine learning. …
book
Quick Start Guide to Large Language Models: Strategies and Best Practices for using ChatGPT and Other LLMs
The advancement of Large Language Models (LLMs) has revolutionized the field of Natural Language Processing in …
book
PowerShell Cookbook, 4th Edition
How do you use PowerShell to navigate the filesystem, manage files and folders, or retrieve a …
book
Learning Modern Linux
If you use Linux in development or operations and need a structured approach to help you …