
GETTING STARTED WITH DB2 Express-C A book for the community by the community RAUL CHONG, IAN HAKES, RAV AHUJA FOREWORD BY DR. ARVIND KRISHNA THIRD EDITI ON 2 Getting Started with DB2 Express-C Third Edition (June 2009) This edition has been updated for IBM® DB2® Express-C Version 9.7 for Linux®, UNIX® and Windows®. © Copyright IBM Corporation, 2007, 2009. All rights reserved. Contents About this book .............................................................................................................. 9 Notices and trademarks............................................................................................... 9 Who should read this book? ...................................................................................... 10 How is this book structured? ..................................................................................... 10 A book for the community.......................................................................................... 11 Authors and Contributors........................................................................................... 12 Acknowledgements ................................................................................................... 12 Foreword ................................................................................................................... 13 PART I – OVERVIEW AND SETUP............................................................................... 15 Chapter 1 – What is DB2 Express-C? ......................................................................... 17 1.1 Free to develop, deploy, and distribute…no limits! .............................................. 17 1.2 User assistance and technical support ................................................................ 18 1.3 DB2 servers......................................................................................................... 18 1.4 DB2 clients and drivers........................................................................................ 19 1.5 Application development freedom ....................................................................... 21 1.6 DB2 versions versus DB2 editions....................................................................... 21 1.7 Moving up to another DB2 edition ....................................................................... 22 1.8 Maintenance and updates for DB2 Express-C..................................................... 22 1.9 Related free software and DB2 components ....................................................... 23 1.9.1 IBM Data Studio ........................................................................................... 23 1.9.2 DB2 Text Search .......................................................................................... 23 1.9.3 WebSphere Application Server – Community Edition ................................... 24 1.10 Summary........................................................................................................... 24 Chapter 2 – Related features and products................................................................ 25 2.1 Features included with DB2 Express subscription (FTL) ..................................... 28 2.1.1 Fix packs ...................................................................................................... 28 2.1.2 High Availability Disaster Recovery (HADR)................................................. 29 2.1.3 Data Replication ........................................................................................... 30 2.2 Features not available with DB2 Express-C......................................................... 30 2.2.1 Database Partitioning ................................................................................... 31 2.2.2 Connection Concentrator.............................................................................. 31 2.2.3 Geodetic Extender........................................................................................ 31 2.2.4 Label-based Access Control (LBAC) ............................................................ 31 2.2.5 Workload Manager (WLM)............................................................................ 32 2.2.6 Deep compression........................................................................................ 33 2.2.7 SQL Compatibility......................................................................................... 34 2.3 Fee-based products that are related to DB2........................................................ 35 2.3.1 DB2 Connect ................................................................................................ 35 2.3.2 InfoSphere Federation Server ...................................................................... 36 2.3.3 InfoSphere Replication Server...................................................................... 37 2.3.4 Optim Development Studio (ODS)................................................................ 37 2.3.5 Optim Database Administrator (ODA)........................................................... 38 2.4 DB2 Offerings on Amazon Elastic Compute Cloud.............................................. 38 2.5 Summary............................................................................................................. 38 4 Getting Started with DB2 Express-C Chapter 3 – DB2 installation........................................................................................ 39 3.1 Installation prerequisites...................................................................................... 39 3.2 Operating system installation authority................................................................ 39 3.3 Installation wizard................................................................................................ 40 3.4 Validating your installation................................................................................... 47 3.5 Silent Install......................................................................................................... 49 3.6 Summary............................................................................................................. 50 3.7 Exercises............................................................................................................. 50 Chapter 4 – DB2 Environment ..................................................................................... 55 4.1 DB2 configuration................................................................................................ 65 4.1.1 Environment variables .................................................................................. 66 4.1.2 Database manager configuration file (dbm cfg) ............................................ 66 4.1.3 Database configuration file (db cfg) .............................................................. 68 4.1.4 DB2 profile registry....................................................................................... 69 4.2 The DB2 Administration Server (deprecated) ...................................................... 70 4.3 Summary............................................................................................................. 71 4.4 Exercises............................................................................................................. 71 Chapter 5 – DB2 Tools ................................................................................................. 77 5.1 IBM Data Studio .................................................................................................. 79 5.2 Control Center (deprecated)................................................................................ 80 5.2.1 Launching the Control Center....................................................................... 83 5.3 Command Editor (deprecated) ............................................................................ 84 5.3.1 Launching the Command Editor ................................................................... 84 5.3.2 Adding a database connection ..................................................................... 85 5.4 SQL Assist Wizard (deprecated) ......................................................................... 86 5.5 Show SQL Button (deprecated)........................................................................... 88 5.6 Task Center (deprecated).................................................................................... 89 5.6.1 The Tools Catalog database (deprecated) ................................................... 90 5.7 Journal (deprecated) ........................................................................................... 91 5.7.1 Launching the Journal .................................................................................. 93 5.8 Health Monitor (deprecated)................................................................................ 93 5.8.1 Health Center (deprecated) .......................................................................... 94 5.9 Self-tuning memory manager .............................................................................. 96 5.10 Scripting ............................................................................................................ 96 5.10.1 SQL scripts................................................................................................. 97 5.10.2 Operating system (shell) scripts ................................................................. 98 5.11 Windows Vista considerations ..........................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages302 Page
-
File Size-