overview off db2 universal database

Upload: patosampler

Post on 14-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Overview off DB2 Universal Database

    1/20

    Copyright IBM Corporation 2004Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

    Welcome to:

    3.1

    Overview of DB2 Universal DatabaseOverview of DB2 Universal Database

  • 7/30/2019 Overview off DB2 Universal Database

    2/20

    Copyright IBM Corporation 2004

    Unit Objectives After completing this unit, you should be able to:

    List the DB2 family of products

    Identify the DB2 Universal Database Products

    Describe the functions of DB2 components

    Compare DB2 packaging options and product requirements

    List DB2 supported configurations

  • 7/30/2019 Overview off DB2 Universal Database

    3/20

    Copyright IBM Corporation 2004

    UNIX Systems

    zSeries, S/390

    DB2 for

    VSE and VM

    Windows Systems

    iSeries, AS/400

    DB2 for iSeries

    DB2 DB2

    DB2 UDB Products

    DB2 for z/OS

    and OS/390

  • 7/30/2019 Overview off DB2 Universal Database

    4/20 Copyright IBM Corporation 2004

    Enterprise Server Editionwith Data Partitioning Feature

    Massively Parallel Processor (MPP)

    Enterprise Server Edition

    Workgroup Server Edition

    Personal Edition

    Cluster DB2UDB

    DB2 UDB - The Scalable DB

  • 7/30/2019 Overview off DB2 Universal Database

    5/20 Copyright IBM Corporation 2004

    Command Line

    Processor

    Commands

    Interactive

    SQL

    Applications

    APIs

    EmbeddedSQL

    Call LevelInterface

    SQL/API

    Database Engine

    Administration

    ToolsControl Center

    Health Center

    Task Center

    Command Editor

    Replication Center

    Journal

    Tools Settings

    JDBC/SQLJ

    DAO/RDO/

    ADO

    Accessing DB2

  • 7/30/2019 Overview off DB2 Universal Database

    6/20 Copyright IBM Corporation 2004

    DRDAApplicationRequester

    AdministrationClient

    Run-TimeClient

    ApplicationDevelopment

    Client

    DB2 DB2 Connect

    DRDA Application Server

    Communication Support

    DB2 Product Components

  • 7/30/2019 Overview off DB2 Universal Database

    7/20 Copyright IBM Corporation 2004

    Application

    DevelopmentClient

    ODBCSupport

    JDBCSupportAdministration

    Client

    DB2 ConnectPersonalEdition

    DB2 Personal Developer's Edition (PDE) includes:

    WorkgroupServer

    Edition

    EnterpriseServer

    Edition

    DB2PersonalEdition

    Run-Time Clientincludes:

    DB2 Publications CDDB2 Extenders (Windows only)DB2 XML Extender (Windows only)VisualAge for Java, Entry Edition

    Connecting to DB2 UDB Database Servers

    CommandLineProcessor (CLP)

  • 7/30/2019 Overview off DB2 Universal Database

    8/20 Copyright IBM Corporation 2004

    DB2 for z/OSDB2 for VSE and VM

    DB2 for iSeries

    DB2 Connect

    PersonalEdition

    DB2 ConnectEnterprise

    Edition

    TCP/IP,NetBIOS,

    Named Pipe

    TCP/IP

    Remote Client

    IBM

    DRDA Application Requester (AR) Support

  • 7/30/2019 Overview off DB2 Universal Database

    9/20 Copyright IBM Corporation 2004

    TCP/IP

    WorkgroupServer Edition

    EnterpriseServer Edition

    DB2 for z/OSDB2 for VSE and VM

    DB2 for iSeries

    DRDA Application Server (AS) Support

  • 7/30/2019 Overview off DB2 Universal Database

    10/20 Copyright IBM Corporation 2004

    Web Browser

    WIN

    Web Browser

    Linux

    Web Browser

    UNIXDB2 for z/OS,

    DB2 for VSE and VM

    DB2 for iSeriesDB2 Server

    DB2 Connect Server

    DB2 World Wide Web Gateway

    Web Server DB2 Run-Time Client,

    WebSphere

    Accessing Internet data stored on DB2 using WebSphere

    World Wide Web(Internet)

    Sample Scenario

  • 7/30/2019 Overview off DB2 Universal Database

    11/20 Copyright IBM Corporation 2004

    Consult product Quick Beginnings manual

    Customization steps will be addressed in lab

    Installation of DB2 Universal Database

  • 7/30/2019 Overview off DB2 Universal Database

    12/20 Copyright IBM Corporation 2004

    db2icrt

    db2ilist

    db2idrop

    db2start

    db2stop

    db2 get dbm cfg

    db2 update dbm cfg using ....

    Instance Administration

  • 7/30/2019 Overview off DB2 Universal Database

    13/20

    Copyright IBM Corporation 2004

    What's in an Instance?

    CATALOG

    LOG

    CATALOG

    LOG

    JOIN(federated)

    CATALOG

    LOG

    CATALOG

    LOG

    DBM CONFIG FILE_1 DBM CONFIG FILE_2

    DB_3

    DB_4

    DBCONFIGFILE_3

    DBCONFIGFILE_4

    INSTANCE_1

    DB_1DBCONFIGFILE_1

    DB_2

    INSTANCE_2

    DBCONFIGFILE_2

    DB2 Product

    h b

  • 7/30/2019 Overview off DB2 Universal Database

    14/20

    Copyright IBM Corporation 2004

    The Database Manager Instance

    Table 1 Table 2 Table 3Table 4

    Database Manager Inst1

    database 1

    Tablespace ATablespace B

    Local User Application

    PATH=...DB2INSTANCE=inst1

    c o n n e c t t o

    Database Manager inst2

    database 1 database 2

    Node

    (a computer)

    S i DB2 V i bl V l

  • 7/30/2019 Overview off DB2 Universal Database

    15/20

    Copyright IBM Corporation 2004

    Setting DB2 Variable Values

    EnvironmentVariables

    PlatformSpecific

    Instance-LevelProfile

    Registry

    Global-LevelProfile

    Registry

    Intel

    Advantage

    No restart of system

    after changing!

    Use db2set command to change

    Must stop/restart instance

    Must reinitialize

    environment after changing

    Th db2 C d

  • 7/30/2019 Overview off DB2 Universal Database

    16/20

    Copyright IBM Corporation 2004

    Command line tool for DB2 Profile Registry administrationDisplays, sets, resets, or removes profile variables

    db2set variable=value-g-i instance [db-partition-number]-n DAS node [[-u user id] [-p password]]-u

    -ul-ur-p-r-l-lr-v-? (or -h)-all

    The db2set Command

    DB2 Ad i i t ti S (DAS)

  • 7/30/2019 Overview off DB2 Universal Database

    17/20

    Copyright IBM Corporation 2004

    DB2 control point to assist with server tasks

    Must have running DAS on server to use Configuration Assistant,Control Center, Task Center, or Development Center

    Created and configured at installation time

    Assists with:Enabling remote administration of DB2 serversProviding the facility for job management, including scheduling

    Providing a means for discovering information about theconfiguration of DB2 instances, databases, and other DB2 Administration Servers in conjunction with DB2 Discovery

    DB2 Administration Server (DAS)

    U i g th Ad i i t ti S

  • 7/30/2019 Overview off DB2 Universal Database

    18/20

    Copyright IBM Corporation 2004

    Creating the Administration Server

    dascrt ASName (UNIX)db2admin create (INTEL)

    Starting and stopping the Administration Server

    db2admin startdb2admin stop

    Listing the Administration Server db2admin

    Configuring the Administration Server db2 get admin cfgdb2 update admin cfg using ...

    Removing the Administration Server dasdrop ASName (UNIX)db2admin drop (INTEL)

    Using the Administration Server

    Need More Information?

  • 7/30/2019 Overview off DB2 Universal Database

    19/20

    Copyright IBM Corporation 2004

    CG24

    CF24

    CF47

    DW46

    DW18

    B3106

    DB2 UDB Multi Partition Environment for Single Partition DBAsThree days with labs

    DB2 UDB Multi Partition DBA WorkshopFive days with labs

    DB2 Federated Database/Integrating Diverse Data2.5 days with labs

    DB2 Warehouse Manager WorkshopFour days

    Advanced Data Warehousing Workshop: VLDB Issues and Solutions

    Three days Application Framework for e-business: Technology Workshop

    Five days with labs

    Need More Information?

    Unit Summary

  • 7/30/2019 Overview off DB2 Universal Database

    20/20

    Copyright IBM Corporation 2004

    Unit SummaryHaving completed this unit, you should be able to:

    List the DB2 family of products

    Identify the DB2 Universal Database Products

    Describe the functions of DB2 components

    Compare DB2 packaging options and product requirements

    List DB2 supported configurations