Database Administration: The Complete Guide to Practices and Procedures

Database Administration: The Complete Guide to Practices and Procedures

by Craig S. Mullins

ISBN-10: 0201741296

ISBN-13: 9780201741292

Pub. Date: 06/28/2002

Publisher: Addison-Wesley

"One of Craig's hallmarks is his ability to write in a clear, easy-to-read fashion. The main purpose of any technical book is to transfer information from writer to reader, and Craig has done an excellent job. He wants the reader to learn—and it shows." —Chris Foot, Senior Oracle Certified Instructor, Contemporary Technologies


…  See more details below


"One of Craig's hallmarks is his ability to write in a clear, easy-to-read fashion. The main purpose of any technical book is to transfer information from writer to reader, and Craig has done an excellent job. He wants the reader to learn—and it shows." —Chris Foot, Senior Oracle Certified Instructor, Contemporary Technologies

"I think every business manager and every IT manager should have a copy of this book." —Dan Hotka, Senior Technical Advisor, Quest Software Inc.

With Database Administration , database professionals now have a comprehensive sourcebook of strategies for delivering quality administration across today's challenging multi-DBMS environments. Filled with practical guidelines and strategies, this book provides the most comprehensive survey available of the administrator's world for the existing or aspiring database professional.

Part tutorial and part reference, Database Administration explains and examines each of the components that comprise the discipline of database administration. The book opens by providing an overview of the responsibilities of database administrators (DBAs) along with the various "flavors" of DBAs and their tasks. From there, the book proceeds chronologically through every task a DBA is likely to encounter. Although designed as a comprehensive survey of the entire DBA environment, the book's individual chapters are also well suited for quick look-up of specific information.

Highlights include:

  • The world of the DBA: types, tasks, daily issues, and much more
  • The DBA environment—installation and upgrading issues, standards, and procedures
  • Data modeling and normalization
  • Database design and application design
  • Performance management, including system, database, and application performance
  • Ensuring data integrity and database security
  • Database back-up and recovery strategies and disaster planning
  • Storage management and data warehouse administration
  • Connectivity, metadata management, Internet-enabled database access, and additional DBA tools
  • Platform-independent coverage applicable for all the major DBMS products including DB2, Oracle, and SQL Server

Whether you're a database analyst, architect, or application engineer, this book will provide the strategies and solutions you need to navigate the rocky terrain of today's complex data environments.


Read More

Product Details

Publication date:
Product dimensions:
7.40(w) x 8.90(h) x 1.60(d)

Table of Contents

(NOTE: Most chapters conclude with Summary, Review, Bonus Question and Suggested Reading.)


How to Use This Book.


About the Author.

1. What Is a DBA?

The DBA: Revered or Reviled?

Why Learn Database Administration?

A Unique Vantage Point.

DBA Salaries.

Database Technology.

The Management Discipline of Database Administration.

A Day in the Life of a DBA.

Evaluating a DBA Job Offer.

Database, Data, and System Administration.

Data Administration.

Database Administration.

System Administration.

DBA Tasks.

Database Design.

Performance Monitoring and Tuning.


Database Security and Authorization.

Backup and Recovery.

Data Integrity.

DBMS Release Migration.


Types of DBAs.

System DBA.

Database Architect.

Database Analyst.

Data Modeler.

Application DBA.

Task-Oriented DBA.

Data Warehouse Administrator.

Staffing Considerations.

How Many DBAs?

DBA Reporting Structures.

Multiplatform DBA Issues.

Test and Production.

New Technology and the DBA.

Procedural DBAs: Managing Database Logic.

The Internet: From DBA to e-DBA.


DBA Certification.

The Rest of the Book.

2. Creating the Database Environment.

Defining the Organization's DBMS Strategy.

Choosing a DBMS.

DBMS Architectures.

DBMS Clustering.

DBMS Proliferation.

Hardware Issues.

Installing the DBMS.

DBMS Installation Basics.

Hardware Requirements.

Storage Requirements.

Memory Requirements.

Configuring the DBMS.

Connecting the DBMS to Supporting Infrastructure Software.

Installation Verification.

DBMS Environments.

Upgrading DBMS Versions and Releases.

Features and Complexity.

Complexity of the DBMS Environment.

Reputation of the DBMS Vendor.

Support Policies of the DBMS.

Organization Style.

DBA Staff Skill Set.

Platform Support.

Supporting Software.

Fallback Planning.

Migration Verification.

The DBMS Upgrade Strategy.

Database Standards and Procedures.

Database Naming Conventions.

Other Database Standards and Procedures.

DBMS Education.

3. Data Modeling and Normalization.

Data Modeling Concepts.

Entity-Relationship Diagramming.

The Components of a Data Model.





Discovering Entities, Attributes, and Relationships.

Conceptual, Logical, and Physical Data Models.

What Is Normalization?

The Normal Forms.

First Normal Form.

Second Normal Form.

Third Normal Form.

A Normalized Data Model.

Further Normal Forms.

Normalization in Practice.

Additional Data Modeling Issues.

4. Database Design.

From Logical Model to Physical Database.

Transform Entities to Tables.

Transform Attributes to Columns.

Build Referential Constraints for All Relationships.

Build Physical Data Structures.

Database Performance Design.

Designing Indexes.



Interleaving Data.


When to Denormalize.

Prejoined Tables.

Report Tables.

Mirror Tables.

Split Tables.

Combined Tables.

Redundant Data.

Repeating Groups.

Derivable Data.


Special Physical Implementation Needs.

Denormalization Summary.


Data Definition Language.

5. Application Design.

Database Application Development and SQL.


Set-at-a-Time Processing and Relational Closure.

Embedding SQL in a Program.

SQL Middleware and APIs.

Object Orientation and SQL.

Types of SQL.

SQL Coding for Performance.

Defining Transactions.

Transaction Guidelines.

Unit of Work.

Transaction Processing Systems.

Application Servers.


Types of Locks.

Lock Timeouts.


Lock Duration.

Lock Escalation.

Programming Techniques to Minimize Locking Problems.

Locking Summary.

Batch Processing.

6. Design Reviews.

What Is a Design Review?

Rules of Engagement.

Design Review Participants.

Knowledge and Skills Required.

Types of Design Reviews.

Conceptual Design Review.

Logical Design Review.

Physical Design Review.

Organizational Design Review.

SQL and Application Code Design Review.

Pre-Implementation Design Review.

Post-Implementation Design Review.

Design Review Output.

7. Database Change Management.

Change Management Requirements.

The Change Management Perspective of the DBA.

Types of Changes.

DBMS Software.

Hardware Configuration.

Logical and Physical Design.


Physical Database Structures.

Impact of Change on Database Structures.

The Limitations of ALTER.

Database Change Scenarios.

Comparing Database Structures.

Requesting Database Changes.

Standardized Change Requests.


8. Data Availability.

Defining Availability.

Increased Availability Requirements.

Cost of Downtime.

How Much Availability Is Enough?

Availability Problems.

Loss of the Data Center.

Network Problems.

Loss of the Server Hardware.

Disk-Related Outages.

Operating System Failure.

DBMS Software Failure.

Application Problems.

Security and Authorization Problems. @@BHEADS = Corruption of Data.

Loss of Database Objects.

Loss of Data.

Data Replication and Propagation Failures.

Severe Performance Problems.

Recovery Issues.

DBA Mistakes.

Outages: Planned and Unplanned.

Ensuring Availability.

Perform Routine Maintenance While Systems Remain Operational.

Automate DBA Functions.

Exploit High-Availability Features.

Exploit Clustering Technology.

Suggested Reading.

9. Performance Management.

Defining Performance.

A Basic Database Performance Road Map.

Monitoring vs. Management.

Reactive vs. Proactive.

Preproduction Performance Estimation.

Historical Trending.

Service-Level Management.

Types of Performance Tuning.

System Tuning.

Database Tuning.

Application Tuning.

Performance Tuning Tools.

DBMS Performance Basics.

10. System Performance.

The Larger Environment.

Interaction with the Operating System.

Allied Agents.

Hardware Configuration.

Components of the DBMS.

DBMS Installation and Configuration Issues.

Types of Configuration.

Memory Usage.

Data Cache Details.

“Open” Database Objects.

Database Logs.

Locking and Contention.

The System Catalog.

Other Configuration Options.

General Advice.

System Monitoring.

11. Database Performance.

Techniques for Optimizing Databases.


Raw Partition vs. File System.




Interleaving Data.

Free Space.


File Placement and Allocation.

Page Size (Block Size).

Database Reorganization.

Determining When to Reorganize.


12. Application Performance.

Designing Applications for Relational Access.

Relational Optimization.

CPU and I/O Costs.

Database Statistics.

Query Analysis.


Access Path Choices.

Additional Optimization Considerations.

View Access.

Query Rewrite.

Rule-Based Optimization.

Reviewing Access Paths.

Forcing Access Paths.

SQL Coding and Tuning for Efficiency.

SQL Rules of Thumb.

Additional SQL Tuning Tips.

Identifying Poorly Performing SQL.

13. Data Integrity.

Types of Integrity.

Database Structure Integrity.

Types of Structural Problems.

Managing Structural Problems.

Semantic Data Integrity.

Entity Integrity.

Unique Constraints.

Data Types.

Default Values.

Check Constraints.


Referential Integrity.

14. Database Security.

Database Security Basics.

Database Users.

Granting and Revoking Authority.

Types of Privileges.

Granting to PUBLIC.

Revoking Privileges.

Security Reporting.

Authorization Roles and Groups.



Other Database Security Mechanisms.

Using Views for Security.

Using Stored Procedures for Security.


External Security.

Job Scheduling and Security.

Non-DBMS DBA Security.

15. Database Backup and Recovery.

Preparing for Problems.

Image Copy Backups.

Full vs. Incremental Backups.

Database Objects and Backups.

DBMS Control.

Concurrent Access Issues.

Backup Consistency.

Log Archiving and Backup.

Determining Your Backup Schedule.

DBMS Instance Backup.

Designing the DBMS Environment for Recovery.

Alternate Approaches to Database Backup.

Document Your Backup Strategy.

Database Object Definition Backups.


Determining Recovery Options.

General Steps for Database Object Recovery.

Types of Recovery.

Index Recovery.

Testing Your Recovery Plan.

Recovering a Dropped Database Object.

Recovering Broken Blocks and Pages.

Populating Test Databases.

Alternatives to Backup and Recovery.

Standby Databases.


Disk Mirroring.

16. Disaster Planning.

The Need for Planning.

Risk and Recovery.

General Disaster Recovery Guidelines.

The Remote Site.

The Written Plan.


Backing Up the Database for Disaster Recovery.

Tape Backups.

Storage Management Backups.

Other Approaches.

Some Guidelines.

Disaster Prevention.

Disaster and Contingency Planning Web Sites.

17. Data and Storage Management.

Storage Management Basics.

Files and Data Sets.

File Placement on Disk.

Raw Partitions vs. File Systems.

Temporary Database Files.

Space Management.

Data Page Layouts.

Index Page Layouts.

Transaction Logs.

Storage Options.



Storage Area Networks.

Network-Attached Storage.

Direct Access File System.

Planning for the Future.

Capacity Planning.

18. Data Movement and Distribution.

Loading and Unloading Data.

The LOAD Utility.

The UNLOAD Utility.

Maintaining Application Test Beds.


Bulk Data Movement.

ETL Software.

Replication and Propagation.

Messaging Software.

Other Methods.

Distributed Databases.

Setting Up a Distributed Environment.

Data Distribution Standards.

Accessing Distributed Data.

Two-Phase COMMIT.

Distributed Performance Problems.

19. Data Warehouse Administration.

What Is a Data Warehouse?

Analytical vs.Transaction Processing.

Administering the Data Warehouse.

Too Much Focus on Technology?

Data Warehouse Design.

Data Movement.

Data Cleansing.

Data Warehouse Scalability.

Data Warehouse Performance.

Data Freshness.

Data Content.

Data Usage.

Financial Chargeback.

Backup and Recovery.

Don't Operate in a Vacuum!

20. Database Connectivity.

Client/Server Computing.

A Historical Look.

Business Issues.

What Is Client/Server Computing?

Types of Client/Server Applications.

Database Gateways.

Network Traffic.

Databases, the Internet, and the Web.

Internet-Connected Databases.

New Technologies.

Database Design.

21. Metadata Management.

What Is Metadata?

From Data to Knowledge and Beyond.

Metadata Strategy.

Data Warehousing and Metadata.

Types of Metadata.

Repositories and Data Dictionaries.

Repository Benefits.

Repository Challenges.

Data Dictionaries.

22. DBA Tools.

Types and Benefits of DBA Tools.

Data Modeling and Design.

Database Change Management.

Table Editors.

Performance Management.

Backup and Recovery.

Database Utilities.

Data Warehousing and Business Intelligence.

Programming and Development Tools.

Miscellaneous Tools.

Evaluating DBA Tool Vendors.

Homegrown DBA Tools.

23. DBA Rules of Thumb.

The Rules.

Write Down Everything.

Keep Everything.


Share Your Knowledge.

Analyze, Simplify, and Focus.

Don't Panic!

Measure Twice, Cut Once.

Understand the Business, Not Just the Technology.

Don't Become a Hermit.

Use All of the Resources at Your Disposal.

Keep Up-to-Date.

Final Exam.

Appendix 1. Database Fundamentals.

What Is a Database?

Why Use a DBMS?

Advantages of Using a DBMS.


Appendix 2. The DBMS Vendors.

The Big Three.

Contact Information.

The Second Tier.

Contact Information.

Other Significant Players.

Contact Information.

Open-Source DBMS Offerings.

Nonrelational DBMS Vendors.

Object-Oriented DBMS Vendors.

PC-Based DBMS Vendors.

Appendix 3. DBA Tool Vendors.

The Major Vendors.

Other DBA Tool Vendors.

Data Modeling Tool Vendors.

Repository Vendors.

Data Movement and Business Intelligence Vendors.

Appendix 4. DBA Web Resources.

Usenet Newsgroups.

Mailing Lists.

Web Sites and Portals.

Vendor Web Sites.

Magazine Web Sites.

Consultant Web Sites.

Database Portals.

Other Web Sites.


Database Management and Database Systems.

Data Administration, Data Modeling, and Database Design.

Data Warehousing.

Object Orientation and Database Management.

Related Topics.





SQL Server.


Index. 0201741296T05292002

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network


Most Helpful Customer Reviews

See all customer reviews >