MIT Database Management Systems Lesson 01: Introduction

Size: px
Start display at page:

Download "MIT Database Management Systems Lesson 01: Introduction"

Transcription

1 MIT Database Management Systems Lesson 01: Introduction By S. Sabraz Nawaz Senior Lecturer in MIT, FMC, SEUSL

2 Learning Outcomes At the end of the module the student will be able to: Describe the fundamental concepts in databases and data processing Analyze and systematically represent relationships in data records and perform data modeling Create, populate and manage relational databases in desktop and server environments Use query languages to populate, update and retrieve data from databases Implement basic security in database systems Outline Syllabus An introduction to data processing and databases Database management systems Data analysis and Data modeling (ER diagrams and conceptual modeling) Relational models and normalizations Creating databases using GUI tools Query Languages (Standard Query language) Introduction to database security 2

3 Outline Syllabus 1. Introduction to DBMS. 2. Database model& Scheme 3. Data Base Design ER model 4. Structure Query Language 5. Table normalization 6. Security concepts & introducing advanced database concepts 3

4 Introduction A database management system (DBMS) is a software package designed to create and maintain databases (examples?) 4

5 Introducing the Database What is a database? A database is a collection of related data (University Database, Credit Card Processing Systems, Airline Reservation Systems, Banking System, etc.) A database is a shared, integrated computer structure that stores a collection of: End-user data, that is, raw facts of interest to the end user. Efficient data management typically requires the use of a computer database. Metadata, or data about data, through which the end-user data are integrated and managed. 5

6 Database Management System (DBMS) A is a collection of programs that manages the database structure and controls access to the data stored in the database. In a sense, a database resembles a very well-organized electronic filing cabinet in which powerful software, known as a database management system, helps manage the cabinet s contents. 6

7 DBMS: Role and Advantages The DBMS serves as the intermediary between the user and the database. The database structure itself is stored as a collection of files, and the only way to access the data in those files is through the DBMS. 7

8 DBMS: Role 8

9 DBMS: Role The DBMS receives all application requests and translates them into the complex operations required to fulfill those requests. The DBMS hides much of the database s internal complexity from the application programs and users. The application program might be written by a programmer using a programming language such as Visual Basic.NET, Java, or C#, or it might be created through a DBMS utility program. 9

10 DBMS: Advantages Having a DBMS between the end user s applications and the database offers some important advantages. o First, the DBMS enables the data in the database to be shared among multiple applications or users. o Second, the DBMS integrates the many different users views of the data into a single all-encompassing data repository. 10

11 DBMS: Advantages - Improved data sharing The DBMS helps create an environment in which end users have better access to more and better-managed data. Such access makes it possible for end users to respond quickly to changes in their environment Concurrent accesses are scheduled by DBMS: users can think of the data as being accessed by one user at a time 11

12 DBMS: Advantages - Improved data security The more users access the data, the greater the risks of data security breaches. Corporations invest considerable amounts of time, effort, and money to ensure that corporate data are used properly. A DBMS provides a framework for better enforcement of data privacy and security policies. 12

13 DBMS: Advantages - Better data integration Wider access to well-managed data promotes an integrated view of the organization s operations and a clearer view of the big picture. It becomes much easier to see how actions in one segment of the company affect other segments. 13

14 DBMS: Advantages - Minimized data inconsistency Data inconsistency exists when different versions of the same data appear in different places. The probability of data inconsistency is greatly reduced in a properly designed database. 14

15 DBMS: Advantages - Improved data access The DBMS makes it possible to produce quick answers to ad hoc queries. From a database perspective, a query is a specific request issued to the DBMS for data manipulation for example, to read or update the data. Simply put, a query is a question, and an ad hoc query is an unpremeditated question. The DBMS sends back an answer (called the query result set) to the application. Example? 15

16 DBMS: Advantages - Improved decision making Better-managed data and improved data access make it possible to generate better-quality information, on which better decisions are based. The quality of the information generated depends on the quality of the underlying data. Data quality is a comprehensive approach to promoting the accuracy, validity, and timeliness of the data. While the DBMS does not guarantee data quality, it provides a framework to facilitate data quality initiatives. 16

17 DBMS: Advantages - Increased end-user productivity The availability of data, combined with the tools that transform data into usable information, empowers end users to make quick, informed decisions that can make the difference between success and failure in the global economy. 17

18 DBMS: Advantages- Reduced Application Development Time DBMS supports many functions common to applications that access the database These applications are likely to be more robust than applications developed from scratch because many important tasks are handled by DBMS instead of being implemented by the application Note: The advantages of using a DBMS are not limited to the few just listed. In fact, you will discover many more advantages as you learn more about the technical details of databases and their proper design. 18

19 Types of Databases A DBMS can support many different types of databases. Databases can be classified according to the number of users, the database location(s), and the expected type and extent of use. 19

20 Types of Databases: Number of Users A single-user database supports only one user at a time. In other words, if user A is using the database, users B and C must wait until user A is done. A single-user database that runs on a personal computer is called a desktop database. A multiuser database supports multiple users at the same time. When the multiuser database supports a relatively small number of users (usually fewer than 50) or a specific department within an organization, it is called a workgroup database. When the database is used by the entire organization and supports many users (more than 50, usually hundreds) across many departments, the database is known as an enterprise database. 20

21 Types of Databases: Location A database that supports data located at a single site is called a centralized database. A database that supports data distributed across several different sites is called a distributed database. 21

22 Types of Databases: Time and Usage Based on how DBMS are used and on the time sensitivity of the information gathered from them: o Operational Database (Transactional or production database) o Data warehouse 22

23 Types of Databases: Time and Usage Operational Database Transactions such as product or service sales, payments, and supply purchases reflect critical day-to-day operations. Such transactions must be recorded accurately and immediately A database that is designed primarily to support a company s day-to-day operations is classified as an operational database (sometimes referred to as a transactional or production database). 23

24 Types of Databases: Time and Usage data warehouse A data warehouse focuses primarily on storing data used to generate information required to make tactical or strategic decisions. Such decisions typically require extensive data massaging (data manipulation) to extract information to formulate pricing decisions, sales forecasts, market positioning, and so on. Most decision support data are based on data obtained from operational databases over time and stored in data warehouses. Additionally, the data warehouse can store data derived from many sources. To make it easier to retrieve such data, the data warehouse structure is quite different from that of an operational or transactional database. 24

25 Example of a database: University DB University database maintaining information concerning: o Students o Courses, and o Grades o 25

26 An example of a database that stores students and their grades of followed courses STUDENT Name StudentNumber Class Major Smith 17 1 CS Brown 8 2 CS COURSE CourseName CourseNumber CreditHouse Department Intro to Computer Science CS CS Data Structures CS CS Discrete Mathematics MATH MATH Database CS CS SECTION Sectionaldentifier CourseNumber Semester Year Instructor 85 MATH 2410 Fall 98 King 92 CS 1310 Fall 98 Anderson 102 CS 3320 Spring 99 Knuth 112 MATH 2410 Fall 99 Chang 119 CS 1310 Fall 99 Anderson 135 CS 3380 Fall 99 Stone GRADE_REPORT StudentNumber Sectionaldentifier Grade B C 8 85 A 8 92 A B A 26

27 Example: University DB (cont ) It shows the database structure and a few sample data. It is organized as five files. o The STUDENT file data on each student, o The COURSE file data on each course, o The SECTION file data on each section of a course, o The GRADE_REPORT file data on grades that students receive in the various sections they have completed, and o The PREREQUISITE file data on prerequisite of each course. 27

28 Need for a DBMS Traditional File System provided by the Operating System is insufficient to meet the requirements of enterprise applications Scenario: A company has a large collection (500 GB) of data on database. This data is accessed concurrently by several employees. Questions about the data must be answered quickly, changes made to the data by different users must be applied consistently, and access to certain parts of the data must be restricted. 28

29 When NOT to use a DBMS High initial investment (DBMS is an expensive software package) Applications use small amounts of data Lack of resources (disk space, memory, etc.) to support a database Single-user applications Overhead for flexible querying, security, concurrent access & crash recovery is not required 29

30 Describing & Storing Data in a DBMS A data model is a collection of high-level data description constructs used to model the application domain Data model hides the low-level storage details Most commercial database systems are based on the relational data model It is easier to use a semantic data model to model an application domain. A well-known semantic data model is the Entity Relationship (ER) Model 30

31 Describing & Storing Data in a DBMS (cont. ) In relational data model, the main construct is a relation. A relation has fields that belong to it which contain the name & data type of each field A description of data in terms of a data model is called the schema. o Every relation has a schema, which describes the name of the relation, name of each attribute (field or column), and the type of each column. o e.g. Students(sid: string, name: string, login: string, age: integer, gpa: real) 31

32 An example instance of the Students relation SID Name Login Age GPA SaNa Kumar Sanath

33 Describing & Storing Data in a DBMS (cont..) In addition to relational data model o Hierarchical model o Network model o Object oriented model o Object relational model 33

34 Levels of Abstraction in a DBMS To illustrate the meaning of data abstraction, consider the example of automotive design. A car designer begins by drawing the concept of the car that is to be produced. Next, engineers design the details that help transfer the basic concept into a structure that can be produced. Finally, the engineering drawings are translated into production specifications to be used on the factory floor. As you can see, the process of producing the car begins at a high level of abstraction and proceeds to an ever-increasing level of detail. The factory floor process cannot proceed unless the engineering details are properly specified, and the engineering details cannot exist without the basic conceptual framework created by the designer. 34

35 Levels of Abstraction in a DBMS 35

36 Levels of Abstraction in a DBMS DBMS is described at four levels of abstraction: o External Model o Conceptual Model o Internal Model o Physical Model 36

37 Levels of Abstraction in a DBMS: External Model The external model is the end users view of the data environment. The term end users refers to people who use the application programs to manipulate the data and generate information. End users usually operate in an environment in which an application has a specific business unit focus. Companies are generally divided into several business units, such as sales, finance, and marketing. Each business unit is subject to specific constraints and requirements, and each one uses a data subset of the overall data in the organization. Therefore, end users working within those business units view their data subsets as separate from or external to other units within the organization. A specific representation of an external view is known as an external schema. Because data are being modeled, ER diagrams will be used to represent the external views. 37

38 Levels of Abstraction in a DBMS: Conceptual Model The conceptual model represents a global view of the entire database as viewed by the entire organization. That is, the conceptual model integrates all external views (entities, relationships, constraints, and processes) into a single global view of the data in the enterprise. Also known as a conceptual schema, it is the basis for the identification and high-level description of the main data objects (avoiding any database model specific details). The most widely used conceptual model is the ER model. Generally, the term logical design is used to refer to the task of creating a conceptual data model that could be implemented in any DBMS. 38

39 Levels of Abstraction in a DBMS: Internal Model Once a specific DBMS has been selected, the internal model maps the conceptual model to the DBMS. The internal model is the representation of the database as seen by the DBMS. In other words, the internal model requires the designer to match the conceptual model s characteristics and constraints to those of the selected implementation model. An internal schema depicts a specific representation of an internal model, using the database constructs supported by the chosen database. Because the internal model depends on specific database software, it is said to be software-dependent. Therefore, a change in the DBMS software requires that the internal model be changed to fit the characteristics and requirements of the implementation database model. 39

40 Levels of Abstraction in a DBMS: Physical Model The physical model describes the way data are saved on storage media such as disks or tapes. The physical model requires the definition of both the physical storage devices and the (physical) access methods required to reach the data within those storage devices, making it both software- and hardware- dependent. The storage structures used are dependent on the software (the DBMS and the operating system) and on the type of storage devices that the computer can handle. o o o o Describes storage details Summarizes how the relations described in the conceptual schema are actually stored on secondary storage devices such as disks and tapes Decide what file organizations used to store the relations Create indexes to speed up data retrieval operations 40

41 How does a DBMS do all this? DBMS is a complex software package and the major components of a DBMS are shown 41

42 Queries In A DBMS With reference to a fictitious university database 1. What is the name of the student with student ID SEU/IS/98/MG/16? 2. What is the average salary of lecturers who teach the course with course ID MIT22033? 3. How many students are enrolled in course MIT22033? 4. Is there any student with a GPA less than 3.0 enrolled in course CS564? These questions involving the data stored in a DBMS are called queries 42

43 Queries In A DBMS A DBMS provides a specialized language, called the query language in which queries can be posed Relational calculus is a formal query language based on mathematical logic Relational algebra is another formal query language, based on a collection of operators for manipulating relations, which is equivalent in power to the calculus 43

44 Reference: Ramakrishnan, R., & Gehrke, J. (2003). Database management systems. Osborne/McGraw-Hill. (Pp ) 44

Database Management Systems MIT Lesson 01 - Introduction By S. Sabraz Nawaz

Database Management Systems MIT Lesson 01 - Introduction By S. Sabraz Nawaz Database Management Systems MIT 22033 Lesson 01 - Introduction By S. Sabraz Nawaz Introduction A database management system (DBMS) is a software package designed to create and maintain databases (examples?)

More information

Database Management Systems MIT Introduction By S. Sabraz Nawaz

Database Management Systems MIT Introduction By S. Sabraz Nawaz Database Management Systems MIT 22033 Introduction By S. Sabraz Nawaz Recommended Reading Database Management Systems 3 rd Edition, Ramakrishnan, Gehrke Murach s SQL Server 2008 for Developers Any book

More information

Database System Concepts and Architecture

Database System Concepts and Architecture Database System Concepts and Architecture Different Database Models: The relational database model is the most widespread and used of all the database models. In relational databases, data is stored in

More information

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems DATABASE MANAGEMENT SYSTEMS UNIT I Introduction to Database Systems Terminology Data = known facts that can be recorded Database (DB) = logically coherent collection of related data with some inherent

More information

Strategic Information Systems Systems Development Life Cycle. From Turban et al. (2004), Information Technology for Management.

Strategic Information Systems Systems Development Life Cycle. From Turban et al. (2004), Information Technology for Management. Strategic Information Systems Systems Development Life Cycle Strategic Information System Any information system that changes the goals, processes, products, or environmental relationships to help an organization

More information

MIT Database Management Systems Lesson 03: Entity Relationship Diagrams

MIT Database Management Systems Lesson 03: Entity Relationship Diagrams MIT 22033 Database Management Systems Lesson 03: Entity Relationship Diagrams By S. Sabraz Nawaz Senior Lecturer in MIT, FMC, SEUSL & A.J.M.Hasmy FMC, SEUSL ER - Model The entity-relationship (ER) data

More information

Introduction to Data Management. Lecture #1 (The Course Trailer )

Introduction to Data Management. Lecture #1 (The Course Trailer ) Introduction to Data Management Lecture #1 (The Course Trailer ) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Today s Topics v Welcome to

More information

Database Management System. Fundamental Database Concepts

Database Management System. Fundamental Database Concepts Database Management System Fundamental Database Concepts CONTENTS Basics of DBMS Purpose of DBMS Applications of DBMS Views of Data Instances and Schema Data Models Database Languages Responsibility of

More information

BBM371- Data Management. Lecture 1: Course policies, Introduction to DBMS

BBM371- Data Management. Lecture 1: Course policies, Introduction to DBMS BBM371- Data Management Lecture 1: Course policies, Introduction to DBMS 26.09.2017 Today Introduction About the class Organization of this course Introduction to Database Management Systems (DBMS) About

More information

Database Management Systems. Chapter 1

Database Management Systems. Chapter 1 Database Management Systems Chapter 1 Overview of Database Systems Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 What Is a DBMS? A database is a collection of data. Models real-world

More information

Database Management System (15ECSC208) UNIT I: Chapter 1: Introduction to DBMS and ER-Model

Database Management System (15ECSC208) UNIT I: Chapter 1: Introduction to DBMS and ER-Model Database Management System (15ECSC208) UNIT I: Chapter 1: Introduction to DBMS and ER-Model Introduction to Databases Introduction Database: collection of related data. Data: know facts that can be recorded

More information

Database Systems ( 資料庫系統 ) Practicum in Database Systems ( 資料庫系統實驗 ) 9/20 & 9/21, 2006 Lecture #1

Database Systems ( 資料庫系統 ) Practicum in Database Systems ( 資料庫系統實驗 ) 9/20 & 9/21, 2006 Lecture #1 Database Systems ( 資料庫系統 ) Practicum in Database Systems ( 資料庫系統實驗 ) 9/20 & 9/21, 2006 Lecture #1 1 Course Goals First course in database systems. Main Course (3 units) - Learn Use a relational database

More information

CAS CS 460/660 Introduction to Database Systems. Fall

CAS CS 460/660 Introduction to Database Systems. Fall CAS CS 460/660 Introduction to Database Systems Fall 2017 1.1 About the course Administrivia Instructor: George Kollios, gkollios@cs.bu.edu MCS 283, Mon 2:30-4:00 PM and Tue 1:00-2:30 PM Teaching Fellows:

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Outline The Need for Databases Data Models Relational Databases Database Design Storage Manager Query

More information

Course Logistics & Chapter 1 Introduction

Course Logistics & Chapter 1 Introduction CMSC 461, Database Management Systems Spring 2018 Course Logistics & Chapter 1 Introduction These slides are based on Database System Concepts book th edition, and the 2009 CMSC 461 slides by Dr. Kalpakis

More information

Outline. Quick Introduction to Database Systems. Data Manipulation Tasks. What do they all have in common? CSE142 Wi03 G-1

Outline. Quick Introduction to Database Systems. Data Manipulation Tasks. What do they all have in common? CSE142 Wi03 G-1 Outline Quick Introduction to Database Systems Why do we need a different kind of system? What is a database system? Separating the what the how: The relational data model Querying the databases: SQL May

More information

CS275 Intro to Databases. File Systems vs. DBMS. Why is a DBMS so important? 4/6/2012. How does a DBMS work? -Chap. 1-2

CS275 Intro to Databases. File Systems vs. DBMS. Why is a DBMS so important? 4/6/2012. How does a DBMS work? -Chap. 1-2 CS275 Intro to Databases How does a DBMS work? -Chap. 1-2 File Systems vs. DBMS We have to write special programs for queries We have to protect data from inconsistencies We have to handle crashes We have

More information

Lecture 2 08/26/15. CMPSC431W: Database Management Systems. Instructor: Yu- San Lin

Lecture 2 08/26/15. CMPSC431W: Database Management Systems. Instructor: Yu- San Lin CMPSC431W: Database Management Systems Lecture 2 08/26/15 Instructor: Yu- San Lin yusan@psu.edu Course Website: hcp://www.cse.psu.edu/~yul189/cmpsc431w Slides based on McGraw- Hill & Dr. Wang- Chien Lee

More information

CSE 3241: Database Systems I Databases Introduction (Ch. 1-2) Jeremy Morris

CSE 3241: Database Systems I Databases Introduction (Ch. 1-2) Jeremy Morris CSE 3241: Database Systems I Databases Introduction (Ch. 1-2) Jeremy Morris 1 Outline What is a database? The database approach Advantages Disadvantages Database users Database concepts and System architecture

More information

Introduction to Data Management. Lecture #1 (Course Trailer )

Introduction to Data Management. Lecture #1 (Course Trailer ) Introduction to Data Management Lecture #1 (Course Trailer ) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Today s Topics v Welcome to one

More information

Introduction to Data Management. Lecture #1 (Course Trailer )

Introduction to Data Management. Lecture #1 (Course Trailer ) Introduction to Data Management Lecture #1 (Course Trailer ) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Today s Topics! Welcome to my biggest

More information

Databases and Database Management Systems

Databases and Database Management Systems Databases and Database Management Systems 1 DBMS concepts and architecture ER model Relational Databases Relational Algebra Query Languages (SQL) Storage and Indexing (optional) Database Design : Normalization

More information

ITP 140 Mobile Technologies. Databases Client/Server

ITP 140 Mobile Technologies. Databases Client/Server ITP 140 Mobile Technologies Databases Client/Server Databases Data: recorded facts and figures Information: knowledge derived from data Databases record data, but they do so in such a way that we can produce

More information

CS425 Fall 2016 Boris Glavic Chapter 1: Introduction

CS425 Fall 2016 Boris Glavic Chapter 1: Introduction CS425 Fall 2016 Boris Glavic Chapter 1: Introduction Modified from: Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Textbook: Chapter 1 1.2 Database Management System (DBMS)

More information

Introduction and Overview

Introduction and Overview Introduction and Overview Instructor: Leonard McMillan Comp 521 Files and Databases Fall 2016 1 Course Administrivia Optional Book Cow book Somewhat Dense Cover about 80% Instructor Leonard McMillan Teaching

More information

Outline. Database Management Systems (DBMS) Database Management and Organization. IT420: Database Management and Organization

Outline. Database Management Systems (DBMS) Database Management and Organization. IT420: Database Management and Organization Outline IT420: Database Management and Organization Dr. Crăiniceanu Capt. Balazs www.cs.usna.edu/~adina/teaching/it420/spring2007 Class Survey Why Databases (DB)? A Problem DB Benefits In This Class? Admin

More information

1/19/2012. Finish Chapter 1. Workers behind the Scene. CS 440: Database Management Systems

1/19/2012. Finish Chapter 1. Workers behind the Scene. CS 440: Database Management Systems CS 440: Database Management Systems Finish Chapter 1 Workers behind the Scene Approach A Brief History of Database Applications When Not to Use a DBMS Workers behind the Scene DBMS system designers and

More information

Data Management Lecture Outline 2 Part 2. Instructor: Trevor Nadeau

Data Management Lecture Outline 2 Part 2. Instructor: Trevor Nadeau Data Management Lecture Outline 2 Part 2 Instructor: Trevor Nadeau Data Entities, Attributes, and Items Entity: Things we store information about. (i.e. persons, places, objects, events, etc.) Have relationships

More information

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 1 Database Systems

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 1 Database Systems Database Systems: Design, Implementation, and Management Tenth Edition Chapter 1 Database Systems Objectives In this chapter, you will learn: The difference between data and information What a database

More information

LECTURE1: PRINCIPLES OF DATABASES

LECTURE1: PRINCIPLES OF DATABASES LECTURE1: PRINCIPLES OF DATABASES Ref. Chapter1 Information Systems Department Chapter1 - Objectives 2 Problems with file-based approach. Database concepts. Database Management System (DBMS). Major components

More information

9/8/2018. Prerequisites. Grading. People & Contact Information. Textbooks. Course Info. CS430/630 Database Management Systems Fall 2018

9/8/2018. Prerequisites. Grading. People & Contact Information. Textbooks. Course Info. CS430/630 Database Management Systems Fall 2018 CS430/630 Database Management Systems Fall 2018 People & Contact Information Instructor: Prof. Betty O Neil Email: eoneil AT cs DOT umb DOT edu (preferred contact) Web: http://www.cs.umb.edu/~eoneil Office:

More information

Chapter 1 Chapter-1

Chapter 1 Chapter-1 Chapter 1 Chapter-1 Data: Data are the raw facts that can be obtained after some experiments or observations. Raw data is of no use until and unless we process it to find some useful information form it.

More information

Fundamentals of Database Systems (INSY2061)

Fundamentals of Database Systems (INSY2061) Fundamentals of Database Systems (INSY2061) 1 What the course is about? These days, organizations are considering data as one important resource like finance, human resource and time. The management of

More information

Introduction and Overview

Introduction and Overview Introduction and Overview (Read Cow book Chapter 1) Instructor: Leonard McMillan mcmillan@cs.unc.edu Comp 521 Files and Databases Spring 2010 1 Course Administrivia Book Cow book New (to our Dept) More

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer DBMS

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer DBMS About the Tutorial Database Management System or DBMS in short refers to the technology of storing and retrieving users data with utmost efficiency along with appropriate security measures. DBMS allows

More information

COMP Instructor: Dimitris Papadias WWW page:

COMP Instructor: Dimitris Papadias WWW page: COMP 5311 Instructor: Dimitris Papadias WWW page: http://www.cse.ust.hk/~dimitris/5311/5311.html Textbook Database System Concepts, A. Silberschatz, H. Korth, and S. Sudarshan. Reference Database Management

More information

IMPORTANT INFORMATION:

IMPORTANT INFORMATION: ICT3621/202/2/2017 Tutorial Letter 202/2/2017 Database Design ICT3621 Semester 2 School of Computing IMPORTANT INFORMATION: This tutorial letter contains important information about your module. CONTENTS

More information

Chapter 1. Types of Databases and Database Applications. Basic Definitions. Introduction to Databases

Chapter 1. Types of Databases and Database Applications. Basic Definitions. Introduction to Databases Chapter 1 Introduction to Databases Types of Databases and Database Applications Numeric and Textual Databases Multimedia Databases Geographic Information Systems (GIS) Data Warehouses Real-time and Active

More information

IT1105 Information Systems and Technology. BIT 1 ST YEAR SEMESTER 1 University of Colombo School of Computing. Student Manual

IT1105 Information Systems and Technology. BIT 1 ST YEAR SEMESTER 1 University of Colombo School of Computing. Student Manual IT1105 Information Systems and Technology BIT 1 ST YEAR SEMESTER 1 University of Colombo School of Computing Student Manual Lesson 3: Organizing Data and Information (6 Hrs) Instructional Objectives Students

More information

Chapter 1 File System and Database

Chapter 1 File System and Database Database Principles: Fundamentals of Design, Implementation, and Management Tenth Edition Chapter 1 File System and Database MDM NUR RAZIA BINTI MOHD SURADI 019-3932846 razia@unisel.edu.my 1 Introduction

More information

Introduction to Data Management. Lecture #1 (Course Trailer ) Instructor: Chen Li

Introduction to Data Management. Lecture #1 (Course Trailer ) Instructor: Chen Li Introduction to Data Management Lecture #1 (Course Trailer ) Instructor: Chen Li 1 Today s Topics v Welcome to one of my biggest classes ever! v Read (and live by) the course wiki page: http://www.ics.uci.edu/~cs122a/

More information

SE352b: Roadmap. SE352b Software Engineering Design Tools. W5: Database Technology. Database Technology

SE352b: Roadmap. SE352b Software Engineering Design Tools. W5: Database Technology. Database Technology SE352b Software Engineering Design Tools W5: Technology Fri, Feb 17, 2006 SE352b, ECE,UWO, Hamada Ghenniwa 1 SE352b: Roadmap CASE Tools: Introduction System Programming Tools Programming Paradigms Technology

More information

D.Hemavathi & R.Venkatalakshmi, Assistant Professor, SRM University, Kattankulathur

D.Hemavathi & R.Venkatalakshmi, Assistant Professor, SRM University, Kattankulathur DATABASE SYSTEMS IT 0303 5 TH Semester D.Hemavathi & R.Venkatalakshmi, Assistant Professor, SRM University, Kattankulathur School of Computing, Department of IT Unit 1: introduction 1 Disclaimer The contents

More information

CS102B: Introduction to Information Systems. Minerva A. Lagarde

CS102B: Introduction to Information Systems. Minerva A. Lagarde CS102B: Introduction to Information Systems Minerva A. Lagarde Module 1: Fundamental Database Concepts Introduction Objectives In this module, the student will learn: 1) Difference between data and information;

More information

KNGX NOTES INFS1603 [INFS1603] KEVIN NGUYEN

KNGX NOTES INFS1603 [INFS1603] KEVIN NGUYEN 1 [] KEVIN NGUYEN 1 2 TABLE OF CONTENTS Table of Contents...... 2 1. Database Systems........ 3 2. Data Models..... 9 3. The Relational Database Model.......... 18 4. Entity Relationship (ER) Model....

More information

CT13 DATABASE MANAGEMENT SYSTEMS DEC 2015

CT13 DATABASE MANAGEMENT SYSTEMS DEC 2015 Q.1 a. Explain the role of concurrency control software in DBMS with an example. Answer: Concurrency control software in DBMS ensures that several users trying to update the same data do so in a controlled

More information

Database Applications (15-415)

Database Applications (15-415) Database Applications (15-415) The Entity Relationship Model Lecture 2, January 12, 2016 Mohammad Hammoud Today Last Session: Course overview and a brief introduction on databases and database systems

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 1-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 1-1 Slide 1-1 Chapter 1 Introduction: Databases and Database Users Outline Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality Example of a Database (UNIVERSITY) Main

More information

Database Technology Introduction. Heiko Paulheim

Database Technology Introduction. Heiko Paulheim Database Technology Introduction Outline The Need for Databases Data Models Relational Databases Database Design Storage Manager Query Processing Transaction Manager Introduction to the Relational Model

More information

Chapter 1: Introduction

Chapter 1: Introduction This image cannot currently be displayed. Chapter 1: Introduction Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 1: Introduction Purpose of Database Systems View

More information

CMPUT 291 File and Database Management Systems

CMPUT 291 File and Database Management Systems CMPUT 291 File and Database Management Systems Instructor: Davood Rafiei University of Alberta *Disclaimer: The slides used in the course may contain some of the slides provided by the authors of the adopted

More information

Question Bank. 4) It is the source of information later delivered to data marts.

Question Bank. 4) It is the source of information later delivered to data marts. Question Bank Year: 2016-2017 Subject Dept: CS Semester: First Subject Name: Data Mining. Q1) What is data warehouse? ANS. A data warehouse is a subject-oriented, integrated, time-variant, and nonvolatile

More information

Introduction: Databases and. Database Users

Introduction: Databases and. Database Users Types of Databases and Database Applications Basic Definitions Typical DBMS Functionality Example of a Database (UNIVERSITY) Main Characteristics of the Database Approach Database Users Advantages of Using

More information

Introduction to Database Systems

Introduction to Database Systems Introduction to Database Systems UVic C SC 370 Daniel M German Introduction to Database Systems (1.2.0) CSC 370 4/5/2005 14:51 p.1/27 Overview What is a DBMS? what is a relational DBMS? Why do we need

More information

Modern Database Systems CS-E4610

Modern Database Systems CS-E4610 Modern Database Systems CS-E4610 Aristides Gionis Michael Mathioudakis Spring 2017 what is a database? a collection of data what is a database management system?... a.k.a. database system software to store,

More information

CS430/630 Database Management Systems Spring, Betty O Neil University of Massachusetts at Boston

CS430/630 Database Management Systems Spring, Betty O Neil University of Massachusetts at Boston CS430/630 Database Management Systems Spring, 2019 Betty O Neil University of Massachusetts at Boston People & Contact Information Instructor: Prof. Betty O Neil Email: eoneil AT cs DOT umb DOT edu (preferred

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Slides are slightly modified by F. Dragan Database System Concepts, 5th Ed. See www.db-book.com for conditions on re-use Chapter 1: Introduction Purpose of Database Systems View

More information

Introduction to Data Management. Lecture #4 (E-R Relational Translation)

Introduction to Data Management. Lecture #4 (E-R Relational Translation) Introduction to Data Management Lecture #4 (E-R Relational Translation) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Announcements v Today

More information

Chapter 1. Introduction of Database (from ElMasri&Navathe and my editing)

Chapter 1. Introduction of Database (from ElMasri&Navathe and my editing) Chapter 1 Introduction of Database (from ElMasri&Navathe and my editing) Data Structured Data Strict format data like table data Semi Structured Data Certain structure but not all have identical structure

More information

DBMS (FYCS) Unit - 1. A database management system stores data in such a way that it becomes easier to retrieve, manipulate, and produce information.

DBMS (FYCS) Unit - 1. A database management system stores data in such a way that it becomes easier to retrieve, manipulate, and produce information. Prof- Neeta Bonde DBMS (FYCS) Unit - 1 DBMS: - Database is a collection of related data and data is a collection of facts and figures that can be processed to produce information. Mostly data represents

More information

Quick Facts about the course. CS 2550 / Spring 2006 Principles of Database Systems. Administrative. What is a Database Management System?

Quick Facts about the course. CS 2550 / Spring 2006 Principles of Database Systems. Administrative. What is a Database Management System? Quick Facts about the course CS 2550 / Spring 2006 Principles of Database Systems 01 Introduction Alexandros Labrinidis University of Pittsburgh When: Tue & Thu 2:30pm 3:45pm Where: 5313 SENSQ Instructor:

More information

CSCC43H: Introduction to Databases

CSCC43H: Introduction to Databases CSCC43H: Introduction to Databases Lecture 2 Wael Aboulsaadat Acknowledgment: these slides are partially based on Prof. Garcia-Molina & Prof. Ullman slides accompanying the course s textbook. CSCC43: Introduction

More information

The Relational Data Model. Data Model

The Relational Data Model. Data Model The Relational Data Model Davood Rafiei *Disclaimer: The slides used in the course may contain some of the slides provided by the authors of the adopted textbook (present and past) and those used in previous

More information

data dependence Data dependence Structure dependence

data dependence Data dependence Structure dependence data dependence Structure dependence If the file-system programs are affected by change in the file structure, they exhibit structuraldependence. For example, when we add dateof-birth field to the CUSTOMER

More information

Page 1. Goals for Today" What is a Database " Key Concept: Structured Data" CS162 Operating Systems and Systems Programming Lecture 13.

Page 1. Goals for Today What is a Database  Key Concept: Structured Data CS162 Operating Systems and Systems Programming Lecture 13. Goals for Today" CS162 Operating Systems and Systems Programming Lecture 13 Transactions" What is a database? Transactions Conflict serializability October 12, 2011 Anthony D. Joseph and Ion Stoica http://inst.eecs.berkeley.edu/~cs162

More information

Introduction: Databases and Database Users. Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1

Introduction: Databases and Database Users. Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1 Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Slide 1 Introduction: Databases and Database Users Copyright 2007 Ramez Elmasri and Shamkant B. Navathe Types of Databases and Database Applications

More information

Meaning & Concepts of Databases

Meaning & Concepts of Databases 27 th August 2015 Unit 1 Objective Meaning & Concepts of Databases Learning outcome Students will appreciate conceptual development of Databases Section 1: What is a Database & Applications Section 2:

More information

Chapter 2 Introduction to Relational Models

Chapter 2 Introduction to Relational Models CMSC 461, Database Management Systems Spring 2018 Chapter 2 Introduction to Relational Models These slides are based on Database System Concepts book and slides, 6th edition, and the 2009 CMSC 461 slides

More information

CMPT 354 Database Systems I. Spring 2012 Instructor: Hassan Khosravi

CMPT 354 Database Systems I. Spring 2012 Instructor: Hassan Khosravi CMPT 354 Database Systems I Spring 2012 Instructor: Hassan Khosravi Textbook First Course in Database Systems, 3 rd Edition. Jeffry Ullman and Jennifer Widom Other text books Ramakrishnan SILBERSCHATZ

More information

Introduction to Data Management. Lecture #5 Relational Model (Cont.) & E-Rà Relational Mapping

Introduction to Data Management. Lecture #5 Relational Model (Cont.) & E-Rà Relational Mapping Introduction to Data Management Lecture #5 Relational Model (Cont.) & E-Rà Relational Mapping Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1

More information

Data! CS 133: Databases. Goals for Today. So, what is a database? What is a database anyway? From the textbook:

Data! CS 133: Databases. Goals for Today. So, what is a database? What is a database anyway? From the textbook: CS 133: Databases Fall 2018 Lec 01 09/04 Introduction & Relational Model Data! Need systems to Data is everywhere Banking, airline reservations manage the data Social media, clicking anything on the internet

More information

The Relational Model. Why Study the Relational Model? Relational Database: Definitions

The Relational Model. Why Study the Relational Model? Relational Database: Definitions The Relational Model Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Why Study the Relational Model? Most widely used model. Vendors: IBM, Microsoft, Oracle, Sybase, etc. Legacy systems in

More information

Introduction to Data Management. Lecture #2 Intro II & Data Models I

Introduction to Data Management. Lecture #2 Intro II & Data Models I Introduction to Data Management Lecture #2 Intro II & Data Models I Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Today s Topics v The biggest

More information

CS 564: DATABASE MANAGEMENT SYSTEMS. Spring 2018

CS 564: DATABASE MANAGEMENT SYSTEMS. Spring 2018 CS 564: DATABASE MANAGEMENT SYSTEMS Spring 2018 DATA IS EVERYWHERE! Our world is increasingly data driven scientific discoveries online services (social networks, online retailers) decision making Databases

More information

UNIT I. Introduction

UNIT I. Introduction UNIT I Introduction Objective To know the need for database system. To study about various data models. To understand the architecture of database system. To introduce Relational database system. Introduction

More information

CS275 Intro to Databases

CS275 Intro to Databases CS275 Intro to Databases The Relational Data Model Chap. 3 How Is Data Retrieved and Manipulated? Queries Data manipulation language (DML) Retrieval Add Delete Update An Example UNIVERSITY database Information

More information

QM Chapter 1 Database Fundamentals Version 10 th Ed. Prepared by Dr Kamel Rouibah / Dept QM & IS

QM Chapter 1 Database Fundamentals Version 10 th Ed. Prepared by Dr Kamel Rouibah / Dept QM & IS QM 433 - Chapter 1 Database Fundamentals Version 10 th Ed Prepared by Dr Kamel Rouibah / Dept QM & IS www.cba.edu.kw/krouibah Dr K. Rouibah / dept QM & IS Chapter 1 (433) Database fundamentals 1 Objectives

More information

Database Applications (15-415)

Database Applications (15-415) Database Applications (15-415) The Relational Model Lecture 3, January 18, 2015 Mohammad Hammoud Today Last Session: The entity relationship (ER) model Today s Session: ER model (Cont d): conceptual design

More information

Announcements. PS 3 is out (see the usual place on the course web) Be sure to read my notes carefully Also read. Take a break around 10:15am

Announcements. PS 3 is out (see the usual place on the course web) Be sure to read my notes carefully Also read. Take a break around 10:15am Announcements PS 3 is out (see the usual place on the course web) Be sure to read my notes carefully Also read SQL tutorial: http://www.w3schools.com/sql/default.asp Take a break around 10:15am 1 Databases

More information

Fundamentals of Information Systems, Seventh Edition

Fundamentals of Information Systems, Seventh Edition Chapter 3 Data Centers, and Business Intelligence 1 Why Learn About Database Systems, Data Centers, and Business Intelligence? Database: A database is an organized collection of data. Databases also help

More information

1: Database Systems, Architecture, and Components

1: Database Systems, Architecture, and Components 1: Database Systems, Architecture, and Components ata raw material consisting of unorganized facts, things, activities, and transactions nformation data that has been processed (i.e., organized) into a

More information

Introduction to Database Systems CS432. CS432/433: Introduction to Database Systems. CS432/433: Introduction to Database Systems

Introduction to Database Systems CS432. CS432/433: Introduction to Database Systems. CS432/433: Introduction to Database Systems Introduction to Database Systems CS432 Instructor: Christoph Koch koch@cs.cornell.edu CS 432 Fall 2007 1 CS432/433: Introduction to Database Systems Underlying theme: How do I build a data management system?

More information

Database Principle. Zhuo Wang Spring

Database Principle. Zhuo Wang Spring Database Principle Zhuo Wang zhuowang@sjtu.edu.cn 2017 Spring Overview Data Database Database Management System Database System References Database System Concepts Abraham Silberschatz, Henry F. Korth,

More information

IST 210: Organization of Data

IST 210: Organization of Data IST 210: Organization of Data Todd S. Bacastow Melissa Reid 1/9/2005 Todd S. Bacastow 1 Class Administration Instructor and Assistant Todd S. Bacastow Melissa Reid Course logistics On-line material/text

More information

The Relational Model

The Relational Model The Relational Model UVic C SC 370, Fall 2002 Daniel M. German Department of Computer Science University of Victoria 3 1 The Relational Model CSC 370 dmgerman@uvic.ca Overview How is data represented in

More information

Data about data is database Select correct option: True False Partially True None of the Above

Data about data is database Select correct option: True False Partially True None of the Above Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another

More information

Database Environment. Pearson Education 2009

Database Environment. Pearson Education 2009 Chapter 2 Database Environment 1 Chapter 2 - Objectives Purpose of three-level database architecture. Contents of external, conceptual, and internal levels. Purpose of external/conceptual and conceptual/internal

More information

Overview of the Class and Introduction to DB schemas and queries. Lois Delcambre

Overview of the Class and Introduction to DB schemas and queries. Lois Delcambre Overview of the Class and Introduction to DB schemas and queries Lois Delcambre 1 CS 386/586 Introduction to Databases Instructor: Lois Delcambre lmd@cs.pdx.edu 503 725-2405 TA: TBA Office Hours: Immediately

More information

Introduction to Oracle

Introduction to Oracle Class Note: Chapter 1 Introduction to Oracle (Updated May 10, 2016) [The class note is the typical material I would prepare for my face-to-face class. Since this is an Internet based class, I am sharing

More information

Database Management Systems Chapter 1 Instructor: Oliver Schulte Database Management Systems 3ed, R. Ramakrishnan and J.

Database Management Systems Chapter 1 Instructor: Oliver Schulte Database Management Systems 3ed, R. Ramakrishnan and J. Database Management Systems Chapter 1 Instructor: Oliver Schulte oschulte@cs.sfu.ca Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 What is a database? A database (DB) is a very large,

More information

CS 146 Database Systems

CS 146 Database Systems DBMS CS 146 Database Systems Entity-Relationship (ER) Model CS 146 1 CS 146 2 A little history Progression of Database Systems In DBMS: single instance of data maintained and accessed by different users

More information

Database System Concepts

Database System Concepts s Design Chapter 1: Introduction Departamento de Engenharia Informática Instituto Superior Técnico 1 st Semester 2009/2010 Slides (fortemente) baseados nos slides oficiais do livro c Silberschatz, Korth

More information

Introduction to Database Systems. Chapter 1. Instructor: . Database Management Systems, R. Ramakrishnan and J. Gehrke 1

Introduction to Database Systems. Chapter 1. Instructor:  . Database Management Systems, R. Ramakrishnan and J. Gehrke 1 Introduction to Database Systems Chapter 1 Instructor: email Database Management Systems, R. Ramakrishnan and J. Gehrke 1 What Is a DBMS? A very large, integrated collection of data. Models real-world

More information

Database Applications (15-415)

Database Applications (15-415) Database Applications (15-415) Course Overview and Introduction Lecture 1, January 11, 2015 Mohammad Hammoud Today Why databases and why studying databases? Course overview including objectives, topics

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Chapter 1: Introduction Purpose of Database Systems Database Languages Relational Databases Database Design Data Models Database Internals Database Users and Administrators Overall

More information

Page 1. Quiz 18.1: Flow-Control" Goals for Today" Quiz 18.1: Flow-Control" CS162 Operating Systems and Systems Programming Lecture 18 Transactions"

Page 1. Quiz 18.1: Flow-Control Goals for Today Quiz 18.1: Flow-Control CS162 Operating Systems and Systems Programming Lecture 18 Transactions Quiz 18.1: Flow-Control" CS162 Operating Systems and Systems Programming Lecture 18 Transactions" April 8, 2013 Anthony D. Joseph http://inst.eecs.berkeley.edu/~cs162 Q1: True _ False _ Flow control is

More information

Introduction. Example Databases

Introduction. Example Databases Introduction Example databases Overview of concepts Why use database systems Example Databases University Data: departments, students, exams, rooms,... Usage: creating exam plans, enter exam results, create

More information

EECS3421 Introduction to Database Management Systems. Thanks to John Mylopoulos and Ryan Johnson for material in these slides

EECS3421 Introduction to Database Management Systems. Thanks to John Mylopoulos and Ryan Johnson for material in these slides EECS3421 Introduction to Database Management Systems Thanks to John Mylopoulos and Ryan Johnson for material in these slides Overview What is a database? Course administrivia The relational model 2 What

More information

Introduction to Database Management Systems

Introduction to Database Management Systems Introduction to Database Management Systems Excerpt from Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 What Is a DBMS? A very large, integrated collection of data. Models real-world

More information

Introduction to Data Management. Lecture #2 (Big Picture, Cont.)

Introduction to Data Management. Lecture #2 (Big Picture, Cont.) Introduction to Data Management Lecture #2 (Big Picture, Cont.) Instructor: Mike Carey mjcarey@ics.uci.edu Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Announcements v Still hanging

More information