Upload
ambrose-briggs
View
212
Download
0
Embed Size (px)
Citation preview
VLDB’05, Trondheim, Norway, August 2005
Interactive Schema Translation with Instance-Level Mappings
Sergey MelnikMicrosoft Research
Joint work with
Phil Bernstein Peter Mork(Microsoft Research) (U. of Washington/MITRE)
Bernstein, Melnik, Mork: Interactive Schema Translation with Instance-Level Mappings. VLDB’052
Schema translation prototype
In: object-oriented schema + annotationsOut: relational schema + mappingGoal: support business apps
MBF Entity Designer (Visual Studio 2005)
CREATE VIEW CustomerView AS SELECT T1.SSN, T1.DOB, ..., T5.AccountNo, T5.APR, ... FROM Customer T1 LEFT OUTER JOIN
(SELECT T3.*, T4.* FROM Customer T3, JT_Customer_owns T2, Account T4 WHERE T4.AccountNo = T2.To_Account_AccountNo
AND T3.DOB = T2.From_Customer_DOB AND T3.SSN = T2.From_Customer_SSN) T5
ON T1.SSN = T5.SSN AND T1.DOB = T5.DOB
Bernstein, Melnik, Mork: Interactive Schema Translation with Instance-Level Mappings. VLDB’053
Highlight 1: Mappings
Mappings = data transformationsIntermediate mappings are composed
Inputschema
S0
Commonmeta-model
S1
Eliminate m:nassociations
Eliminateinheritance
Sn
Outputschema
Nativemeta-model(OO, rel, XML)
map1 mapn
. . .
map1 ∘ map2 ∘ … ∘ mapn
Bernstein, Melnik, Mork: Interactive Schema Translation with Instance-Level Mappings. VLDB’054
Highlight 2: Inheritance
Table perhierarchy
A id, p1
B p2
D p4
C p3
Rdisc
B id, p1, p2
C id, p1, p3
D id, p1, p3, p4
R S TB id, p1, p2
C id, p1, p3
D id, p1, p3, p4
Rdisc S T U
B id, p1 id, p2
C id, p1
id, p3
D id, p1 id, p3 id, p4
Table perconcrete
type
Table pertype
Inheritance mapping tables + algorithms
Bernstein, Melnik, Mork: Interactive Schema Translation with Instance-Level Mappings. VLDB’055
Come to see it!
Integrated with Visual Studio 2005 (Microsoft Business Framework)Works for other kinds of schemas
Group 4: Data SharingTime: Today 4:00-5:30 pm Friday 9:00-10:30 am
© 2005 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.