CS240A: Databases and Knowledge Bases Introduction Carlo Zaniolo Department of Computer Science University of California, Los Angeles WINTER 2002.

Slides:



Advertisements
Similar presentations
Limitations of the relational model 1. 2 Overview application areas for which the relational model is inadequate - reasons drawbacks of relational DBMSs.
Advertisements

CS240A: Databases and Knowledge Bases From Deductive Rules to Active Rules Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Database Systems Research: Where it is (or should be) Headed? (aka looking for a “perfect” candidate) Laks V.S. Lakshmanan Dept. of Computer Science Univ.
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 28 Database Systems I The Relational Data Model.
CS240A: Databases and Knowledge Bases Fixpoint Semantics of Datalog Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
CS240A: Databases and Knowledge Bases A Taxonomy of Temporal DBs Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Advanced Topics COMP163: Database Management Systems University of the Pacific December 9, 2008.
Chapter 1: Data Models and DBMS Architecture Title: What Goes Around Comes Around Authors: M. Stonebraker, J. Hellerstein Pages: 2-40.
Summary. Chapter 9 – Triggers Integrity constraints Enforcing IC with different techniques –Keys –Foreign keys –Attribute-based constraints –Schema-based.
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction n Why Database Systems? n Data Models n Data Definition Language.
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
Universe Design Concepts Business Intelligence Copyright © SUPINFO. All rights reserved.
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
Carnegie Mellon Carnegie Mellon Univ. Dept. of Computer Science Database Applications C. Faloutsos OO and OR DBMSs.
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction.
CS240A: Databases and Knowledge Bases Introduction Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
24. April 1998 Dutch Cadastre 1 Efficient Storage And Retrieval for Large Spatial Data Set in a Relational DBMS Andrew U. Frank Dept. of Geoinformat ion.
Retrievals & Projections Objectives of the Lecture : To consider retrieval actions from a DB; To consider using relational algebra for defining relations;
Limitations of the relational model. Just as the relational model supplanted the network and hierarchical model so too will the object – orientated model.
1 CS 430 Database Theory Winter 2005 Lecture 1: Introduction.
Knowledge representation
CS609 Introduction. Databases Current state? Future?
Introduction to Database Systems
Introduction to Database Systems Fundamental Concepts Irvanizam Zamanhuri, M.Sc Computer Science Study Program Syiah Kuala University Website:
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 2: Intro to Relational.
E.Bertino, L.Matino Object-Oriented Database Systems 1 Chapter.1 Introduction Seoul National University Department. of Computer Engineering OOPSLA Lab.
10/16/2015 1Yan Huang - Introduction Chapter 1: Introduction What is a DBMS? What is a DBMS? A little history of DB A little history of DB Major Components.
1 CS 430 Database Theory Winter 2005 Lecture 17: Objects, XML, and DBMSs.
Chapter 8 Relational Calculus. Copyright © 2004 Pearson Addison-Wesley. All rights reserved.8-2 Topics in this Chapter Tuple Calculus Calculus vs. Algebra.
Ihr Logo Fundamentals of Database Systems Fourth Edition El Masri & Navathe Chapter 2 Database System Concepts and Architecture.
CS240A Notes on DB Extenders a.k.a. Data Blades, Cartridge, Snapins Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Chapter 1 Introduction Yonsei University 1 st Semester, 2015 Sanghyun Park.
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall Knowledge Representation Semantic Web - Fall 2005 Computer.
CS240A: Databases and Knowledge Bases Recursive Queries in SQL 1999 Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Artificial Intelligence: Introduction Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
EXAM 1 NEXT TUESDAY…. EXAMPLE QUESTIONS 1.Why is the notion of a “state” important in relational database technology? What does it refer to? 2.What do.
Semantically Processing The Semantic Web Presented by: Kunal Patel Dr. Gopal Gupta UNIVERSITY OF TEXAS AT DALLAS.
1 CS457 Object-Oriented Databases Chapters as reference.
1Mr.Mohammed Abu Roqyah. Database System Concepts and Architecture 2Mr.Mohammed Abu Roqyah.
Group A Next Generation Information Access Group.
資工所 在職碩一 P 莊浚銘 Temporal Database Paper Reading Report.
Chapter 1 Introduction Yonsei University 1 st Semester, 2014 Sanghyun Park.
ICOM 6005 – Database Management Systems Design Dr. Manuel Rodríguez Martínez Electrical and Computer Engineering Department Lecture 5 – September 4 th,
CS240A: Databases and Knowledge Bases Temporal Databases Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
SE305 Database System Technology 25/09/2014 Quiz-1.
CS240A: Databases and Knowledge Bases Recursive Queries in SQL 2003 Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Carnegie Mellon Carnegie Mellon Univ. Dept. of Computer Science Database Applications C. Faloutsos Relational tuple calculus.
Copyright © 2004 Pearson Education, Inc.. Chapter 24 Enhanced Data Models for Advanced Applications.
COMP30311: Advanced Database Systems Norman Paton University of Manchester
Chapter 1: Introduction. 1.2 Database Management System (DBMS) DBMS contains information about a particular enterprise Collection of interrelated data.
Chapter 13: Query Processing
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Of 24 lecture 11: ontology – mediation, merging & aligning.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
CS240A: Databases and Knowledge Bases Introduction Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Roles in the Database Environment
CS240A: Databases and Knowledge Bases Introduction
7/4/2018.
7/5/2018.
OWL-S: Experiences and Directions, 6th of June, Austria, 2007
Topics Covered in COSC 6340 Data models (ER, Relational, XML)
Relational Calculus and QBE
Highlights of Object-Database Systems
Relational Calculus and QBE
Object-Oriented Databases
Chapter 1 Introduction to Database Processing
Query Optimization.
Some Programming Paradigms
CS240A: Databases and Knowledge Bases A Taxonomy of Temporal DBs
Presentation transcript:

CS240A: Databases and Knowledge Bases Introduction Carlo Zaniolo Department of Computer Science University of California, Los Angeles WINTER 2002

Database Systems  Relational database systems were proposed [by E.F. Cod] in the 70s  In the 80s relational DBMSs and SQL start replacing the previous generation database systems, such as  IMS and other hierarchical DBMSs  Codasyl-compliant DBMSs using the network model  Extraordinary success—due to many factors, including:  a shift from the procedural and algorithmic aspects of computing to the representation of informational aspects---a shift that has been fully realized by the web.  But starting in the mid 80s, DBMSs have faced major technical and commercial challenges, forcing a major evolution in these systems---this is the topic of CS240A!

Challenges and Changes  Expert Systems and rule-based computing and knowledge management:  Deductive Databases and recursive queries  Active databases and rules,  New Applications and data types (e.g., spatio- temporal and multimedia information)  Object Oriented databases  Datablades and extenders  Decision Support and Knowledge Discovery  OLAP applications  Datamining  The WEB and XML  Publishing databases using XML  XQuery: the new query language for XML data.

Evolution of SQL Standards  SQL­89 and SQL2 (a.k.a. SQL­92): Strictly relational.  SQL­3: working documents discussing new specs for  O­R systems, but also for  recursion,  active rules,  OLAP.  SQL:1999, actual specs released. But evolution continues:  User-defined indexes,  user-defined aggregates,  XML, etc. In this course we investigate how SQL and relational systems are being extended to face the new applications. We will often study languages other than SQL as a framework for research.

The main Problem of SQL: Inadequate Expressive Power  For instance, SQL cannot support complex queries and recursion needed in several applications, such as Bill­of­ Materials applications.  Thus database applications are now developed in procedural languages with embedded SQL statements  An impedance mismatch between SQL the host language (different data types programming paradigm) slows down application development and their execution.  Two approaches to solve the problem:  Making query language more powerful: deductive databases  Extending programming languages with DB capabilities—this is approach taken by O-O DBMSs

Relational Completeness All relational languages suffer from the same expressive- power problems 1. Relational Algebra, 2. Domain Relational Calculus, 3. Tuple Relational Calculus, and 4. Non­recursive safe Datalog rules. These languages are equivalent in terms of the expressive power, and programs (I.e. queries) written in one language are easily mapped into programs written in another.  The notion of Relational Completeness (RC) defines the class of queries expressible using relational algebra or, equivalently, using safe relational calculus queries.  RC was proposed in the 70s as a minimum required for all databasequery languages (not met by most of query languages at that time)  RC is no longer sufficient.

Datalog  SQL’s Close Relations 1. QBE (Query by Example): two­dimensional rendering of domain calculus 2. QUEL and SQL: in­line, keyword­based versions of tuple relational calculus---with extensions such as updates and aggregates. 3. Datalog: rule­oriented, logic­based refinement of domain calculus.  Datalog is the best candidate for more powerful query languages because  Its formal framework based on first order logic,  It supports the rule­based programming paradigm, that is the key of expert systems and knowledge­based systems  Similarity with Prolog.

Continuation of Chapter 8  Continue Continue