01_intro

18
CPS 216: Data-intensive Computing Systems Shivnath Babu

description

01_intro

Transcript of 01_intro

CPS 216: Data-intensive Computing Systems Shivnath Babu A Brief History Relational database management systems Time 1975- 1985 1985- 1995 1995- 2005 2005- 2010 2020 Let us first see what a relational database system is Data Management Data QueryQuery Query User/Application DataBase Management System (DBMS) Example: At a Company IDNameDeptIDSalary 10Nemo12120K 20Dory15679K 40Gill8976K 52Ray3485K IDName 12IT 34Accounts 89HR 156Marketing EmployeeDepartment Query 1: Is there an employee named Nemo? Query 2: What is Nemos salary? Query 3: How many departments are there in the company? Query 4: What is the name of Nemos department? Query 5: How many employees are there in theAccounts department? DataBase Management System (DBMS) High-level Query Q DBMS Data Answer Translates Q into best execution plan for current conditions, runs plan Example: Store that Sells Cars MakeModelOwnerID HondaAccord12 ToyotaCamry34 MiniCooper89 HondaAccord156 IDNameAge 12Nemo22 34Ray42 89Gill36 156Dory21 Cars Owners Filter (Make = Honda and Model = Accord) Join (Cars.OwnerID = Owners.ID) MakeModelOwnerIDIDNameAge HondaAccord1212Nemo22 HondaAccord156156Dory21 Owners of Honda Accords who are