CS240A: Databases and Knowledge Bases Introduction

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

Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 1/1 Copyright © 2004 Please……. No Food Or Drink in the class.
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.
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.
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:
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.
Course: Introduction to Computers
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.
CS240A: Databases and Knowledge Bases Introduction Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
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.
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:
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.
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.
History of Implementation Data Models. Databases were: Early Business Computer Systems –Accounting functions - payroll, profit/loss statements Files of.
CS240A: Databases and Knowledge Bases Temporal Databases Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
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.
CS240A: Databases and Knowledge Bases Introduction Carlo Zaniolo Department of Computer Science University of California, Los Angeles.
Accessing the Database Server: ODBC, OLE DB, and ADO
CS320 Web and Internet Programming SQL and MySQL
COP4710 Database Systems Project Overview.
An Introduction to database system
CS422 Principles of Database Systems Course Overview
Chapter 1: Introduction
7/4/2018.
7/5/2018.
قاعدة البيانات Database
Tools for Memory: Database Management Systems
COSC 6340 Projects & Homeworks Spring 2002
Database Basics An Overview.
قاعدة البيانات Database
A brief history of data and databases
Topics Covered in COSC 6340 Data models (ER, Relational, XML (short))
Introduction to DataBase
1.1 The Evolution of Database Systems
The Relational Model Relational Data Model
Topics Covered in COSC 6340 Data models (ER, Relational, XML)
The Relational Model The slides for this text are organized into chapters. This lecture covers Chapter 3. Chapter 1: Introduction to Database Systems Chapter.
Relational Calculus and QBE
Chapter 1: Introduction
Highlights of Object-Database Systems
CS122B: Projects in Databases and Web Applications Winter 2019
Database Architecture
CS122B: Projects in Databases and Web Applications Spring 2018
Lecture 16 : The Relational Data Model
Relational Calculus and QBE
CS3220 Web and Internet Programming SQL and MySQL
Object-Oriented Databases
CS4433 Database Systems Project.
Chapter 1 Introduction to Database Processing
Query Optimization.
Lecture 16 : The Relational Data Model
CS3220 Web and Internet Programming SQL and MySQL
Database & Information Systems
Introduction to Database Systems CSE 444
Lecture 1: Overview of CSCI 485 Notes: I presented parts of this lecture as a keynote at Educator’s Symposium of OOPSLA Shahram Ghandeharizadeh Director.
COSC 3480 Projects & Homeworks Fall 2003
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

Changes and Challenges and 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 The WEB and XML Publishing databases using XML XQuery: the new query language for XML data. Decision Support, Knowledge Discovery, Big Data, Machine Learning, …, Data Science OLAP applications Data Mining

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, OLAPs and OLAP functions. 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.

Workplan and Grade Basis ---Grade Basis for CS240A Midterm : 40% Homework and Assignements: 10% Final Projects and Reports 50% (XML 15%, DM 35%) Take home final Consists of two projects: The first project will be about supporting temporal queries in XML and JSON. The second project will ask you to write decision support queries in SQL and DeALS.