Database Organization and Design

Slides:



Advertisements
Similar presentations
1 Introduction to Database Systems CSE444 Instructor: Scott Vandenberg University of Washington Winter 2000.
Advertisements

Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chapter 1 Instructor: Mirsad Hadzikadic.
Database Management Systems, R. Ramakrishnan and J. Gehrke1 Introduction to Database Systems Chapter 1 Instructor: Wang-Chien Lee
Database: A collection of related data [Elmasri]. A database represents some aspect of real world called “miniworld” [Elmasri] or “enterprise” [Ramakrishnan].
Introduction to Databases
Introduction to Database Management  Department of Computer Science Northern Illinois University January 2001.
Introduction to Database Systems Ch. 1, Ch. 2 Mr. John Ortiz Dept. of Computer Science University of Texas at San Antonio.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1 Instructor: Deborah Strahman
1 Introduction to Database Management Systems Lila Rao Graham.
3-1 Chapter 3 Data and Knowledge Management
CMPT 354, Simon Fraser University, Fall 2008, Martin Ester 1 Database Systems I Introduction.
1 Introduction to Database Systems Ref. Ramakrishnan & Gehrke Chapter 1.
1 CENG 302 Introduction to Database Management Systems Nihan Kesim Çiçekli URL:
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Data Base Management System
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1 Instructor: Ethan Jackson
CSCD34 - Data Management Systems,- A. Vaisman1 CSC D34 - Data Management Systems Instructor: Alejandro Vaisman University of Toronto.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Introduction to Data bases concepts
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
CSC2012 Database Technology & CSC2513 Database Systems.
DBMS By Narinder Singh Computer Sc. Deptt. Topics What is DBMS What is DBMS File System Approach: its limitations File System Approach: its limitations.
Introduction. 
Database Management Systems 1 Introduction to Database Systems Instructor: Xintao Wu Ramakrishnan & Gehrke.
The Relational Model. Review Why use a DBMS? OS provides RAM and disk.
Chapter 2 CIS Sungchul Hong
CS6530 Graduate-level Database Systems Prof. Feifei Li.
Introduction: Databases and Database Users
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chpt 1 Instructor: Xintao Wu.
Database Management Systems 1 Ramakrishnan & Gehrke Introduction to Database Systems Chpt 1 Instructor: Weichao Wang.
Database Management Systems
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1 Overview of Database Systems.
DATABASE MANAGEMENT SYSTEMS TERM B. Tech II/IT II Semester UNIT-I PPT SLIDES Text Books: (1) DBMS by Raghu Ramakrishnan (2) DBMS by Sudarshan and.
INFS614, Dr. Brodsky, GMU1 Database Management Systems INFS 614 Instructor: Professor Alex Brodsky
Methodology - Conceptual Database Design. 2 Design Methodology u Structured approach that uses procedures, techniques, tools, and documentation aids to.
Intro – Part 2 Introduction to Database Management: Ch 1 & 2.
Introduction to Database Systems1. 2 Basic Definitions Mini-world Some part of the real world about which data is stored in a database. Data Known facts.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
1 CS3431 – Database Systems I Introduction Instructor: Mohamed Eltabakh
Database Environment Chapter 2. Data Independence Sometimes the way data are physically organized depends on the requirements of the application. Result:
CIS/SUSL1 Fundamentals of DBMS S.V. Priyan Head/Department of Computing & Information Systems.
Introduction HNDIT DBMS 1. Database Management Systems Module code HNDIT Module title Database Management Systems Credits2HoursLectures15.
-ebru a.s ATTRIBUTE: Description of entities For employee entity number, name, deptno, age, adr, salary..etc are attributes. RECORD: Stores whole.
Intro to Database Lecture 1: Course Overview 1. 2 Data analysis in the fight against human trafficking. All of society is online. New York DA use MEMEX.
1 Geog 357: Data models and DBMS. Geographic Decision Making.
1 CS462- Database Systems Sang H. Son
Database Management Systems.  Instructor: Yrd. Doç. Dr. Cengiz Örencik   Course material.
CS3431: C-Term CS3431 – Database Systems I Introduction Instructor: Mohamed Eltabakh
Database Environment Chapter 2. The Three-Level ANSI-SPARC Architecture External Level Conceptual Level Internal Level Physical Data.
Copyright © 2004 Pearson Education, Inc. Chapter 1 Introduction and Conceptual Modeling.
Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke1 Database Management Systems Chapter 1.
BBM 371 – Data Management Lecture 3: Basic Concepts of DBMS Prepared by: Ebru Akçapınar Sezer, Gönenç Ercan.
1 CENG 351 CENG 351 Introduction to Data Management and File Structures Department of Computer Engineering METU.
1 Lecture1 Introduction to Databases Systems Database 1.
Introduction: Databases and Database Systems Lecture # 1 June 19,2012 National University of Computer and Emerging Sciences.
Databases and Database User ch1 Define Database? A database is a collection of related data.1 By data, we mean known facts that can be recorded and that.
CS4222 Principles of Database System
Database Development Lifecycle
Database Management.
Chapter 1: Introduction
Introduction Instructor: Mohamed Eltabakh
Instructor: Elke Rundensteiner
Introduction to Database Systems
Translation of ER-diagram into Relational Schema
Overview of Database Systems Chpt 1
Databases and Information Management
Database Management Systems CSE594
Introduction to Database Systems
Introduction Instructor: Mohamed Eltabakh
Presentation transcript:

Database Organization and Design Chapter 1 Adapted from slides by Raghu Ramakrishnan, raghu@cs.wisc.edu

What is a DBMS? A database is a (very) large, integrated collection of data A database is based upon a data representation (data model) of a real-world enterprise Objects (or Entities, e.g., students, courses) Relationships (e.g., Charlie Brown is in CS3610) A Database Management System (DBMS) is a software package designed to store and manage databases. E.g., UNIDATA, mysql, or Access

File Storage vs. a DBMS A DBMS can “stage” data (for large datasets) between main memory and secondary sources (disk, CD, tape) A DBMS provides efficient (indexed) access A DBMS provides a built-in query language to facilitate data retrieval Permits free form queries Standard language provides standard communication for programs using embedded queries A DBMS protects data from inconsistency by Enforcing referential integrity during data modification Enforcing data format constraints Providing controlled concurrent access A DBMS provides crash recovery A DBMS provide multi-level security and access control A DBMS allows for uniform administration of the data

Data Models A data model is the manner in which you describe some data. The Entity Relationship Diagram (ERD) represents a conceptual data model for describing objects and their relationships. The ERD is the most common of the conceptual data models. It has several variants. Main features of an ERD is entities, attributes, and relationships. The relational data model is a conceptual data model for implementing a database. The relational model is easily the most widely used model today. Main concept the relation: a table of records and fields Every relation has a defining schema A schema is the description of a particular collection of data in a given data model.

Levels of Abstraction View 1 View 2 View 3 Conceptual Schema Physical Schema

Example: University Database External View: View1: course_info ( course_name, enrollment ) View2: teacher_info ( course_name, teacher ) Conceptual Schema Students(sid, name, age, gpa) Courses (cid, name, credits) Teachers (tid, name, rank) Enrolled (sid, cid, grade) Teaches (tid, cid) Physical Schema Store relations as tables Index tables by id fields

Road Ahead Modeling Data with Entity Relationship Diagrams Using the Relational Model (i.e., Schema Descriptions) to Model Data Relational Algebra: A concise language for describing data operations Structured Query Language (SQL): A standard language for manipulation of data by computers Database Apps: Learning how to access databases from programs Database File Organization, Storage, and Indexing

Road Ahead (Continued) Hash Indexes Query Evaluation: Getting the resultant data for the (somewhat) least cost Transaction Management: Keeping multiple users from interfering with each other Schema Design and Normal Forms: Reducing redundancy in the database Physical Database Design: Tuning your database for performance