Presentation is loading. Please wait.

Presentation is loading. Please wait.

Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.1 © Copyright IBM Corporation 2008 DB2 9 Fundamentals.

Similar presentations


Presentation on theme: "Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.1 © Copyright IBM Corporation 2008 DB2 9 Fundamentals."— Presentation transcript:

1 Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.1 © Copyright IBM Corporation 2008 DB2 9 Fundamentals (Exam 730) Classroom Resources Welcome to:

2 © Copyright IBM Corporation 2008 DB2 9 Family Fundamentals Test information: –Number of questions: 64 –Time allowed in minutes: 90 –Required passing score: 59%

3 © Copyright IBM Corporation 2008 Certification Exam (730) Section 1 Section 1 – Planning (14%) –Knowledge of restricting data access –Knowledge of the features or functions available in DB2 tools (just tools that come with product, that is, Control Center, Configuration Advisor, Configuration Assistant, Command Line Processor) –Knowledge of database workloads (OLTP versus warehousing) –Knowledge of non-relational data concepts (extenders) –Knowledge of XML data implications (non-shredding)

4 © Copyright IBM Corporation 2008 Certification Exam (730) Section 2 Section 2 – Security (11%) –Knowledge of DB2 products (client, server, etc.) –Knowledge of different privileges and authorities –Knowledge of encryption options (data and network) –Given a DDL SQL statement, knowledge to identify results (GRANT/REVOKE/CONNECT statements)

5 © Copyright IBM Corporation 2008 Certification Exam (730) Section 3 Section 3 – Working with Databases and Database Objects (17%) –Ability to identify and connect to DB2 servers and databases –Ability to identify DB2 objects –Knowledge of basic characteristics and properties of DB2 objects –Given a DDL SQL statement, knowledge to identify results (ability to create objects)

6 © Copyright IBM Corporation 2008 Certification Exam (730) Section 4 Section 4 – Working with DB2 Data using SQL (23.5%) –Given a DML SQL statement, knowledge to identify results –Ability to use SQL to SELECT data from tables –Ability to use SQL to SORT or GROUP data –Ability to use SQL to UPDATE, DELETE, or INSERT data –Knowledge of transactions (that is, commit/rollback and transaction boundaries) –Ability to call a procedure or invoke a user-defined function –Given an XQuery statement, knowledge to identify results

7 © Copyright IBM Corporation 2008 Certification Exam (730) Section 5 Section 5 – Working with DB2 Tables, Views and Indexes (23.5%) –Ability to demonstrate usage of DB2 data types –Given a situation, ability to create table –Knowledge to identify when referential integrity should be used –Knowledge to identify methods of data constraint –Knowledge to identify characteristics of a table, view or index –Knowledge to identify when triggers should be used –Knowledge of schemas –Knowledge of data type options for storing XML data

8 © Copyright IBM Corporation 2008 Certification Exam (730) Section 6 Section 6 – Data Concurrency (11%) –Knowledge to identify factors that influence locking –Ability to list objects on which locks can be obtained –Knowledge to identify characteristics of DB2 locks –Given a situation, knowledge to identify the isolation levels that should be used

9 © Copyright IBM Corporation 2008 Course Agenda Before this course begins, the student should review the DB2 9 Fundamentals exam 730 prep tutorials listed here: –Part 1: DB2 planning –Part 2: Security –Part 3: Accessing DB2 data –Part 4: Working with DB2 data –Part 5: Working with DB2 objects –Part 6: Data concurrency –Part 7: Introducing XQuery During the course, your instructor will present slides coinciding with each Tutorial unit. –These are short tutorials, averaging about 1 hour http://IBM DeveloperWorks TutorialsIBM DeveloperWorks Tutorials

10 © Copyright IBM Corporation 2008 The ease of working with a relational database I need to call Larry Jones in the company directory... now, where is his phone number? Phone book COMPANY DIRECTORY

11 © Copyright IBM Corporation 2008 DB2 Tables - R - Us Optimizer Lock Manager Security Logging Continuous Operation Integrity and Recovery Phone book COMPANY DIRECTORY DBA DB2, manage the company phone directory Data in a DBMS

12 © Copyright IBM Corporation 2008 DB2 is a Relational Database Management System COL1 COL2COL3 ABC71987-11-14 DEF41963-01-01 GHI61946-07-12 JKL71951-12-30 MNO01992-08-12 OWNER1.TABLE_A PRODQTYSUPPLIER BOLT7ABC CORP NUT4THE NUT CO SCREW6FASTEN INC BOARD7ECM CORP WIRE0BINDINGS PROD.PARTS "RELATION" = TABLE (Data stored in columns and rows) "Relational Database" is a "Table Database"

13 © Copyright IBM Corporation 2008 DB2, build me a table. Here are the rules to enforce on the table. Name the table COMPANY.DIRECTORY. Name the first column LASTNAME. Ensure that only character data be allowed in that column. Also, ensure that every phone listing has a value in the LASTNAME column. Now, for the second column... Table creation – English

14 © Copyright IBM Corporation 2008 The language of Relational Database Management Systems WHAT to do, NOT how to do it S Q L TRUCTURED UERY ANGUAGE Flexible

15 © Copyright IBM Corporation 2008 Describe the columns (give each column 3 attributes) COLUMN NAME DATATYPE / LENGTH NULL CHARACTERISTIC Table name DBA Creating tables in DB2 – We must provide...

16 © Copyright IBM Corporation 2008 CREATE TABLE COMPANY.DIRECTORY ( ID INTEGER NOT NULL, LASTNAME CHAR(15)NOT NULL, FIRSTNAME CHAR(15), ADDRESS VARCHAR(45)NOT NULL WITH DEFAULT, ~~~ ) Column description area From an Editor that talks to DB2

17 © Copyright IBM Corporation 2008 Application Programs Application Manager Data Tables Logging Continuous Operation Security Optimizer Integrity & Recovery Lock Manager DB2 Tables - R - Us A BIG picture look at running an application

18 © Copyright IBM Corporation 2008 Catalog Data Lock Manager Lock Logging Continuous Operation Security Optimizer Integrity & Recovery Lock Manager DB2 Tables - R - Us User wants to change a SALARY User's application connects to DB2 Passes user's ID to DB2 Is user permitted to update salary? Read into DB2 buffer How DB2 handles an SQL Change request

19 © Copyright IBM Corporation 2008 Data Logging Continuous Operation Security Optimizer Integrity & Recovery Lock Manager DB2 Tables - R - Us After the update Release the lock Write Write/Commit Logging LOG Finish the Change request


Download ppt "Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.1 © Copyright IBM Corporation 2008 DB2 9 Fundamentals."

Similar presentations


Ads by Google