K.Subieta. SBA and SBQL, appendix, slide 1 Sept. 2006 Appendix: how the ENVS and QRES stacks work (example) Presentation prepared for OMG Object Database.

Slides:



Advertisements
Similar presentations
Research conducted by the Chair of Information Systems PJIIT Leader: Prof. Kazimierz Subieta Staff: 11 research and didactic workers (1 Prof, 4 PhD, 6.
Advertisements

Implementing Reflective Access Control in SQL Lars E. Olson 1, Carl A. Gunter 1, William R. Cook 2, and Marianne Winslett 1 1 University of Illinois at.
6.830/6.814 Lecture 5 Database Internals Continued September 17, 2014.
Ch 10, Functional Dependencies and Normal forms
K.Subieta. SBA and SBQL, appendix, slide 1 Sept Appendix: how the ENVS and QRES stacks work (M0 example) Presentation prepared for OMG Object Database.
K.Subieta. SBA and SBQL, slide 1 Sept SBA (Stack-Based Approach) and SBQL (Stack-Based Query Language) Presentation prepared for OMG Object Database.
Using one level of Cache:
IB HL2 BUSINESS & MANAGEMENT COURSE OVERVIEW Academic Year.
Query Optimization Example Source: Query Optimization, Y. E. Ioannidis, ACM Computing Surveys, 28(1), March Database Tables: Emp (name, age, sal,
Jyh-haw Yeh Dept. of Computer Science Boise State University
Prefetching for Visual Data Exploration Punit R. Doshi, Elke A. Rundensteiner, Matthew O. Ward Computer Science Department Worcester Polytechnic Institute.
By Mr. Abdalla A. Shaame.  Computer Science is basically concerned with the study of computers.  A student will learn about hardware and operating systems.
SERVER Betül ŞAHİN What is this? Betül ŞAHİN
K.Subieta. PJIIT 2 OMG, slide 1 Dec Presentation by: Prof. Kazimierz Subieta Polish-Japanese Institute of Information Technology, Warsaw, PolandPolish-Japanese.
K.Subieta. Object-Oriented Query Languages and Views, slide 1 Sept Tutorial: Object-Oriented Query Languages and Views Part 1: Basic concepts and.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Lecture 6: Introduction to Database Management Systems Lecturer: Prof. Kazimierz Subieta.
K.Subieta. Introduction to SBA and SBQL, Slide 1 3rd Country Conference, Feb.2007 SBA (Stack-Based Approach) and SBQL (Stack-Based Query Language) by Prof.
Database Architecture Introduction to Databases. The Nature of Data Un-structured Semi-structured Structured.
K.Subieta. SBA and SBQL, slide 1 June 2007 Stack-Based Approach and Stack-Based Query Language - Overview Presentation prepared for the OMG Analysis &
K.Subieta. SBA and SBQL, slide 1 Sept SBA (Stack-Based Approach) and SBQL (Stack-Based Query Language) Presentation prepared for OMG Object Database.
K.Subieta. Advanced Notions of SBQL, Slide 1 3rd Country Conference, Feb.2007 Advanced Notions of SBQL (procedures, views, types, etc.) by Prof. Kazimierz.
SOFSEM-SRF 2006, January 21-26, Merin, Czech Republic R. Adamus,K. Kuliberda, J. Wislicki, K. Subieta Wrapping Relational Data Structures to Object-Oriented.
3rd Country Training, K.Subieta: System Engineering and Databases. Lecture 3, Slide 1 February 20, 2004 Lecture 3: Introduction to Software Analysis and.
3rd Country Training, K.Subieta: System Engineering and Databases. Lecture 2, Slide 1 February 18, 2004 Lecture 2: Introduction to Software Analysis and.
1 ICS 184: Introduction to Data Management Lecture Note 10 SQL as a Query Language (Cont.)
Database Normalization Lynne Weldon July 17, 2000.
Copyright © 2004 Pearson Education, Inc.. Chapter 15 Algorithms for Query Processing and Optimization.
K.Stencel. SBQL Views, slide 1 March 2008 SBQL Object Views. Unlimited Mapping and Updatability Presentation prepared for 1 st International Conference.
Dept [0..*] dname: string location: string [1..*] Emp [0..*] name: string age: integer sal: integer [0..1] worksIn [1..1] employs [1..*] i 50 Dept i 51.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
K.Subieta. ODB Semantics: SBA, slide 1 December 2007 Object Database Semantics: the Stack-Based Architecture Presentation prepared for Object Database.
Databases Traditional Data Management vs Database Management System.
November 2001, Slide 1 P.Habela, K.Subieta: Standard Metamodel for Object Databases (1) Standard Metamodel for Object Databases (1): Introduction Piotr.
XOberon Operating System CLAUDIA MARIN CS 550 Fall 2005.
Silberschatz, Galvin and Gagne Operating System Concepts Chapter 9: Virtual Memory.
Computer Organization and Architecture Tutorial 1 Kenneth Lee.
K.Subieta. Updating Issues in SBQL, slide 1 June 2007 Updating Issues in SBQL Presentation prepared for OMG Object Database Technology Working Group OMG.
Fine Grained Authorization Through Predicated Grants Surajit Chaudhuri, Tanmoy Dutta, S. Sudarshan (ICDE 2007) Presented By: Ahmad Abusalah
11.1Database System Concepts. 11.2Database System Concepts Now Something Different 1st part of the course: Application Oriented 2nd part of the course:
Operating Systems (CS 340 D) Princess Nora University Faculty of Computer & Information Systems Computer science Department.
Normalizing Your Database CPT 242. Normalization The procedure where the developer analyzes the data and establishes the table structure to create the.
CF Performance Tuning Matt Liotta President & CEO Montara Software, Inc.
Virtualization and Databases Ashraf Aboulnaga University of Waterloo.
Lecture Topics: 11/24 Sharing Pages Demand Paging (and alternative) Page Replacement –optimal algorithm –implementable algorithms.
 This is a unit lesson block to address high school Juniors and Seniors studying the Bill of Rights.  The Focus for this unit is Problem Based Learning.
K.Subieta. SBA & SBQL, slide 1 March 2008 Stack-Based Architecture and Stack-Based Query Language Presentation prepared for 1 st International Conference.
1 Theory, Practice & Methodology of Relational Database Design and Programming Copyright © Ellis Cohen Relational State Assertions These slides.
1 Theory, Practice & Methodology of Relational Database Design and Programming Copyright © Ellis Cohen Collection Operators These slides are.
IMS 4212: Database Implementation 1 Dr. Lawrence West, Management Dept., University of Central Florida Physical Database Implementation—Topics.
1 Theory, Practice & Methodology of Relational Database Design and Programming Copyright © Ellis Cohen Collection Operators These slides are.
Fan Qi Database Lab 1, com1 #01-08 CS3223 Tutorial 8.
Approximation by Constraints Why do we need approximation/interpolation? –Record values at some finite set of points in space and time. –Does not capture.
November 2001, Slide 1 P.Habela, K.Subieta: Standard Metamodel for Object Databases (2) Standard Metamodel for Object Databases (2): Proposed Improvements.
BTEC L3 Extended Unit 1 – Communication and Employability Skills for IT.
Report Format 1st part Title fly Title page Letter of Transmittal
CHAPTER 22 Public Relations Project
Database System Implementation CSE 507
The 4th International Seville Conference on Future-Oriented Technology Analysis (FTA) 12 & 13 May 2011 APPLICATION OF FORESIGHT METHODS FOR THE DETERMINATION.
Generalization.
Access Path Selection in a Relational Database Management System
PROF. HUGO PACHECO ENGLISH DEPARTMENT level 11
MBUG 2016 Session Title: Phishing: They Are After You!
Synchronization Memory Management
Query Processing CSD305 Advanced Databases.
Action Plan presentation
Chapter 9: Database Systems
4 Years Milestone plan – (Company Name)
How the ENVS and QRES stacks work (example)
PROF. HUGO PACHECO ENGLISH DEPARTMENT 3rd GRADE
Sustainable Environments (RiSE)
Presentation transcript:

K.Subieta. SBA and SBQL, appendix, slide 1 Sept Appendix: how the ENVS and QRES stacks work (example) Presentation prepared for OMG Object Database Technology Working Group OMG TECHNICAL MEETING, Anaheim, CA USA September 25-29, 2006 by Prof. Kazimierz Subieta Polish-Japanese Institute of Information Technology, Warsaw, Poland SBA/SBQL pages:

K.Subieta. SBA and SBQL, appendix, slide 2 Sept Query addressing a tiny database Query: For each department get its reference and the average sal of its employees. SBQL: Dept join avg(employs.Emp.sal) Tiny database: Expected result: bag{ struct{i 17, 2500}, struct{i 22, 1450} }

K.Subieta. SBA and SBQL, appendix, slide 3 Sept Execution scenario Dept join avg( ( employs. Emp ). sal ) join1 st dot2 nd dot avg 1 st Dept 2 nd Dept 1 st employs 2 nd employs 1 st Emp 2 nd Emp 3 rd Emp3 rd employs

K.Subieta. SBA and SBQL, appendix, slide 4 Sept Sample query Dept join avg( ( employs. Emp ). sal ) Emp(i 1 ) Emp(i 5 ) Emp(i 9 ) Dept(i 17 ) Dept(i 22 ) ENVSQRES empty Start

K.Subieta. SBA and SBQL, appendix, slide 5 Sept In closing … Please note that this evaluation scenario concerns the formal semantics only, executed by an abstract machine. –Our goal is clear, universal and free of ambiguities semantic specification rather than performance. In real implementation there are many obvious optimizations. –C.f. our implementations in various projects. The evaluation process is also the subject of many sophisticated optimizations (rewriting, indices, caching,…). The entire process is executed in main memory, hence the computations are not critical. –Critical computations concern the access to external storage and network, and avoiding unnecessary (redundant) computations. –This is just the subject of major SBA optimization methods.