DB2(R) Express: Easy Development and Administration

DB2(R) Express: Easy Development and Administration


$50.28 $59.99 Save 16% Current price is $50.28, Original price is $59.99. You Save 16%. View All Available Formats & Editions

Temporarily Out of Stock Online

Eligible for FREE SHIPPING


DB2(R) Express: Easy Development and Administration by Paul Yip, Kit Man Cheung, Jason Gartner, Clara Liu

IBM DB2 UDB Express Edition Version 8.2 delivers everything small to medium-sized businesses need to accelerate time-to-value and dramatically reduce TCO in their database applications. Now, IBM's own experts show exactly how to get started with DB2 Express, and use it to develop, deploy, and manage superior applications from start to finish.

Like DB2 Express itself, this book cuts out the complexity--helping you achieve the full business benefits of today's most advanced database platform simply and quickly. You'll find step-by-step guidance and expert tips for every facet of DB2 Express development and administration, including: application design; development with both Visual Basic .NET and Java; security; deployment; performance tuning; day-to-day administration; and more.

IBM's own DB2 specialists demonstrate how to use DB2 Express' graphical tools to manage DB2 more easily than any other full-function relational database. Along the way, they help you make the most of DB2 Express' powerful "autonomic" features for self-administration, self-tuning, and self-healing to drive down costs throughout the entire application lifecycle.

This book will help you:

  • Understand DB2 Express architecture and its implications for development and administration
  • Install DB2 Express, create databases, and master essential DB2 Express tools
  • Work with database objects: schemas, data types, tables, relationships, views, and indexes
  • Develop VB.NET applications with ADO.NET and the DB2 .NET Data Provider
  • Develop Java applications with JDBC and SQLJ
  • Leverage DB2's concurrency model to design efficient transactions and improve user experience
  • Introduce database functions, stored procedures, and triggers to improve application design
  • Generate and manipulate data efficiently: LOAD, IMPORT, exporting to Microsoft Excel, reporting, and more
  • Tune performance: optimize your configuration, analyze SQL with Visual Explain, and optimize SQL with Design Advisor
  • Secure your applications: authentication, authorization, group privileges, and more
  • Deploy to production, and master silent DB2 installations
  • Define a solid database maintenance plan that fully leverages DB2 Express autonomic features
  • Troubleshoot DB2 Express and avoid common pitfalls

Whether you're a developer, administrator, IT manager, or end-user, this definitive single-source guide will help you achieve results fast... and maximize DB2 Express' business value, every step of the way.


Product Details

ISBN-13: 9780137020812
Publisher: IBM Press
Publication date: 10/12/2004
Series: IBM Press Series
Pages: 496
Product dimensions: 7.40(w) x 9.90(h) x 1.10(d)

About the Author

Paul Yip is a database consultant at IBM Canada. As a member of IBM s Channel and Partner Enablement Team, he works closely with partners, ISVs, and integrators to develop and tune third-party products for DB2. He coauthored DB2 SQL Procedure Language for Linux, UNIX and Windows (Prentice Hall, 2003) with Clara Liu.

Kit Man Cheung, member of IBM's DB2 Tools Development Team, has deep technical insight into DB2 Version 8.2's new GUI tools.

Jason Gartner, member of IBM's DB2 Tools Development Team, has deep technical insight into DB2 Version 8.2's new GUI tools. He is Development Manager for DB2 administration tools.

Clara Liu is a database consultant at the IBM Toronto Lab. She works with a variety of IBM partners and customers on projects utilizing DB2 Universal Database.

Stephen O'Connell, member of IBM's DB2 User-Centered Design Team, has worked on the DB2 Web client and many other IBM-wide DB2 initiatives.

Table of Contents

Dedication and Acknowledgments.


DB2 Express Book Web Site.

1. Introduction.

About This Book.

Who Should Read This Book.

What Is DB2 Express?

What’s Cool about DB2 Express v8.2.

Learning Objectives.

Book Conventions.

Book Web Site 7

2. Getting Started.


Installing DB2 Express.

First Steps.

DB2 Graphical Tools.

Creating a Database.

DB2 Command Editor.

DB2 Information Center.

Supplemental: Installing DB2 Clients from a Server CD.


3. The L8NITE Database Application.


Late Night Convenience Store Requirements

The Data Model.

The Point-of-Sale Application Interface.


4. Database Objects.



Data Types.


Retrieving Data from the Database.

Table Relationships.




Altering the Definition of a Table.


Chapter Exercises.

5. Visual Basic .NET Application Development.


What Are .NET and ADO.NET?

.NET Support in DB2.

A Tour of DB2 Tools in Visual Studio .NET 2003.

Getting Started with the L8NITE Application.

Adding the DB2 .NET Data Provider Reference.

Establishing a Database Connection.

Executing Queries.

Displaying Data in the User Interface.

Making Changes to Data in the Database.

Learning More about DataSet, DataTable, and DataRow.

Controlling a Transaction.

Catching Errors with Exception Handlers.

Troubleshooting Using DB2 CLI Tracing.



6. Java Application Development.


Why Java?

JDBC in DB2.

Designing a Java Application.

Building the Application Using JDBC.

Retrieving Data Using SQLJ.

Online Resources.



7. Maximizing Concurrency.



DB2’s Concurrency Model.

Transaction Design.

Improving the User Experience.



8. Working with Functions, Stored Procedures, and Triggers.


The DB2 Development Center.

User-Defined Functions.

Stored Procedures.


Supplemental: Creating UDFs, Stored Procedures, and Triggers Using VS.NET.



9. Working with Data.


The LOAD and IMPORT Utilities.

Generating Sample Data.

Generating Large Data Sets Using LOAD FROM CURSOR.

Exporting Data.

Importing DB2 Data into Spreadsheets.

Creating Reports Using Microsoft Excel.



10. Performance Tuning.


Performance Tuning.

Optimizing Configuration Using the Configuration Advisor.

Analyzing SQL Using Visual Explain.

Optimizing SQL Performance with the Design Advisor.


Chapter Exercises.

11. Implementing Security.


Database Users.

Defining the SYSADM Authority.

Application Users.

Authentication and Authorization.

Group Privileges.

The PUBLIC Group.

Authentication Modes.

Data Encryption.

Data Communications Encryption.


12. Deploying to Production.


Extracting DDL from the Database.


Important Deployment Considerations.

Supplemental: Implementing Silent DB2 Installation.


13. Automating Maintenance in Production.


Database Operational View.


Disaster Recovery.

Database Log Management.

Table Reorganization.


Notification and Contact List.

Automating and Scheduling Maintenance.

Health of the Database.

Storage Management.

Supplemental: High Availability and Disaster Recovery.



14. Troubleshooting Tools.


Interpreting Error Codes.

DB2 Defects and Applying FixPaks.

The DB2 Administration Server.

DB2 Journal.

Activity Monitor.

Diagnosing Locks.

Event Monitors.

Other Sources of Help.


Appendix A. Development Center.


Installing the DB2 Development Center.

Using the Development Center for the First Time.

Development Center Views.

Customizing the Development Center.

Running Procedures.

Debugging Stored Procedures.

Working with Projects.



Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews