James F. Terwilliger  Microsoft Research, Post-Doctoral Researcher  Database Group, with Phil Bernstein  Portland State University  Ph.D., as soon.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

Introduction to NHibernate By Andrew Smith. The Basics Object Relation Mapper Maps POCOs to database tables Based on Java Hibernate. V stable Generates.
Software Re-engineering
Multi-RQP Generating Test Databases for the Functional Testing of OLTP Applications Carsten Binnig Joint work with: Donald Kossmann, Eric Lo DBTest Workshop,
DB glossary (focus on typical SQL RDBMS, not XQuery or SPARQL)
The ANSI/SPARC Architecture of a Database Environment
Data recovery 1. 2 Recovery - introduction recovery restoring a system, after an error or failure, to a state that was previously known as correct have.
Normal forms - 1NF, 2NF and 3NF
Database Management Using Microsoft Access Xinhua Chen, Ph.D. Chinese Association of Professionals in Science and Technology March 23, 2003.
Chapter 18 Methodology – Monitoring and Tuning the Operational System Transparencies © Pearson Education Limited 1995, 2005.
1 Web-Enabled Decision Support Systems Access Introduction: Touring Access Prof. Name Position (123) University Name.
Chapter Information Systems Database Management.
Database System Concepts and Architecture
Lecture plan Outline of DB design process Entity-relationship model
Visual Scripting of XML
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Use Case: Populating Business Objects.
Michael Pizzo Software Architect Data Programmability Microsoft Corporation.
CSCI3170 Introduction to Database Systems
Review Indra Budi Fakultas Ilmu Komputer UI 2 Database Introduction Database vs File Processing Main purpose of database Database Actors.
.NET Database Technologies: Open-Source Frameworks.
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
Midterm Review Lecture 14b. 14 Lectures So Far 1.Introduction 2.The Relational Model 3.Disks and Files 4.Relational Algebra 5.File Org, Indexes 6.Relational.
Methodology Logical Database Design for the Relational Model
The Microsoft Technical Roadshow 2007 Advances for Data in VS “Orcas” Mike Taulty Developer & Platform Group Microsoft Ltd
Systems Analysis and Design in a Changing World, 6th Edition
Modeling and Evaluation. Modeling Information system model –User perspective of data elements and functions –Use case scenarios or diagrams Entity model.
Database Management Systems (DBMS)
LOGICAL DATABASE DESIGN
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
1 C omputer information systems Design Instructor: Mr. Ahmed Al Astal IGGC1202 College Requirement University Of Palestine.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
Entity Framework Code First End to End
Chapters 17 & 18 Physical Database Design Methodology.
Best Practices for Data Warehousing. 2 Agenda – Best Practices for DW-BI Best Practices in Data Modeling Best Practices in ETL Best Practices in Reporting.
Context Tailoring the DBMS –To support particular applications Beyond alphanumerical data Beyond retrieve + process –To support particular hardware New.
Compiling Mappings to Bridge Applications and Databases Melnik, Adya and Research.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
CODD’s 12 RULES OF RELATIONAL DATABASE
Entity Framework Overview. Entity Framework A set of technologies in ADO.NET that support the development of data-oriented software applications A component.
DANIEL J. ABADI, ADAM MARCUS, SAMUEL R. MADDEN, AND KATE HOLLENBACH THE VLDB JOURNAL. SW-Store: a vertically partitioned DBMS for Semantic Web data.
Guava: Capturing the Intrinsic Organization of Knowledge in User Interfaces James Terwilliger and Lois Delcambre Computer Science Department Portland State.
Map-Reduce-Merge: Simplified Relational Data Processing on Large Clusters Hung-chih Yang(Yahoo!), Ali Dasdan(Yahoo!), Ruey-Lung Hsiao(UCLA), D. Stott Parker(UCLA)
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS CHAPTER 3
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Entity Framework Code First – Beyond the Basics Sergey Barskiy, Magenic Microsoft MVP – Data Platform Principal Consultant.
Oct * Brad Tutterow. VS 2008.NET 3.5LINQ Entity Framework  The ADO.NET Entity Framework is part of Microsoft’s next generation of.NET technologies.
Wrapper-Based Evolution of Legacy Information System Philippe Thiran et al Fcculties University Notre-Dame de la Paix.
Introduction to Database System. 1. Define Database, Database Management System and Database System. Explain the components of DBMS with its advantages.
Entity Framework Code First – Beyond the Basics Sergey Barskiy, Magenic Microsoft MVP – Data Platform Magenic, Principal Consultant Level: Introductory.
Chapter 3: Relational Databases
ADO.NET 3.0 – Entity Data Model Gert E.R. Drapers Chief Software Architect Visual Studio Team Edition for Database Professionals Microsoft Corporation.
FEN Introduction to the database field: The development process Seminar: Introduction to relational databases Development process: Analyse.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
Building Enterprise Applications Using Visual Studio®
Entity Framework By: Casey Griffin.
Translation of ER-diagram into Relational Schema
ADO.NET Entity Framework Marcus Tillett
ADO.NET Entity Framework
Chapter 9 Designing Databases
SQL Data Modification Statements.
Populating a Data Warehouse
ARCH-1: Application Architecture made Simple
Populating a Data Warehouse
Data Model.
Developing and testing enterprise Java applications
SSIS Data Integration Data Warehouse Acceleration
SSIS Data Integration Data Warehouse Acceleration
SSIS Data Integration Data Warehouse Acceleration
Presentation transcript:

James F. Terwilliger  Microsoft Research, Post-Doctoral Researcher  Database Group, with Phil Bernstein  Portland State University  Ph.D., as soon as I deposit my dissertation  Lois Delcambre, Dave Maier, Len Shapiro, Andrew Black

Entity Framework  Key Microsoft technology  Released as part of.Net framework 3.5 SP1  Many Microsoft properties migrating to use it  Key Research technology  Originated with database research group  SIGMOD and ER papers

Entity Framework Select/Project queries Issue queries and updates in programming language against conceptual model Bi-directional mapping Entity T(a,b,c,d) = Table S(e,f,g,h)

Entity Framework Query Views Update Views Merge Views Resulting views are expressive enough to handle joins, unions, inheritance schemes (TPT, TPC, TPH, others)

Where is EF going in research?  Alternative data models  XML (VLDB 2008 demo)  Extended expressive power  Beyond SP mapping fragments, but with equal simplicity  Both open, ongoing

6 Table P_1588: Data Dictionary: P_1588: Patients from WebRn Application, entered through form “Endoscopy Patient” Domain(Detail/Smkh_1670) = {0, 1, 2, 3, 4, X} 0: Non-Smoker1: Light smoker, 1-4 cigs/day 2: Moderate smoker, 5-8 cigs/day3: Heavy smoker, 9-12 cigs/day 4: Chimney, 13+ cigs/dayX: Data not available 1 DetailP_1588_ID … … … 578a-b440-cdf2-8e21Smkh_1670 Attr …

Application-Specific Query Interface 7

Dissertation Work RDBMS Business Software: Database-backed User interface for domain experts User Interface Business logic, data access, and transformation UI is an updatable view, and RDBMS likely has vastly different schema Query Interface

Unpivot Example: Update IDAttResult 1SYS122 1WKG80 1SMK1 2SYS115 2DIA81 2SMK4 ……… IDSYSDIAWKGSMK …………… 9 Frequent pattern Not covered by ORM systems Not covered by updatable views Not covered by mapping systems Result: lots of hard-coding But: Known invertible, updatable

Channel 10 T1 T2 T3 T4 T5 HMerge VPartition Unpivot Apply Unpivot HMerge Bi-Directional Extract-Transform-Load, workflow Built from components known to be updatable Queries, inserts, updates, deletes, schema evolution Conceptual schema generated from UI, or can be an arbitrary relational schema

Unpivot Example: Update IDAttResult 1SYS122 1WKG80 1SMK1 2SYS115 2DIA81 2SMK4 ……… IDSYSDIAWKGSMK …………… 11

Unpivot Example: Update IDAttResult 1SYS122 1WKG80 1SMK1 2SYS115 2DIA75 2SMK4 ……… IDSYSDIAWKGSMK …………… 12 Updated field becomes an update in the output

Unpivot Example: Update IDAttResult 1SYS122 1WKG80 1SMK1 2SYS115 2DIA75 2SMK4 ……… IDSYSDIAWKGSMK …………… 13 Thank you for not smoking Update statement turns into a delete statement! (If update is from a null value, need an insert)

Why? Fully-realized data independence 14 Physical Schema Conceptual Schema Queries (QI generated from UI) Insert, Update, Delete (UI) Schema Modifications (Design) Horizontal or Vertical Merging/Partitioning Pivoting or unpivoting Encoding or translation of values Business logic decisions “Fast” “Expressive” Physical Design, Business Logic Information preservation Yes we can! Referential Integrity

Agenda and Ideas  Present my dissertation research (variable length)  Re-live my dissertation defense  Short EDM demo (variable length, informal)  Discuss recent work in Entity Framework research (free talk, or whiteboard discussion, ~10 minutes)  Gather co-conspirators coordinators for a database conference tutorial (discussion about topics, outline, participants)