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.
Publisher resources
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
Unix for Oracle DBAs Pocket Reference
The Unix for Oracle DBAs Pocket Reference puts within easyreach the commands that Oracle database administrators …
book
Perl by Example
The World’s Easiest Perl 5 Tutorial—Updated for Today’s Applications and “Modern Perl” Best Practices “When I …
book
Perl for System Administration
Some people plan to become administrators. The rest of us are thrust into it: we are …
book
Beginning Perl for Bioinformatics
With its highly developed capacity to detect patterns in data, Perlhas become one of the most …