H ECATAEUS A Framework for Representing SQL Constructs as Graphs George Papastefanatos 1, Kostis Kyzirakos 1, Panos Vassiliadis 2, Yannis Vassiliou 1 1.

Slides:



Advertisements
Similar presentations
A Visual Programming Environment Based on Graph Grammars and Tidy Graph Drawing Y. Adachi, Y. Miyadera, K. Sugita K. Tsuchida and T. Yaku.
Advertisements

Key-word Driven Automation Framework Shiva Kumar Soumya Dalvi May 25, 2007.
G. Papastefanatos 1, P. Vassiliadis 2, A. Simitsis 3, T. Sellis 1,4, Y. Vassiliou 1 (1) National Technical University of Athens, Athens, Hellas (Greece)
Building Enterprise Applications Using Visual Studio ®.NET Enterprise Architect.
SSP Re-hosting System Development: CLBM Overview and Module Recognition SSP Team Department of ECE Stevens Institute of Technology Presented by Hongbing.
Oct 31, 2000Database Management -- Fall R. Larson Database Management: Introduction to Terms and Concepts University of California, Berkeley School.
Management of the Evolution of Database-Centric Information Systems Panos Vassiliadis 2, George Papastefanatos 1, Timos Sellis 1, Yannis Vassiliou 1 1.
George Papastefanatos 1, Fotini Anagnostou 1 Panos Vassiliadis 2, Yannis Vassiliou 1 (1) National Technical University of Athens
© Anselm SpoerriInfo + Web Tech Course Information Technologies Info + Web Tech Course Anselm Spoerri PhD (MIT) Rutgers University
Summary. Chapter 9 – Triggers Integrity constraints Enforcing IC with different techniques –Keys –Foreign keys –Attribute-based constraints –Schema-based.
George Papastefanatos 1, Panos Vassiliadis 2, Alkis Simitsis 3,Yannis Vassiliou 1 (1) National Technical University of Athens
Database Management Systems ISYS 464 David Chao. Introduction to Databases The most important component in an information system Created to support all.
Mapping Techniques and Visualization of Statistical Indicators Haitham Zeidan Palestinian Central Bureau of Statistics IAOS 2014 Conference.
G. Papastefanatos 1, P. Vassiliadis 2, A. Simitsis 3, Y. Vassiliou 1 (1) National Technical University of Athens, Athens, Hellas (Greece)
Sangam: A Transformation Modeling Framework Kajal T. Claypool (U Mass Lowell) and Elke A. Rundensteiner (WPI)
G. Papastefanatos 1, P. Vassiliadis 2, A. Simitsis 3, K. Aggistalis 2, F. Pechlivani 2, Yannis Vassiliou 1 (1) National Technical University of Athens.
CSE 590DB: Database Seminar Autumn 2002: Meta Data Management Phil Bernstein Microsoft Research.
Chapter One Overview of Database Objectives: -Introduction -DBMS architecture -Definitions -Data models -DB lifecycle.
1 Overview of Database Federation and IBM Garlic Project Presented by Xiaofen He.
OMAP: An Implemented Framework for Automatically Aligning OWL Ontologies SWAP, December, 2005 Raphaël Troncy, Umberto Straccia ISTI-CNR
The Center for Advanced Research In Software Engineering (ARISE) The University of Texas at Austin Reengineering of Large-Scale Polylingual Systems Mark.
CSC2012 Database Technology & CSC2513 Database Systems.
Web Application Development. Define ER model in QSEE Generate SQL Create Database mySQL Write Script to use TableEditor class Process to create A simple.
Chapter 2 CIS Sungchul Hong
CSC271 Database Systems Lecture # 4.
Section 11 : Normalisation
Introduction to Accounting Information Systems
Database System Concepts and Architecture
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Change Impact Analysis for AspectJ Programs Sai Zhang, Zhongxian Gu, Yu Lin and Jianjun Zhao Shanghai Jiao Tong University.
E-R Modeler: A Database Modeling Toolkit for Eclipse Hui Wu wuh -at- cis.uab.edu Academic Advisor : Dr. Jeff Gray gray -at-
Test Driven Development in the.Net Framework Sam Lee Mayur Mehta Jaymeen Shah McCoy College of Business Administration Texas State University-San Marcos.
Validated Model Transformation Tihamér Levendovszky Budapest University of Technology and Economics Department of Automation and Applied Informatics Applied.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
Vision The ultimate IDE/CASE tool should supports all steps in the software development process. Current tools perform only minimal semantic-level analysis.
Minor Thesis A scalable schema matching framework for relational databases Student: Ahmed Saimon Adam ID: Award: MSc (Computer & Information.
Knowledge Modeling, use of information sources in the study of domains and inter-domain relationships - A Learning Paradigm by Sanjeev Thacker.
Dimitrios Skoutas Alkis Simitsis
Ch. 1 데이터베이스시스템 (2). Ch.1 Database System 데이터베이스시스템 2 What to Learn Database System Overview Entity-Relationship diagram Relational Data Model  Structure.
Value Set Resolution: Build generalizable data normalization pipeline using LexEVS infrastructure resources Explore UIMA framework for implementing semantic.
Problem Statement: Users can get too busy at work or at home to check the current weather condition for sever weather. Many of the free weather software.
Nikitas N. Karanikolas, Maria Nitsiou, Emmanuel J. Yannakoudakis and Christos Skourlas CUDL Language Semantics, Liven Up the FDB Data Model.
--Presented by Tianyi Zhang Building Community Wikipedias: A Machine-Human Partnership Approach.
Chapter 1 Introduction to Databases © Pearson Education Limited 1995, 2005.
CS499 Project #3 XML mySQL Test Generation Members Erica Wade Kevin Hardison Sameer Patwa Yi Lu.
Computer Systems & Architecture Lesson 4 8. Reconstructing Software Architectures.
DATABASE MANAGEMENT SYSTEM ARCHITECTURE
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
Database Systems Lecture 1. In this Lecture Course Information Databases and Database Systems Some History The Relational Model.
The InfoVis Toolkit Jean-Daniel Fekete INRIA Futurs/LRI, France
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Understanding Data Intensive Systems Using Dynamic Analysis and Visualization Nesrine NOUGHI.
1 Advanced Software Architecture Muhammad Bilal Bashir PhD Scholar (Computer Science) Mohammad Ali Jinnah University.
Object storage and object interoperability
Chapter 2 Database Environment.
Chapter 3: Relational Databases
11-1 © Prentice Hall, 2004 Chapter 11: Physical Database Design Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
1 Database Design Chapter-2- Database System Concepts and Architecture Reference: Prof. Mona Mursi Lecture notes.
TCCICOMPUTERCOACH ING.COM.  TCCI-Tririd Computer Coaching Institute provides best teaching in basic computer programming language at tcci-ahmedabad.
Building Enterprise Applications Using Visual Studio®
A Model for Data Warehouse Operational Processes
Datab ase Systems Week 1 by Zohaib Jan.
Chapter 12 Information Systems.
Associative Query Answering via Query Feature Similarity
Database Environment Transparencies
Data Model.
Chapter 2 Database Environment Pearson Education © 2009.
Presentation transcript:

H ECATAEUS A Framework for Representing SQL Constructs as Graphs George Papastefanatos 1, Kostis Kyzirakos 1, Panos Vassiliadis 2, Yannis Vassiliou 1 1 National Technical University of Athens-KDBMS Laboratory 2 University of Ioannina

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Outline  Background & Motivation  A Graph-based Model for SQL Constructs  Implementation of the Framework  Case study: Modeling TPC-C benchmark  Conclusions and Future Work

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Outline  Background & Motivation  A Graph-based Model for SQL Constructs  Implementation of the Framework  Case study: Modeling TPC-C benchmark  Conclusions and Future Work

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Contribution  A graph modeling framework that uniformly covers relational tables, views, database constraints and SQL queries  An implementation of the framework, named H ECATAEUS.

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Why bother modeling SQL queries as graphs?  Visualization and analysis of both the structure and the workload of the system  Forecasting of the impact of changes  Evaluation of the quality of the database design  Framework stakeholders Database Administrators Database Designers / Developers

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Motivation Queries  Evolution Which part(s) of the system is (are) affected if we delete an attribute and how?  Performance Which part(s) of the system has (have) the most workload?  Database Analysis and Quality Evaluation Which tables are correlated the most ? Is design A better than design B and why?

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Background  Traditional database modeling techniques, like ER diagrams, focus on conceptual level modeling.  Visual Query Languages – Visualization techniques Graph-based Icon-Based Diagram-Based

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Outline  Background & Motivation  A Graph-based Model for SQL Constructs  Implementation of the Framework  Case study: Modeling TPC-C benchmark  Conclusions and Future Work

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Graph Model  A graph modeling technique that uniformly covers relational tables, views, database constraints and SQL queries  Directed Labeled Graph Relations Conditions Queries/Views

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Graph Model (continued)  The proposed modeling technique represents all the aforementioned database parts as a directed labeled graph with specific types of nodes and edges for each database part and relationship.  Graphs are employed as a modeling technique because they can address the large size and complexity that characterize a database schema.

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Representing Relations Relation: EMP(Empid, Name, Salary)

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Representing Conditions  Primary Key on EMPID  Query condition SELECT EMPID, NAME FROM EMP WHERE AGE>30 AND SALARY>5000;

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, SELECT EMP.EMPID,Sum(WORKS.Hours) as T_Hours FROM EMP, WORKS WHERE EMP.EMPID = WORKS.EMPID GROUP BY EMP.EMPID; Representing Queries

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, SELECT EMP.EMPID,Sum(WORKS.Hours) as T_Hours Representing Queries - SELECT Subgraph

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, FROM EMP,WORKS Representing Queries – FROM Subgraph

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, WHERE EMP.EMPID = WORKS.EMPID Representing Queries - WHERE Subgraph

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, GROUP BY EMP.EMPID Representing Queries - GROUPBY Subgraph

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Outline  Background & Motivation  A Graph-based Model for SQL Constructs  Implementation of the Framework  Case study: Modeling TPC-C benchmark  Conclusions and Future Work

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, H ECATAEUS  Input Database schemas(DDL Files) Queries (SQL scripts)  Representation in the proposed graph model Dynamic Graph – Holds all the semantics for the types of nodes and edges

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, H ECATAEUS Functionality  Different views of the graph(zoom in zoom out)  Subgraph Isolation/Highlighting  Manipulation of the graph components(e.g. add edge/ remove node)  Output graph to various formats (PostScript, SVG)  Definition and application of graph algorithms and metrics

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Architecture  Parser  Graph Manager  Metrics Manager  Catalog

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Development Platform  MS Visual Studio.NET Platform Parser and Catalog: SharpHSQL, an open-source database in C#. Graph Manager and Metrics Manager: LEDA C++ libraries for.NET technology

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Outline  Background & Motivation  A Graph-based Model for SQL Constructs  Implementation of the Framework  Case study: Modeling TPC-C benchmark  Conclusions and Future Work

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Demo – Modeling TPC-C Benchmark

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Outline  Background & Motivation  A Graph-based Model for SQL Constructs  Implementation of the Framework  Case study: Modeling TPC-C benchmark  Conclusions and Future Work

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Conclusions  Contributions A graph modeling framework that uniformly covers relational tables, views, database constraints and SQL queries An implementation of the framework, named H ECATAEUS.  Potential Benefits Visualization of both the structure and the workload of the system Evaluation of quality of Database Design Forecasting of the impact of changes

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Future Work - Research in Progress  Definition of Metrics and Algorithms for Evolution  Definition of Metrics for Design Quality Application of graph-theoretic metrics and algorithms  Reverse functionality. Automatic DDL and SQL code creation from graphs  Integration of Hecataeus with a Repository

G.Papastefanatos, K.Kyzirakos, P.Vassiliadis, Y. Vassiliou. A Framework for Representing SQL Constructs as Graphs EMMSAD’05, Porto, Thank you!  Many thanks to our hosts! (Muitos agradecimentos a nossos anfitriões!)  Any questions?