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

Similar documents
CIS 330: Applied Database Systems

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

CIS 330: Applied Database Systems

CS425 Fall 2016 Boris Glavic Chapter 1: Introduction

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

Chapter 1: Introduction

Introduction. Example Databases


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

Course Logistics & Chapter 1 Introduction

Overview of Data Management

CSE 544 Principles of Database Management Systems

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

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

DATABASE MANAGEMENT SYSTEMS. UNIT I Introduction to Database Systems

Introduction to Database Systems CSE 444. Lecture #1 March 26, 2007

CMPUT 391 Database Management Systems. Fall Semester 2006, Section A1, Dr. Jörg Sander. Introduction

Chapter 1 Introduction

Introduction. Who wants to study databases?

Introduction and Overview

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

Introduction and Overview

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

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

Overview of Data Management

CS 445 Introduction to Database Systems

EECS 647: Introduction to Database Systems

CS 4604: Introduction to Database Management Systems. B. Aditya Prakash Lecture #1: Introduction

CMPSCI 645 Database Design & Implementation

Introduction: Databases and. Database Users

Introduction to CS 4604

COMP.3090/3100 Database I & II. Textbook

Introduction to Database S ystems Systems CSE 444 Lecture 1 Introduction CSE Summer

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

Database Systems CSE 414

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

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

745: Advanced Database Systems

Database Management Systems MIT Introduction By S. Sabraz Nawaz

John Edgar 2

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

A REVIEW OF BASIC KNOWLEDGE OF DATABASE SYSTEM

MIT Database Management Systems Lesson 01: Introduction

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

Enterprise Data Analysis and Design

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

Database Principle. Zhuo Wang Spring

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

CAS CS 460/660 Introduction to Database Systems. Fall

IST 210: Organization of Data

Introduction to Database S ystems Systems CSE 444 Lecture 1 Introduction CSE Summer

LIS 2680: Database Design and Applications

CSC 261/461 Database Systems. Fall 2017 MW 12:30 pm 1:45 pm CSB 601

Database Technology Introduction. Heiko Paulheim

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

CSC 4710 / CSC 6710 Database Systems. Rao Casturi

Chapter 1: Introduction

B.H.GARDI COLLEGE OF MASTER OF COMPUTER APPLICATION. Ch. 1 :- Introduction Database Management System - 1

Fundamentals of Database Systems

Outline. Databases and DBMS s. Recent Database Applications. Earlier Database Applications. CMPSCI445: Information Systems.

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

Chapter 1: Introduction

CMPT 354: Database System I. Lecture 1. Course Introduction

Lecture 1: Introduction

Specific Objectives Contents Teaching Hours 4 the basic concepts 1.1 Concepts of Relational Databases

Enterprise Data Analysis and Design

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

Database Management System Implementation. Who am I? Who is the teaching assistant? TR, 10:00am-11:20am NTRP B 140 Instructor: Dr.

Databases and Database Systems

Introduction to Databases CS348

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

Database Systems Management

UNIT I. Introduction

Chapter 1: Introduction

Your New App. Motivation. Data Management is Universal. Staff. Introduction to Data Management (Database Systems) CSE 414. Lecture 1: Introduction

Introduction to Data Management CSE 344. Lecture 1: Introduction

PELLISSIPPI STATE COMMUNITY COLLEGE MASTER SYLLABUS ADVANCED DATABASE MANAGEMENT SYSTEMS CSIT 2550

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

Introduction to Transaction Management

CSE 344 JANUARY 3 RD - INTRODUCTION

What s a database anyway?

Fundamentals of Databases

Course Web Site. 445 Staff and Mailing Lists. Textbook. Databases and DBMS s. Outline. CMPSCI445: Information Systems. Yanlei Diao and Haopeng Zhang

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

Introduction to Data Management (Database Systems) CSE 414

Database Management System. Fundamental Database Concepts

Concepts Of Database Management 7th Edition Solution Manual

Introduction to Database Systems CSE 444. Lecture 1 Introduction

Database Systems (INFR10070) Dr Paolo Guagliardo. University of Edinburgh. Fall 2016

CMPSCI445: Information Systems

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

COURSE 1. Database Management Systems

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

Chapter 1: Introduction. Chapter 1: Introduction

Michael Kifer, Arthur Bernstein, Philip M. Lewis. Solutions Manual

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

Lecture Notes CPSC 321 (Fall 2018) Today... Survey. Course Overview. Homework. HW1 (out) S. Bowers 1 of 8

Standard stuff. Class webpage: cs.rhodes.edu/db Textbook: get it somewhere; used is fine. Prerequisite: CS 241 Coursework:

Evolution of Database Systems

Why are you here? Introduction. Course roadmap. Course goals. What do you want from a DBMS? What is a database system? Aren t databases just

Transcription:

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 Syllabus Policy Database Management and Organization How does Wal-Mart manage its 200 TB data warehouse? What is the database technology behind ebay s website? How do you build an Oracle 9i, MySQL or Microsoft SQL Server database? Database Management Systems (DBMS) Information is one of the most valuable resources in this information age How do we effectively and efficiently manage this information? Relational database management systems Dominant data management paradigm today 6 billion dollars a year industry! 1

ICE: The Mid Store Create a system to keep track of inventory Problems Changes to data - Data model on the fly queries Data inconsistencies Security of information (views) Performance Partial processing Concurrency Why Database Management Systems? Benefits High-level abstractions for data modeling, access, manipulation, and administration Transactions (concurrent data access, recovery from system crashes) Data Model Entity-Relationship model Relational model Object-oriented model Object-relational model XML 2

The Relational Data Model Turing Award for Codd in 1980 Tables Database The Object-Oriented Data Model Richer data model. Goal: Bridge mismatch between programming languages and the database system. Example components of the data model: Relationships between objects directly as pointers. Result: Can store abstract data types directly in the DBMS Pictures Geographic coordinates Movies CAD objects Object-Oriented DBMS Advantages: Engineering applications (CAD and CAM and CASE computer aided software engineering), multimedia applications. Disadvantages: Querying is much harder Object-Relational DBMS Mixture between the object-oriented and the object-relational data model Combines ease of querying with ability to store abstract data types Conceptually, the relational model, but every column type is a class All major relational vendors are currently extending their relational DBMS to the object-relational model 3

XML Query Languages We need a high-level language to describe and manipulate the data Requirements: Precise semantics Easy integration into applications written in C++/Java/Visual Basic/etc. Easy to learn DBMS needs to be able to efficiently evaluate queries written in the language SQL: Structured Query Language IBM (System R) in the 1970s ANSI standard since 1986 Example: SELECT * FROM Customers WHERE Customers.cid = 3 Why Database Management Systems? Benefits High-level abstractions for data modeling, access, manipulation, and administration Transactions (concurrent data access, recovery from system crashes) 4

Integrity Constraints Integrity Constraints (ICs): Condition that must be true for any instance of the database. ICs are specified when schema is defined. ICs are checked when tables are modified. A legal instance of a table is one that satisfies all specified ICs. DBMS should only allow legal instances. Example: Domain constraints. Security Secrecy: Users should not be able to see things they are not supposed to. E.g., A student can t see other students grades. Integrity: Users should not be able to modify things they are not supposed to. E.g., Only instructors can assign grades. Availability: Users should be able to see and modify things they are allowed to. Why Database Management Systems? Benefits High-level abstractions for data modeling, access, manipulation, and administration Transactions (concurrent data access, recovery from system crashes) DBMS and Performance Efficient implementation of all database operations Indexes Query optimization Automatic high-performance concurrent query execution, query parallelization 5

Why Database Management Systems? Benefits High-level abstractions for data modeling, access, manipulation, and administration Transactions (concurrent data access, recovery from system crashes) What is a Transaction? The execution of a program that performs a function by accessing a database. Examples: Buy an airline ticket. Withdraw money from an ATM. Verify a credit card sale. Order an item from an Internet retailer. Transactions A transaction is an atomic sequence of actions Each transaction must leave the system in a consistent state The ACID Properties Example Transaction: Online Store Your purchase transaction: Atomicity: Either the complete purchase happens, or nothing Consistency: The inventory and internal accounts are updated correctly Isolation: It does not matter whether other customers are also currently making a purchase Durability: Once you have received the order confirmation number, your order information is permanent, even if the site crashes 6

What Makes Transaction Processing Hard? Reliability Availability Response time Throughput Scalability Security Configurability Atomicity Durability Distribution What Makes TP Important? It is at the core of electronic commerce Most medium-to-large businesses use TP for their production systems. It is a huge slice of the computer system market over $50 B/year Summary Of DBMS Benefits Best Jobs! High-level abstractions for data access Data models Key constraints, integrity constraints, access control Parallel DBMS, distributed DBMS, performance tuning Transactions ACID properties, concurrency control, recovery 7

IT Analyst Course Topics Database design Relational model SQL Normalization Database administration PHP MySQL Course Goals Explain the main advantages of modern database management systems over file systems. Design, create, and query relational databases to satisfy user requirements. Design, build and deploy database-backed applications with dynamic website front-end. Implement data access control mechanisms for database and application security. Analyze the ethical issues and responsibilities related to records management Create applications that USE a Database Management System Things We Will NOT Cover Relational algebra and calculus Implementation of index structures Query evaluation and optimization How to BUILD a Database Management System 8

Success in IT420 Lecture stay engaged Take notes provided slides are not enough! Exams closed-book but open-note! Ask & answer questions Make the most of in-class lab time Read lab in advance Think before you start typing Don t stay stuck! Don t fall behind Finish lab early and leave time for reading See me for help and/or talk to friends Course material builds on itself and gets more complex Academic Integrity - Honor Collaboration on labs/ hws is allowed, but submitted work should be your own Cite any assistance, from any sources Collaboration on projects, quizzes and exams is prohibited http://www.cs.usna.edu/academics/honor. htm Resources Lecture slides / your notes Textbook: Database Processing by David Kroenke Database Management Systems by R. Ramakrishnan and J. Gehrke PHP and MySQL Web Development by L. Welling and L. Thomson 9