04-19-2001 1 Rainbow: Bridging XML and Relational Databases Design, Implementation, and Evaluation MQP Advisor: MQP Advisor: Prof. Elke A. Prof. Elke A. Rundensteiner Rundensteiner Sponsor: Sponsor: Verizon Laboratories Verizon Laboratories Incorporated Incorporated MQP Project MQP Project Members: Members: Tien Vu, Tien Vu, Mirek Cymer, Mirek Cymer, John Lee John Lee
24
Embed
Rainbow: Bridging XML and Relational Databases Design, Implementation, and Evaluation
Rainbow: Bridging XML and Relational Databases Design, Implementation, and Evaluation. MQP Project Members: Tien Vu, Mirek Cymer, John Lee. MQP Advisor: Prof. Elke A. Rundensteiner Sponsor: Verizon Laboratories Incorporated. HTML vs. XML. Microsoft, IBM, Informix, Oracle, Sun,. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
04-19-2001 1
Rainbow: Bridging XML and Relational Databases Design, Implementation, and Evaluation
MQP Advisor:MQP Advisor:Prof. Elke A. RundensteinerProf. Elke A. Rundensteiner
Advantages:Advantages: Efficient query and analysis tools.Efficient query and analysis tools. Matured database tools available.Matured database tools available. Easy integration with existing business Easy integration with existing business
databases.databases. Issues:Issues:
Map between XML and Relational Model.Map between XML and Relational Model. Update Propagation.Update Propagation. Query Translation and Optimization.Query Translation and Optimization.
04-19-2001 4
Motivation for Mapping
Query Performance vary with respect to how data is mapped.Query Performance vary with respect to how data is mapped. Flexible mapping: fixed translation and restructureFlexible mapping: fixed translation and restructure
What:What: ImplementImplement and and evaluateevaluate restructuring subsystems restructuring subsystems
within the large-scale Rainbow system.within the large-scale Rainbow system. How:How:
Learn about the database technologies and web tools.Learn about the database technologies and web tools. Translate research ideas to software system design.Translate research ideas to software system design. Practice software engineering techniques: Practice software engineering techniques:
UML, engineer and reuse code.UML, engineer and reuse code. Design an experimental test plan and test bed.Design an experimental test plan and test bed. Conduct performance study and analysis.Conduct performance study and analysis.
Mapping is modeled as a sequence of reversable Mapping is modeled as a sequence of reversable restructuring operators, Operator Name + Parameters.restructuring operators, Operator Name + Parameters.
44 total system classes44 total system classes 17 classes of Rainbow17 classes of Rainbow 27 classes reused27 classes reused ? lines of system code? lines of system code ? lines of Rainbow code? lines of Rainbow code ? lines of code reused? lines of code reused
new
re-use
04-19-2001 13
Screen Shot
04-19-2001 14
Screen Shot
04-19-2001 15
Rainbow Test & Experimental Evaluation
Experimental SetupExperimental Setup Oracle 8iOracle 8i Windows NTWindows NT
DataData Created a DTDCreated a DTD Randomly generated XMLRandomly generated XML Hand translated queriesHand translated queries
FactorsFactors Type of queryType of query Number of operationsNumber of operations
Functional prototype systemFunctional prototype system Feasibility of Rainbow conceptsFeasibility of Rainbow concepts Automated test bed designedAutomated test bed designed Performance evaluations show that:Performance evaluations show that:
(Ideal) Moving up data on the embedded-relational-level (Ideal) Moving up data on the embedded-relational-level yields better query performance for Join queries.yields better query performance for Join queries.
Knowledge gainedKnowledge gained OOOO, Java, JDBC, SQL, RDBMS, XML, DTD, Java, JDBC, SQL, RDBMS, XML, DTD Teamwork & S/W Engineering & Software ReuseTeamwork & S/W Engineering & Software Reuse Logistics of setting up an experimentLogistics of setting up an experiment
Future workFuture work Experiment test plans and test beds to realize the full potential of Experiment test plans and test beds to realize the full potential of
the restructuring component.the restructuring component.
04-19-2001 18
Rainbow: XML and Relational Database Design, Implementation, and Evaluation
Project MembersProject Members::Tien Vu, Mirek Cymer, John LeeTien Vu, Mirek Cymer, John Lee
Advisor:Advisor:Elke A. RundensteinerElke A. Rundensteiner
Many Application usually change its data very frequently.Many Application usually change its data very frequently. e.g., flight reservation, online billing, inventory.e.g., flight reservation, online billing, inventory.
Current SolutionCurrent Solution Reloading the complete XML document when changed which is very Reloading the complete XML document when changed which is very
Incrementally propagate XML Document Updates to Stored XML Data.Incrementally propagate XML Document Updates to Stored XML Data. Goal: XML Repository Implemented using RDBMSGoal: XML Repository Implemented using RDBMS Approach: Flexible MappingApproach: Flexible Mapping Features: Features:
• DTD Metadata Management in RDBDTD Metadata Management in RDB• Automatic Schema CreationAutomatic Schema Creation• Incremental Update PropagationIncremental Update Propagation• XML Query OptimizationXML Query Optimization