Upload
dangnguyet
View
217
Download
1
Embed Size (px)
Citation preview
devAndMigration v1.ppt 2
Migration Tools
If at the end of today I decide I want to move to DB2 from my current database, can you help me? Yes, we have migration tools
and offerings to help you. You are not the first one to migrate.
ODI CIO IBM
devAndMigration v1.ppt 3
The DB2 Migration Tool Kit
Migrate from Oracle, Microsoft SQL Server, Sybase, Informix, or My SQL
A wizard based migrationFive simple steps
Automatic conversion into DB2 UDB objects
data types, columns, stored procedures, triggers, packages, tables, views, indexes, and sequences
Automates time consuming tasks
devAndMigration v1.ppt 4
Migrate Other Databases Using the DB2 Migration Tool Kit
4. Generate•Data TransferScripts
1. SpecifySource•Src-Metadata
SourceDB
DD
L files
3. RefineUser-change
2. Convert•DB2 DDL•DB2 XML
Metadata•Report
5. Deployto DB2•Data files
TargetDB
DB2UDB
devAndMigration v1.ppt 7
Migration Resources
DB2 Migrate Now! Offering− http://www.ibm.com/software/data/db2/migration/
Overview, customer cases, resources, DB2 skill development
Migration Tool Kit web site:− http://www.ibm.com/software/data/db2/migration/mtk/
Tool Kit downloads− From Oracle, SQL Server, Sybase, and Informix to DB2 UDB− From MySQL to DB2 UDB for Linux
Technical article and tutorial
devAndMigration v1.ppt 8
Application Development Tools
I understand the advantages of migrating to DB2, but my developers use different programming languages and IDEs. How does DB2 support my heterogeneous environment?
You can continue to use your current IDEs and skills to develop applications for DB2
ODI CIO IBM
devAndMigration v1.ppt 9
Develop DB2 Programs for Any Environment
Stored Procedures
User Defined Functions
User Defined Types
Triggers
SQL Statements
Java Programs
SQL Statements
Linux, Unix, Windows
SQL Statements
.NET Programs
DB2 Common Client
devAndMigration v1.ppt 10
DB2 Common Client
Streamlined APIs
Streamlined interfaceFrom the APIs to the network layerShorter client code path length
Minimizes memory copyingLess resource consumption on the client
Memory architecture for less contention
OLE DBPrvdr.
CLIDrvr.
.NETPrvdr.
ADO ADO.net
For Microsoft.NETApplication Programs
JDBCDrvr.
SQLJDrvr.
eSQL
For Java and OtherApplication Programs
DRDA AS
TCP/IP
DRDA
DB2
devAndMigration v1.ppt 11
DB2 Application Development for Java Programmers
Rational Application Developer (RAD) ToolDB2 Application Developer plug-in for RADBuilt on Eclipse framework
Advanced visual database modeling and design
RAD supports higher-level access constructsEntity beansJava Server Faces and Service Data Objects
Programming interfacesJDBC or SQLJ
Develop and test database artifacts and constructs
Stored Procedures
User Defined Functions
User Defined Types
Triggers
SQL Statements
Java Programs
DB2 Common Client
devAndMigration v1.ppt 12
The DB2 Universal JDBC Driver
Single driver for Linux, Unix, Windows, and z/OS
Common architecture for Type 2 and Type 4 drivers
JDBC or SQLJ access to DB2 data
Distributed Relational Database Architecture (DRDA)
High performance - request chaining, JNI crossings
Requires JDK 1.3.1 or higher, supported by WebSphere
devAndMigration v1.ppt 13
DEMO: Rational Application Developer with DB2 Application Developer Plug-In
devAndMigration v1.ppt 14
Wizard Tooling for Easy Access to DB2Using Service Data Objects (SDO) and Java Server Faces (JSF)
Drag the SDO onto the pageJSF components provide end user accessTool binds the SDO to JSF
RAD wizard creates SDO automatically
–Performs data access logic
Supported in WebSphere Studio Application Developer v5.1
Enhanced in Rational Application Developer v6.0
devAndMigration v1.ppt 16
DB2 Application Development for Unix, Windows, and Linux
DB2 Development Center
Programming interfacesODBCDB2 Call Level Interface (CLI)Embedded SQL
Develop and test database artifacts and constructs
Stored Procedures
User Defined Functions
User Defined Types
Triggers
SQL Statements
Linux, Unix, Windows
DB2 Common Client
http://www-306.ibm.com/software/data/db2/udb/ad/
devAndMigration v1.ppt 17
DB2 Application Development for .NET Programmers
DB2 add-in for Visual Studio.NET
Highly integrated with Visual Studio.NET
IBM explorer, DB2 Database ProjectDB2 SQL Editor, DB2 Tools menu Add-in,…
Programming interfacesDB2.NET managed data providerADO (via CLI Driver or OLE DB)ADO.NET
Develop and test database artifacts and constructs
Stored Procedures
User Defined Functions
User Defined Types
Triggers
SQL Statements
.NET Programs
DB2 Common Client
devAndMigration v1.ppt 18
DB2 Information and HelpDB2 Information Center DB2 Information in VS .NET
Separate CD with its own installFlexible installation / deployment
On your own machine, on intranetHosted by IBM
Indexed by Google and other external search enginesLocale sensitive
Built within VS .NETIntegrated in VS.NET Help CollectionImplements all VS.NET Help featuresUpdate with “Check for DB2 Updates”
devAndMigration v1.ppt 19
Application Development for DB2
Wow! I am impressed. IBM tools support the languages, programming environments and skills I have in my business today.
ODI CIO
devAndMigration v1.ppt 20
Online References and ResourcesDeveloper domain
http://www.ibm.com/software/data/developer/
.NET zonehttp://www7b.boulder.ibm.com/dmdd/zones/vstudio/
Java zonehttp://www7b.boulder.ibm.com/dmdd/zones/java/
Web serviceshttp://www.ibm.com/software/data/webservices/
DB2 product family pagehttp://www.ibm.com/software/data/db2/
DB2 educationhttp://www.ibm.com/software/data/db2/skills/