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

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 Management Systems, R. Ramakrishnan and J. Gehrke1 The Relational Model Chapter 3.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 28 Database Systems I The Relational Data Model.
CS240A: Databases and Knowledge Bases Introduction Carlo Zaniolo Department of Computer Science University of California, Los Angeles WINTER 2002.
MS DB Proposal Scott Canaan B. Thomas Golisano College of Computing & Information Sciences.
Fundamentals, Design, and Implementation, 9/e SI654 Database Application Design Instructor: Dragomir R. Radev Winter 2005.
Benchmarking XML storage systems Information Systems Lab HS 2007 Final Presentation © ETH Zürich | Benchmarking XML.
Advanced Topics COMP163: Database Management Systems University of the Pacific December 9, 2008.
Using Relational Databases and SQL Steven Emory Department of Computer Science California State University, Los Angeles Lecture 1: Introduction to Relational.
Relational Model Credited to: Juliana Freire. Why Use the Relational Database Model? Extremely useful and simple – Single data-modeling concept: relations.
Chapter 1: Data Models and DBMS Architecture Title: What Goes Around Comes Around Authors: M. Stonebraker, J. Hellerstein Pages: 2-40.
The Relational Model Lecture 3 Book Chapter 3 Relational Data Model Relational Query Language (DDL + DML) Integrity Constraints (IC) From ER to Relational.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 2- 1.
1 9 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 9 Database Management Approaches.
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
7/2/2015 1Yan Huang - CSCE Introduction Who is In Charge? Dr. Yan Huang Dr. Yan Huang NTDP F251,TTh 1:00-2:00pm NTDP F251,TTh 1:00-2:00pm Or by appointment.
The University of Akron Dept of Business Technology Computer Information Systems Database Management Approaches 2440: 180 Database Concepts Instructor:
Dr. Mohamed Osman Hegazi
Fundamentals, Design, and Implementation, 9/e Chapter 1 Introduction to Database Processing.
CSCD34 - Data Management Systems,- A. Vaisman1 CSC D34 - Data Management Systems Instructor: Alejandro Vaisman University of Toronto.
Database Systems Dr. Don Goelman. Some History Early Systems 1960’s: ad-hoc programs give way to DBMSs (IDS – C.W. Bachman) 1970’s: two big developments.
Concepts of Database Management, Fifth Edition
SUFFOLK COUNTY COMMUNITY COLLEGE Mathematics and Computer Information Department Spring 2012 CST Database Applications and Concepts Section 151/CRN.
Databases Illuminated
Limitations of the relational model. Just as the relational model supplanted the network and hierarchical model so too will the object – orientated model.
The Worlds of Database Systems Chapter 1. Database Management Systems (DBMS) DBMS: Powerful tool for creating and managing large amounts of data efficiently.
1 CS 430 Database Theory Winter 2005 Lecture 1: Introduction.
CS609 Introduction. Databases Current state? Future?
CS461: Principles and Internals of Database Systems Instructor: Ying Cai Department of Computer Science Iowa State University Office:
Introduction to Database Systems Fundamental Concepts Irvanizam Zamanhuri, M.Sc Computer Science Study Program Syiah Kuala University Website:
History of Implementation Data Models. Databases were: Early Business Computer Systems –Accounting functions - payroll, profit/loss statements Files of.
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.
Dr. Mohamed Osman Hegazi 1 Database Systems Concepts Database Systems Concepts Course Outlines: Introduction to Databases and DBMS. Database System Concepts.
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.
Lecture 8 Database Theory & Practice (2) : The Relational Data Model UFCEKG-20-2 Data, Schemas & Applications.
MSc IT UFIE8K-15-M Data Management Prakash Chatterjee Room 3P16
CS240A Notes on DB Extenders a.k.a. Data Blades, Cartridge, Snapins Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
CS240A: Databases and Knowledge Bases Recursive Queries in SQL 1999 Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
History of Implementation Data Models. Databases were: Early Business Computer Systems –Accounting functions - payroll, profit/loss statements Files of.
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,
Modeling MongoDB with Relational Model Proposed by Christopher Polanco.
+ A brief history of data and databases Spanning thousands and thousands of years Unattributed pictures from University of Rochester History SiteUniversity.
CS240A: Databases and Knowledge Bases Temporal Databases Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Jemerson Pedernal IT 2.1 FUNDAMENTALS OF DATABASE APPLICATIONS by PEDERNAL, JEMERSON G. [BS-Computer Science] Palawan State University Computer Network.
2/16/2016Lecture 31 CS 222 Database Management System Spring Lecture 3 b Korra Sathya Babu Department of Computer Science NIT Rourkela.
CS240A: Databases and Knowledge Bases Recursive Queries in SQL 2003 Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Database Systems Dr. Don Goelman. Some History Early Systems 1960’s: ad-hoc programs give way to DBMSs (IDS – C.W. Bachman) 1970’s: two big developments.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
CS240A: Databases and Knowledge Bases Introduction Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
CS240A: Databases and Knowledge Bases Introduction
7/4/2018.
7/5/2018.
قاعدة البيانات Database
Tools for Memory: Database Management Systems
قاعدة البيانات Database
Topics Covered in COSC 6340 Data models (ER, Relational, XML (short))
Topics Covered in COSC 6340 Data models (ER, Relational, XML)
Highlights of Object-Database Systems
CS122B: Projects in Databases and Web Applications Winter 2019
Object-Oriented Databases
Chapter 1 Introduction to Database Processing
Query Optimization.
Presentation transcript:

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

Database Systems  During late 60s  IMS and other hierarchical DBMSs  Codasyl-compliant DBMSs using the network model  Relational DBMS were proposed [by E.F. Codd] in the 70s  10+years of R&D led to Relational DBMSs and SQL  Extraordinary success from a research and a commercial view point (IBM, Oracle, …)  Relational DBMS were covered in CS143  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!

DBMS Vendors  IBM. SystemR, DB2  Oracle  MS SQL Server  Smaller Players:  Sybase, Informix, Teradata/NCR

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  Data Mining  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, and with minor changes SQL:2003.  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 OO DBMSs and OR DBMSs

Expressive Power: 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 database query languages (not met by most of query languages at that time)  But nowadays RC is not enough!

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  Similar to Prolog which is more procedural.  Big Data have brought a renewed interest in Datalog.

The Bigger Picture  Assemblers, Operating Systems (Early 60s …)  Languages and Compilers (Late 60s …)  Information Management Systems and Data Base Management Systems (DBMS) (70s …  GUIs (80s …)  Networks (60s) and  the WEB (90s) and beyond  Year 2000 and beyond big data analytics  2010 and so… Datalog’s renaissance.