ibm db/2 udb vs oracle andrei solntsev, aprill 2003

27
IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

Upload: samson-gibson

Post on 28-Dec-2015

221 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

IBM DB/2 UDB

vs

ORACLE

Andrei Solntsev,

Aprill 2003

Page 2: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

5 aastat tagasi

• IBM

• Oracle

• Informix

• SysBase

Vähendasid klientide olemasolevate süsteemide arendamise võimalused

1

Page 3: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

Täna

• IBM

• Oracle

• Microsoft

• NCR TeraData

• Internet

• 24 x 7 x 365

• kaugajaline partner

• Tõkestatud skaleeruvus

• ainult keskkondades Windows NT/2000

• Ebakindel tulevik

• Tagasihoidlik koht äriturul

2

Page 4: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

Täna

• IBM

• Oracle

• Microsoft

• NCR TeraData

• Internet

• 24 x 7 x 365

• kaugajaline partner

• Tõkestatud skaleeruvus

• ainult keskkondades Windows NT/2000

• Ebakindel tulevik

• Tagasihoidlik koht äriturul

Page 5: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

DB/2 ja Oracle:

Ühised muudatused• Internet-tehnoloogiad:

• Java

• XML

• ...

• Klasteriseerimine

• Usaldusväärsus

• Arhitektuuri täiustamine

3

Page 6: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

DB/2

Uued baasfunktsioonid

4

Oracle• IFC

• Application Server• JServer

• WebDB

• InterMedia

• Virtual Private Database

Integrated File System • DataLinks

• WebSphere

• Visuaalsed vahendid Java salvestatud protseduuride loomiseks

• Administrative Java toolkit

• XML süntaktiline analüsaator

• Sisseehitatud otsingu vahendid

• DataJoiner • Intelligent Miner• Visual Warehouse

Page 7: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

DataLinks

data in files no longer needs to be imported

into the database

Page 8: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

DataLinksProblem Domain Addressed...

70%-95% of data resides in file systems as compared to databases

Internet has exacerbated this divide

File system limitationsSearchSecurityIntegrity -- referential, domain, etc.Transactional semanticsAdministration

Page 9: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

DataLinksProblem Domain Addressed...

Many applications need to integrate database systems with file systems

They all need database level integrity, security, backup and recovery, replication and transaction consistency

Storing files in BLOBs gives it DBMS capabilitiesFiles must be copied/migrated to the BLOBsPerformance issues

Page 10: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

(char) (varchar) (DATALINK )

URL1

URL2

FileServer

Server "1"

FileServer

....

....

Server "n"

CustomerTable

PhotoNameSS#

546952311 Blogs Joe

236911144 Jane Mary

...

...

...

...

...

...

Client application

SQLAPI

File system API(or http protocol) (4) direct data delivery

(2) return URL infoSELECT DLURLPATH(PHOTO)FROM CUSTOMER WHERE SS# = '236911144'

(3) Open filename

Data Links Programming Model

• Leave the files as is• Define metadata as columns• Define a DATALINK column -- logical

reference to the file in URL notation• Populate the table• Use SQL to search the metadata and

find the files of interest -- get the URL of the file from the DATALINK column

• Access the file using the native file system APIs

(1) SQL SELECT

Page 11: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

DB/2

Uued baasfunktsioonid

4

Oracle• IFC

• Application Server• JServer

• WebDB

• InterMedia

• Virtual Private Database

Integrated File System • DataLinks

• WebSphere

• Visuaalsed vahendid Java salvestatud protseduuride loomiseks

• Administrative Java toolkit

• XML süntaktiline analüsaator

• Sisseehitatud otsingu vahendid

• DataJoiner • Intelligent Miner• Visual Warehouse

Page 12: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

• WebSphere® Application Server, V5 is the premier Java™ 2 Enterprise Edition (J2EE™) and Web services technology-based application platform, offering one of the first production-ready application servers for the deployment of enterprise Web services solutions for dynamic e-business.

• Provides J2EE 1.3 support to simplify enterprise applications by basing them on standardized, modular components

•Lowers total cost of ownership and improves your ability to leverage assets

•Allows you to move seamlessly between configurations with one browser-based administration across all deployment options

WebSphere Application Server

Page 13: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

• Improves programmer productivity and simplifies enterprise development with JMS API, while supporting core Web services standards like XML, SOAP, and WSDL

• Enhances security through extensive support of open, standards-based Java specifications and WebSphere software's pluggable security architecture

• Offers improved performance analysis and application tuning with IBM HTTP Server 2.0

• Provides integrated tools support with WebSphere Studio Application Developer

• Delivers broad cross-platform support

WebSphere Application Server

Page 14: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

IBM: WebSphere

Internet-platvormid

7

Oracle : Appication Server

• Ise AB

• Platvormidevaheline tarkvara

• Instrumentaalsed vahendid

• Resurside planeerimine

• Klientidega suhtlemine

Page 15: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

DB/2

Platvormid

5

Oracle• UNIX

• WINDOWS

• Tasku riistvara

• UNIX

• WINDOWS

• Tasku riistvara

• AIX

• NUMA-Q

• SCO UnixWare

• VSE, VM

• OS/2

• OS/400

• Solaris

• HP-UX

• Dynix/ptx

Windows CE, Palm Pilot ja EPOC baasil:

DB2 Everywhere

DB2 Server

Page 16: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

Arhitektuur

6

IBM: DB2 UDB

Oracle :

eraldiiga keskonna jaoks

ühine süsteem,adapteerimine

Page 17: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

IBM: DB2 UDB EEE

Usaldatavus

8

Oracle: Parallel Failsafe

Enterprise Extended Edition

• Suured klasterid

• Massilise parallelismi realiseerimine

• Klasteriseerimine

HP +

Page 18: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

Produktiivsus

10

TPC-testid

UnixNT

Võrdsed

Mainframes AS/400

IBM

Page 19: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

COST ANALYSIS –

10

DATABASE DEVELOPMENT

Page 20: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

COST ANALYSIS -

10

DATABASE DEVELOPMENTOracle9iR2 is notoriously difficult to install. Installing RAC:

• create raw devices for all files

• create an ASCII file that lists each database object and the corresponding raw device file name

• set an environmental variable to point to the ASCII mapping file.

• create a UNIX account and mount-point directory on each node

• replicate to all nodes

• single-system image

• centralized management of all nodes along

• automated installation procedure

The DBA inserts the CD, runs setup on one database partition server, and then copies to all the others, adding logical nodes as appropriate.

DB2 UDB V8.1 ESE with the Database Partitioning Feature requires a bit more work to co-locate data in its shared-nothing environment, this extra effort is not required in a single-partition environment, however.

Otherwise, planning and modeling tasks are database independent and hence, equivalent for both DBMSs.

Probably most significant is DB2 UDB V8.1’s advantages in the Coding and Debugging category, where the new Development Center’s comprehensive functionality and superior interface give it a 50% advantage over Oracle9iR2.

• attending meetings

• coordinating and scheduling tasks

DB2’s graphical interface:

- greater level of automation than Oracle9iR2 - guides the DBA through a sequence of steps.

DB2 UDB V8.1 style can reduce staff related activities by up to 25%.

DB2’s cost-based optimization is more mature:

• more complete set of optimization strategies and techniques,

• cover a broader range of special situations,

in certain instances the DB2 query operation can complete orders of magnitude faster – one hour instead of ten, etc.

Both: parallel load, fast load, etc.

DB2: fast loader!

• Copy Table

• Data Warehouse Center

Oracle9iR2:

• Transportable Tablespaces

Oracle9iR2 reduces the cost of data-loading 30%.

Oracle9iR2’s Change Management Utility

• reduces by half the amount of time dedicated to cleanup

• automates the process of change management

But:

$3,000 per processor

DB2 allows to • create servers, wrappers, and function mappings define the relationship among them

Non-DB2 data appears to users as if they were local DB2 tables.

This architecture promotes reuse, eliminates redundancies, and streamlines the process of makingchanges.

Oracle9iR2’s create database link syntax

• requires to create more links• is less conducive to reuse.

Furthermore, Oracle9iR2requires to create and maintain ASCII files for each link.

A 20% initial benefit is estimated for DB2, growing to 50% or more as the distributedenvironment grows and is modified over time.

Page 21: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

Whenconsiderable difference exists between the two vendors,

it can often be attributedto a difference in the target user.

COST ANALYSIS -

DATABASE DEVELOPMENT

DB2:• a greater level of automation• 50% advantage in installation and update, query optimizations and distributed database.• 25% advantage in staff-related activities• most significant advantages in the Coding and Debugging

Oracle9iR2:• 40% streamlining of the change management effort• 30% reduction of the data movement effort

The impact of these efficiencies on the bottom line varies greatly, depending on

the size and nature of the project.

Page 22: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

Pricing

10

DB2 UDB V8.1 ESE lists slightly higher than Oracle9iR2.

• more than 50 users per processor

DB2 lists at 54% of Oracle9iR2

• fewer than 27 users per processor

EXHIBIT 1:

DB2 UDB V8.1 ESE vs. Oracle9i R2 EE(Enterprise Server

Edition)

Page 23: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

Pricing

10

EXHIBIT 2:

DB2 ESE vs. Oracle9i R2 Data

Warehouse Clusters

EXHIBIT 3:

DB2 vs. Oracle9i R2 SMP

Data Warehouse

Page 24: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

Pricing

10

EXHIBIT 4:

SCALABILITY CLUSTERS

WITH FAILOVER

EXHIBIT 5:

Discounted Price with

One Year of Service

Page 25: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

the two products provide functionally equivalent technologies,

Kokkuvõte

While

they

vary significantly in total cost

Page 26: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

the weights of these expense categories may vary by customer environments and applications,

Kokkuvõte

Although

advantages suggest that it is the more economical choice over a five-year period for almost all scenarios.

DB2’s

Page 27: IBM DB/2 UDB vs ORACLE Andrei Solntsev, Aprill 2003

10

Kasutatud linke:

1. http://www-3.ibm.com/software/data/db2/udb/

2. http://www.almaden.ibm.com/cs/datalinks/

3. http://www.citforum.ru/seminars/cbd2001/day_1_1_ibm.shtml