Perl for Oracle DBAs: Perl Scripts, Applications & Tips for Database Administrators

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.
The book also explains how Oracle DBAs and developers can extend the toolkit and solve their own database administration problems using Perl.
1140203736
Perl for Oracle DBAs: Perl Scripts, Applications & Tips for Database Administrators

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.
The book also explains how Oracle DBAs and developers can extend the toolkit and solve their own database administration problems using Perl.
39.99 In Stock
Perl for Oracle DBAs: Perl Scripts, Applications & Tips for Database Administrators

Perl for Oracle DBAs: Perl Scripts, Applications & Tips for Database Administrators

Perl for Oracle DBAs: Perl Scripts, Applications & Tips for Database Administrators

Perl for Oracle DBAs: Perl Scripts, Applications & Tips for Database Administrators

eBook

$39.99 

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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.
The book also explains how Oracle DBAs and developers can extend the toolkit and solve their own database administration problems using Perl.

Product Details

ISBN-13: 9781449390914
Publisher: O'Reilly Media, Incorporated
Publication date: 08/19/2002
Sold by: Barnes & Noble
Format: eBook
Pages: 622
File size: 5 MB

About the Author

Andy Duncan is the coauthor of Oracle & Open Source (O'Reilly, 2001), as well as Perl for Oracle DBAs (O'Reilly, 2002). The first book arose after Andy's creation, in 1998, of the Orac Perl/Tk tool for Oracle DBAs. Since then, he has worked mainly as an independent development and DBA consultant, and has counted both Oracle Corporation and Sun Microsystems among his long-term clients. In addition to performing Oracle, Perl, and Java consultancy work, Andy teaches as a senior instructor for Learning Tree International, covering both introductory and advanced Perl courses. He lives in Oxfordshire, England.

Jared Still has been an Oracle DBA in health insurance and manufacturing environments since 1994 (and version 7.0.13 of Oracle). He first began dabbling with Perl in 1993 and it was love at first sight. Perl became an integral part of his Oracle toolkit when it was used to rapidly prototype and implement complex reporting based on data in Oracle databases. Jared has been working with databases of various ilks since 1988, and along the way has also worked as a Unix system administrator. When not riding herd on the databases at the OK Corral, he likes to spend time tinkering on his car, fly fishing, or sitting on the deck in the backyard at his home doing absolutely nothing. He can be reached at jkstill@cybcon.com.

Table of Contents

Prefaceix
Part I.Introducing Perl for Oracle
1.Perl Meets Oracle3
What is Perl?4
The Perl/Oracle Architecture10
Perl for Oracle DBAs15
For Further Information24
2.Installing Perl28
Installing Perl28
Installing Perl DBI38
Running Perl DBI48
Installing Cygwin51
Part II.Extending Perl
3.Perl GUI Extensions65
Perl/Tk66
OraExplain72
StatsView74
Orac82
DDL::Oracle84
SchemaDiff90
Senora92
DBD::Chart95
SchemaView-Plus104
Open Source Perl IDEs107
Open Source Perl GUI Debuggers108
4.Perl Web Extensions110
Apache111
Oracletool118
Karma127
5.Embedding Perl into Apache with mod_perl136
mod_perl137
Apache::OWA155
6.Embedded Perl Web Scripting161
Embperl162
Mason169
7.Invoking the Oracle Call Interface with Oracle::OCI178
What is Oracle::OCI?179
What Is OCI?180
Installing Oracle::OCI185
Coding with Oracle::OCI190
The Future of Oracle::OCI198
8.Embedding Perl into PL/SQL201
Communication Between Perl and PL/SQL202
Embedding Perl Within Oracle204
Part III.The Perl DBA Toolkit
9.Installing the PDBA Toolkit227
Introducing the PDBA Toolkit228
Toolkit Modules232
Installing the PDBA Toolkit for Unix257
Installing the PDBA Toolkit for Win32261
Configuring the PDBA Toolkit265
10.Performing Routine DBA Tasks with the PDBA Toolkit279
Managing User Accounts280
Maintaining Indexes297
Killing Sniped Sessions305
Managing Extent Usage312
Extracting DDL and Data315
11.Monitoring the Database with the PDBA Toolkit328
Monitoring the Alert Log328
Monitoring the Databases342
12.Building a Database Repository with the PDBA Toolkit366
Repository Table Structure367
Installing the Repository369
Loading the Repository with Data374
Reporting on Database Changes377
Reporting on SQL Execution Plans392
13.Extending the PDBA Toolkit403
Modifying a Script in the Toolkit404
Modifying a Module in the Toolkit421
Part IV.Appendixes
A.The Essential Guide to Perl439
B.The Essential Guide to Perl DBI459
C.The Essential Guide to Regular Expressions482
D.The Essential Guide to Perl Data Munging521
Index575
From the B&N Reads Blog

Customer Reviews