DB2 10 For Linux, Unix and Windows Family Fundamentals

Course code: IBOSD01


Duration: 5 Days / 40 Hours

This course provides you with information about the functions of IBM's DB2, a relational database manager which may be installed under a variety of operating systems on many hardware platforms. DB2 runs under the z/OS, VM, Linux, UNIX, and Windows operating systems, to name a few. The course includes discussion of how the DB2 products provide services. The focus is on the services DB2 provides and how we work with DB2, not on its internal workings.

Audience

This basic course is for persons needing an introductory knowledge of DB2, and persons preparing for advanced and specialized DB2 education.

Prerequisites

You should have basic knowledge in data processing.

Objective

  • List and describe the major components of IBM's relational database, DB2
  • Explain the characteristics of a DB2 table
  • Relate the basic concepts of data modeling
  • Comprehend the processing instructions given to DB2 via simple SQL statements
  • List and describe several ways to build (write) and execute SQL statements
  • List and describe steps needed to embed SQL statements in an application program
  • Explain some of the functions performed by, and the responsibilities of, database and system administrators
  • Establish a base for more specialized DB2 education

1. Planning

  • Different editions of DB2 and the various DB2 products
  • Tools that are included with DB2 10.1
  • Using IBM Data Studio to manage your DB2 environment, access your data, and more
  • What pureScale is and how it can help you get the most from your OLTP databases
  • Data warehousing explained and DB2 products that are available to leverage its success
  • Explanation on how DB2 stores and deals with non-conventional data such as large objects (LOBs) and XML documents

2. Databases and Database objects

  • Identify the database objects that exist in a DB2 database, including their basic characteristics and properties
  • DDL (data definition language), DML (data manipulation language) and DCL (data control language) explained
  • Use IBM Data Studio to:
    • Create, connect to, and drop a database
    • Create and modify objects that exist within the database

3. Using Structured Query Language (SQL)

  • Select, sort, and group data from tables.
  • Manage data in tables using SQL statements.
  • Commit and rollback transactions.
  • Identify results from an XQuery.
  • Create, manage data, and query temporal tables.

4. Tables, Views and Indexes

  • Demonstrate usage of DB2 data types (XML data types, Oracle compatibility data types).
  • Create a temporary table.
  • Identify when referential integrity should be used.
  • Identify methods of data constraint.
  • Identify characteristics of a table, view or index.
  • Identify when triggers should be used.
  • Explanation on schemas.

5. Data Concurrency

  • Identify the appropriate isolation level to use for a given situation.
  • Identify the characteristics of DB2 locks.
  • List objects for which locks can be acquired
  • Identify factors that can influence locking.

6. Security

  • Restricting data access
  • Different privileges and authorities
  • Identifying results (grant/revoke/connect statements) when given a DCL SQL statement
  • Row and Column Access Control (RCAC)
  • Roles and trusted contexts

7. User Defined Data Type (UDT) and User Defined Function (UDF)

  • Relevance of UDT and UDF
  • Create, modify and drop UDT and UDF
  • Usage scenarios

8. Stored Procedure using PL/SQL

  • Relevance of Stored procedure
  • PL/SQL basics explained
  • Writing a simple PL/SQL program
  • Implementing a simple PL/SQL program
  • Maintaining a simple PL/SQL program