Você está na página 1de 17

Section 1 - Planning (15%)

 Knowledge of DB2 UDB products (client, server, etc.)


 Knowledge of the features and functions provided by DB2
Section -1) Planning tools such as the Control Center, the Configuration Advisor,
the Configuration Assistant and the Command Line
Processor
 Knowledge of database workloads (OLAP versus data
warehousing)
 Knowledge of non-
non-relational data concepts (extenders)
 Knowledge of XML data implications (non-
(non-shredding)

DB2 9 Product Family

3 4

1
DB2 9 Product Family
 DB2 Everyplace
 DB2 Express
 DB2 Express-C
 DB2 Personal Edition
 DB2 Workgroup Server Edition
 DB2 Enterprise Server Edition
 DB2 Data Warehouse Edition
 DB2 Developer's Editions
 DB2 for i5/OS
 DB2 for z/OS

5 6

 About Family  DB2 Everyplace is a small-


 The code on the Linux,
footprint (200-350 KB) relational Express Editions  DB2 Express-C is a no-charge
database and a high- entry-level data server that is
UNIX, and Windows (luw) designed to be used on
platforms is about 90% performance data
synchronization solution.  DB2 Express Edition (or microcomputers that have up
common, with 10% of the
code on each operating  It manages synchronization of DB2 Express) is an entry- to two CPUs, have up to 4 GB
system reserved for tight data from back-end data sources level data server that is of memory, and are running a
integration into the such as DB2 9, Informix, Oracle, designed to be used on supported version of Linux or
underlying OS. Sybase, and MS SQL Server. microcomputers that have Windows.
 It runs (with multithreaded up to two CPUs (a dual-
 There are two other  Where pureXML is available
support) on a wide variety of core processor is treated as
members of the DB2 as an add-on feature for DB2
family that are - DB2 for handheld devices, such as: Palm a single CPU), have up to 4
GB of memory. Express, it is included with
System i and DB2 for OS, Microsoft Windows Mobile
Edition, Symbian, J2ME devices DB2 Express-C but missed
System z with 95%  DB2 Express Edition
like RIM's Blackberry pager many other features of
portable SQL. Supports Linux, Solaris, or
Express Edition.
Windows.

7 8

2
 DB2 Personal Edition is a  DB2 Workgroup Server
Why DB2 Express-C ? single-user, full-function Edition is a multi-user, full-
relational database function client/server
1. No Artificial Data Server Limitations
Production ready, same superior database features as DB2 Express management system that is database management
ideal for desktop or laptop- system designed to be used
based deployments. on microcomputers that have
2. Innovative Technology  Remote clients cannot up to four CPUs, have up to 16
Viper--Industry first relational and XML data server access databases that are GB of memory.
under DB2 Personal Edition's  Its an ideal data server for
control, but PCs running DB2 SMB environments that
3. Application Development Flexibility
Choice of programming languages and tools
Personal Edition can act as comprise a small number of
remote clients and access internal users.
data stored on other DB2  Supports Enterprise Linux &
4. Scalable on Demand: servers. Windows, AIX, HP-UX, Solaris
no application or database changes required for other DB2 Editions
 Supports Linux & Windows. and Novell.
9 10

DB2 Enterprise Server Edition DB2 Data Warehouse Edition


 DB2 Enterprise Server Edition is the ideal foundation for building
multi-terabyte data warehouses, high-availability, high-volume
OLTP systems, or Web-based Business Intelligence (BI) solutions  It is designed for today's data center
and mission-critical applications on SAP. environments, where OLTP and decision
 It is designed to be used on any size of server (from one to
support are merged into integrated information
hundreds of CPUs) that is running Enterprise Linux & Windows,
management systems.
AIX, HP-UX, Solaris or Novell operating systems.  The core engine for DB2 Data Warehouse Edition
 This edition includes all of the functionality found in DB2
is DB2 Enterprise Server Edition and the DB2
Workgroup Edition, plus features that are needed to handle high
Data Partitioning Feature.
user loads and provide 24x7x365 availability.  In addition, it also comprised of Design Studio,
 It comes packaged with DB2 Connect that allows it to participate
SQL Warehousing tool, Administration Console,
in heterogeneous networks using the Distributed Relational OLAP Acceleration, Data Mining and
Database Architecture (DRDA) protocol.
Visualization Features etc.

11 12

3
 DB2 for i5/OS is an advanced,
DB2 Developer's Editions 64-bit relational database
 DB2 for z/OS is a multi-user,
full-function database
 Using these editions developers can design, build, or prototype
applications (using JDBC, PHP, .Net, Python, ODBC, SQLJ and management system that management system that has
Embedded SQL etc.) that interact with DB2 9 databases.DB2 provided leverages the On-Demand been designed specifically for
with this edition cannot be used for production systems. capabilities of System i, such z/OS, IBM's flagship
 DB2 Personal Developer’s Edition (PDE) contains DB2 Personal as Dynamic Logical mainframe operating system.
Edition, DB2 Extenders, DB2 Connect Personal Edition, and a SDK that Partitioning to respond
can be used to develop applications. quickly to changing
 DB2 9 for z/OS is designed to
 DB2 Universal Developer's Edition (UDE) is designed for any of the workloads in order to ensure
cut IT infrastructure costs
DB2 client or server platforms available. Its Package contains PDE + DB2 business continuity in a
significantly, streamline
Everyplace, Express, Workgroup Server and Enterprise Server Edition for dynamic environment.
efforts to meet compliance
each operating system supported.  Unlike other DB2 editions, obligations, and simplify data
 DB2 Enterprise Developer's Edition package contains UDE + Informix DB2 for i5/OS is built directly serving on the System z9
Dynamic Server (IDS), Cloudscape, and DB2 Connect Unlimited Edition into the operating system. operating system.
for zSeries for each OS supported.

13 14

DB2 9 Clients Add-on features

 Add-on features are available for an


 DB2 9 Runtime The best
Client
Includes all option
the if your only
functions found in additional licensing fee. Some of them are –
This
New 2inMBDB2fully redistributable
9,are
this client
requirements
the DB2 Runtime to enable
Client pureXML
client provides
performs similarJDBC andplus
functions SQLJ 
applications to access DB2 9to
 DB2 9 Client applications
thefunctions
JCC access
for
client, but to DB2
client-server
instead  High Availability
data
data servers. They
serversJava-based
without
configuration, provide theof
installing
database
supporting access  Workload Management
APIs
and necessary to perform this
 Java Commontask, amaintaining
administration,
to
ClientDB2
(JCC)data and DB2
server client
application
it's used  Performance Optimization
code. but this through
for CLI/ODBC
development client comes
a set with
applications. of rich
no management tools.  DB2 Homogenous Federation Feature
graphical tools.
 DB2 9 Client Lite  Storage Optimization
 Advanced Access Control

15 16

4
DB2 9 Connect Versions of DB2 Connect

 DB2 Connect provides a robust, highly scalable  DB2 Connect Personal Edition: Intended to be used by a
single user on a single workstation who needs connection to
communications infrastructure for connecting any number of mainframe and/or minicomputer DB servers.
Linux, UNIX, Windows, and mobile applications  DB2 Connect Enterprise Edition: Intended to be used by
to data stored in z/OS (mainframe) and i5/OS multiple users on multiple workstations who need connection
(minicomputer) databases. to any number of mainframe and/or minicomputer database
servers. User based licensing.
 DB2 Connect Application Server Edition: same as Enterprise
 DB2 Connect is an add-on product that must be Edition, however, license based on the number of processors
being used by Web or application servers
purchased separately unless DB2 Enterprise
 DB2 Connect Unlimited Edition: same as Enterprise Edition,
Server Edition, which provides a limited-use however, license charges are based on Millions of Service
version, is installed. Units (MSUs) per hour.

17 18

DB2 9 Extenders  AVI Extender - contains a set of user-defined data


 Extenders extend the basic functionality and types and functions that allow a DB2 database to
capabilities of a DB2 database by providing a rich set of store and manipulate nontraditional data such as
built-in data types, along with a set of functions that are audio clips, movies, and pictures.
designed to work with each data type provided.  Text Extender – Its powerful linguistic search and
 They are: text-mining capability allows users to construct
 Audio, Video, and Image (AVI) Extender queries that will search through any kind of text
 Text Extender document (in DB or File system)
 Net Search Extender  Net Search Extender - well suited for high-end e-
 XML Extender business applications where search performance on
 Spatial Extender large indexes can be critical and the ability to scale
 Geodetic Extender the processing of concurrent queries is needed.
19 20

5
 XML Extender - contains a set of user-defined data types
and functions that can be used to store XML documents in a
database (as character data or in external files) and to
manipulate them, regardless of where they are stored.
 Spatial Extender - With its capability, you can generate,
analyze, and exploit spatial information about geographic
features, such as the locations of office buildings or the size
of a flood zone, and present it in a 3D format.
 Geodetic Extender - It treats the Earth like a globe rather
than a flat map thus making it easier to develop applications
for business intelligence and e-government that require
geographical location analysis, uses a latitude/longitude
coordinate system.

21 22

Configuration Assistant Configuration Assistant


Used to establish
connectivity to remote
databases

CA lets you maintain


a list of databases to
which your applications
can connect, manage,
and administer.

23 24

6
First Steps Control Center
 Central management tool for DB2 servers
With First Steps, you
can create sample  Used to:
databases, launch the
DB2 tools for
 Add DB2 systems, local and remote instances and
management and databases to the object tree for management.
connectivity, work with  Manage database objects (databases, tablespaces, tables,
the Business
Intelligence tutorials, views, indexes, triggers, and schemas)
view the  Manage data. You can load, import, or export data,
product library, find
more DB2 resources reorganize data, and collect statistics.
on the Web, and take  Launch other DB2 centers.
a quick tour of all the
new features in DB2  Perform preventive maintenance by backing up and
Version 8. restoring databases or tablespaces.

25 26

Command Center
 Used to:
 Execute SQL Statements interactively
 Execute SQL using SQL Assist Wizard
 Scripts can be saved using the Save Script option
db2cc  View Query Access Plans
 Delete, update, export and view the result set
 Can be invoked by:
 Start  Programs IBM DB2  Command Line Tools
 Command Center

27 28

7
Task Center
 Used to create, schedule and run tasks either
immediately or according to a schedule, and to
notify people about the status of completed tasks,
like
 DB2 scripts that contain DB2 commands
 OS scripts containing OS commands
 Grouping tasks, containing other tasks

 E-mail notifications can be set

29 30

Task Center Health Center

 Used to monitor the state of the DB2


environment and make any necessary changes
to it.
 Management by exception
db2tc  Limit the need of time-consuming, prosaic tasks
 Alert the DBA for a possible health issue, and
allow time to react
 Lower the skills requirement for monitoring,
troubleshooting and problem resolution
 DB2 comes with a set of predefined threshold
values, which you can customize.
31 32

8
Health Center Journal
 Displays the status of the jobs and logs their
results
 Used to:
 View Job histories
 Monitor running and pending DB2 jobs
db2hc  Review Job results
 To start:
 Start  Programs  IBM DB2  General
Administration Tools  Journal

33 34

Journal DB2 Information Center

db2ic
db2journal

35 36

9
Visual Explain SQL Assistance
 Visual Explain lets
you view the access It’s a
plan for an explained graphical tool
SQL statement as a you can use
graph. to build
SELECT,
 It lets you
dynamically explain
INSERT,
an SQL statement
UPDATE,
and view the resulting and
access plan graph. DELETE
statements.

37 38

Command Line Processor Command Window

db2cw

39 40

10
Developer Workbench Memory Visualizer

41 42

Storage Management Data Warehousing


 Systems that contain operational data -- the data that runs the
daily transactions of a business -- contain information that business
analysts can use to better understand how the business is
operating.
 In data warehousing, you create stores of informational data --
data that is extracted from operational data and then transformed
and cleansed for end-user decision making.
 End users can query the separate database (the warehouse)
without affecting the operational databases.
 DB2 is built for business intelligence. Not only is DB2 the world's
most scalable database, but it also has a robust set of business
intelligence functions.

43 44

11
On-Line Analytical Processing (OLAP)
"What is my profitability for the third quarter across
the southeast region of India for my focus products?”

The above question requires multiple


perspectives on data, such as time,
regions, Countries and products.

These perspectives are called dimensions.

OLAP server processes multidimensional


requests that calculate, consolidate, and
retrieve information from a multidimensional
database, a relational database, or both.
45 46

DB2 as an OLAP Server IBM Data Warehouse Edition


An integrated data warehouse for greater business insight
Identify opportunities to pursue - before the competition does
 There are two common categories of OLAP: Identify risks to be minimized or eliminated - before they become public
 Multidimensional OLAP (MOLAP)
 Relational OLAP (ROLAP).

 DB2 can work with both. MOLAP is handled


by the DB2 OLAP Server product and
ROLAP by the native data stores in DB2.

47 48

12
1. Which of the following is the lowest cost DB2
product that can be legally installed on a
Windows server that has 2 CPUs?

 A. DB2 Everyplace
 B. DB2 Express Edition
 C. DB2 Workgroup Server Edition
 D. DB2 Enterprise Server Edition

49 50

2. Which of the following is the lowest cost 3. Which of the following DB2 products can
DB2 product that can be legally installed on only be installed on a System i server?
an HP-UX server?
 A. DB2 for z/OS
 A. DB2 Express-C  B. DB2 for i5/OS
 B. DB2 Express  C. DB2 Data Warehouse Edition
 C. DB2 Personal Edition  D. DB2 Enterprise Server Edition
 D. DB2 Enterprise Server Edition

51 52

13
4. What is the purpose of the Design Advisor? 5. Which of the following DB2 tools
 A. To analyze workloads and make allows a user to set DB2 registry
recommendations for indexes and MQTs parameters?
 B. To present a graphical representation of a data
access plan and recommend design changes that
will improve performance  A. Task Center
 C. To replicate data between a DB2 database and  B. Visual Explain
another relational database
 C. Configuration Assistant
 D. To configure clients so they can access
databases stored on remote servers  D. Satellite Administration Center

53 54

6. What is the SQL Performance Monitor used for? 7. Which of the following tasks can NOT be
performed using the Developer Workbench?
 A. To examine the health of a DB2 Database
Manager instance
 A. Develop and debug an SQL stored procedure
 B. To visually construct complex DML statements
and examine the results of their execution
 B. Develop and debug a user-defined data type
 C. To schedule tasks, run tasks, and send  C. Develop and debug a user-defined function
notifications about completed task s to other users  D. Develop and run XML queries
 D. To analyze database operations performed
against a DB2 database

55 56

14
8. Which of the following tools can be 9. Which of the following can be viewed with the
Journal?
used to automate table reorganization
operations?  A. Historical information about tasks, database
changes, messages, and notifications
 A. Control Center  B. Information about licenses associated with each
 B. Command Center DB2 9 product installed on a particular system
 C. Graphical representations of data access plans
 C. Command Line Processor
chosen for SQL statements
 D. Task Center  D. Warning and alarm thresholds for database
indicators

57 58

10. Which of the following is NOT a 11. Which of the following is NOT a
characteristic of an OLTP database? characteristic of a data warehouse?

 A. Summarized queries that perform


 A. Granular transactions
aggregations and joins
 B. Current data  B. Heterogeneous data sources
 C. Optimized for queries  C. Voluminous historical data
 D. Frequent updates  D. Sub-second response time

59 60

15
12. Which of the following products is used to 13. Which of the following best describes the difference between the
DB2 Spatial Extender and the DB2 Geodetic Extender?
shred extensible markup language A. The DB2 Spatial Extender uses a latitude-longitude coordinate
documents? system; the DB2 Geodetic Extender uses a planar, x- and y-
coordinate system
B. The DB2 Geodetic Extender is used to describe points, lines, and
polygons; the DB2 Spatial Extender is used to find area,
 A. DB2 AVI Extender endpoints, and intersects
C. The DB2 Spatial Extender treats the world as a flat map; the DB2
 B. DB2 Text Extender Geodetic Extender treats the world as a round globe
 C. DB2 XML Extender D. The DB2 Geodetic Extender can be used to manage information
like the locations of office buildings or the size of a flood zone; the
 D. DB2 Spatial Extender DB2 Spatial Extender can be used for calculations and
visualizations in disciplines like military control and asset
management, meteorology and oceanography

61 62

14. Which of the following is true about XML columns?


15. Which of the following is the major difference
 A. XML columns are used to store XML documents as between relational data and XML data?
a hierarchical set of entities
 B. Only XQuery can be used to retrieve an XML  A. Relational data is self-describing; XML data is not
document from an XML column  B. Relational data has inherent ordering; XML data
 C. XML columns must be altered to accommodate does not
additional parent/child relationships if they are used  C. Relational data must be tabular; XML data does
in referential constraints not have to be tabular
 D. In order to access any portion of an XML  D. Relational data is comprised of entities; XML data
document stored in an XML column, the entire is comprised of numbers, characters, and dates
document must be retrieved
63 64

16
Grazie Hebrew
Italian

Gracias
Spanish
Russian

Obrigado

Thank
Portuguese

Arabic

Merci
French

Traditional Chinese
You English
Danke
German

Thai
Simplified Chinese Tamil

Japanese Korean

65

17

Você também pode gostar