the xml server dr. zhiwang fan zhiwang.fan@softwareag.com

Post on 26-Mar-2015

215 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

The XML ServerThe XML Server

Dr. Zhiwang Fan

zhiwang.fan@softwareag.com

Traditional databases and their limits

XML: Another Internet revolution?

XML database and Tamino

Agenda

Traditional databases and their limits

Traditional Databases according to their Storage

Hierarchical Database- ADABAS

Relational Database- Oracle- DB2- MS SQL Server

Object Oriented Database- ?

Object Oriented Relational Database- Informix

Theory of Relational Model

Relational Algebra

Entity-Relationship Concept

Normalization

Referential Integrity

SQL (Structured Query Language)

Features of a relational DBMS

Data Store Kernel

SQL-Engine

API

Client - Server Architecture

ODBC, JDBC Drivers

Security

Transaction and Isolation

Multi User and Multi Session

Limitation of current DBMS

The Relational Database has reached its Peak

No more new Vendors of large DBMS

The current DBMS can only treat simple Data

The Market needs new DBMS for complex data

The Market needs Platform crossed and Web oriented DBMS

Graphics

Text

Compound docs.

Design data

Spatial data

Temporal data

Audio

Seismic data

Images

UnstructuredUnstructured StructuredStructured

Video

ComplexComplex

SimpleSimple

Existing DBMSs

Query

No Query

Relational DBMS Object-Relational DBMS

File System Object-Oriented DBMS

Simple Data Complex Data

100 150

1

Stonebraker’s Estimation

Relative Size of DBMS Markets in Year 2005

The Query Language of a Object-Relational DBMS

OQL:Based on OO Programming Languages like C++

SQL3 (Standard about 1500 pages):- user defined type (for complex data type)- user defined functions- “Super Table” (Inherence)

XML - Another Internet revolution ?

Short History of Information Technology

Office Automation

EnterpriseAutomation

Inter-EnterpriseAutomation

What is XML?

XML: Extensible Markup Language W3C Standard

http://www.w3.org/XML/

Subset of SGML Separate the layout from the text content

XML describes only the data structureHTML delivers text layout

XML is the base for Internet AutomationHTML is for human readingXML is for computer “reading”

Difference between HTML and XML

<?xml version=“1.0”?>

<weather-report>

<date>July 1, 1999</date>

<time>9:00 a.m.</time>

<area>

<city>Frankfurt</city>

<country>Germany</country>

</area>

<measurements>

<temp scale=“C”>18</temp>

</measurements>

</weather-report>

XML file

<html><head>

<title>Weather Report</title></head>

<body>

<h1>Weather Report</h1>

<b>Date: </b>July 1, 1999<br>

<b>Time: </b>9:00 a.m.<br>

<b>City: </b>Frankfurt<br>

<b>Country</b>Germany

<p>

<b>Temperature:</b> 18° C

</body>

</html>

HTML file

markup

Content Management, Document Management

e-Book Library

e-Government

Supply Chain Management

Mobile Phone Protocol like WAP

XML: Basic Technology of e-Business

XML Components

Data/DocumentXML

Type Information (Meta Data)DTD/Schema

In-Memory Programming Model(API)DOM/SAX

Layout and TransformationXSL, XSLT

Query LangugageXQL, XPath, X-Query, XML QL, Quilt

XML-Database and

SQL Data

“Table Data”

Input and Output from Database: Entry based data:

First_name Name Sex Position

Harald Schmidt m Manager

Erika Mann f Developer

Tim Holmes m Consulter

XML Data

Structured Data

Input and Output:

<?xml version="1.0"?>

<bib>

<book>

<title> Harold and the Purple Crayon </title>

<author>

<lastname> Johnson </lastname>

<firstname> Crockett </firstname>

</author>

<pubinfo>

<publisher> Harper and Row </publisher>

<price> 4.76 </price>

<year> 1995 </year>

</pubinfo>

</book>

</bib>

A A

A

B

B B

C

C

C

C

A

B C

CC

CA B

Tamino ...

is the Information Server for Electronic Business is the first native XML DBMS

can store and manage any data

attaches directly to the Internet without programming

turns any data source into Internet objects can access and integrate any existing data source

supports XQL as well as SQL for relational data

supports NT, Unix and Mainframe systems

SQL

XML

XML over SQL (SQL is not optimal)This is slow, difficult and proprietary

is right

This ensures performance,and extensibility

Tamino: A Native XML Database

XML

X-Machine and SQL-Engine

SQL Engine

Tamino

XML-Data SQL-Data

X-Machine

Web / Internet

XML ApplicationXML Application

SQL ApplicationSQL Application

Datastore

inolnk

Development Server Integration

XMLXML MESSAGING

DATA INTEGRATIONDATABASE MANAGEMENT

DEVELOPMENT TOOLS

JAVA DEVELOPMENT

DOM APIs, SERVLETS..

S D KS D K

Tamino XML Platform Strategy

Build Store Link

DDCOMCOM / / CCORBAORBA

Tamino The XML Platform for Electronic Business

TaminoTaminoXML DatabaseXML DatabaseTaminoTamino

X-NodeX-Node

Tamino Tamino X-BridgeX-Bridge

ApplicationApplicationBolero / X-Studio / Java / C++Bolero / X-Studio / Java / C++

Web Server

Machines Humans

SQLSQLDBMSDBMS

Remote Remote XML XML

applicationsapplications

Core Core Transaction Transaction

SystemsSystems

4% 5%

7%

15%

51%

18% ApplicationIntegration

Supply ChainManagement

SalesSystems

DocumentManagement

InformationPublishing

Others

Usage Across Applications

Sept. 2000

Thank you

top related