Databases: Introduction and overview. Akhil Kumar Smeal College of Business Penn State University
|
|
- Gerard Thompson
- 7 years ago
- Views:
Transcription
1 Databases: Introduction and overview Akhil Kumar Smeal College of Business Penn State University
2 Outline Examples/Motivation Data modeling Transaction management Next generation databases Conclusions
3 Favorite application Travel he ultimate "Aloha" Experience: Sabre Reservation system FEATURES: Travel services from 400 airlines, 60,000 hotels and 50 car rental companies, railroads, cruise lines; Builds one billion fares, updated 5 times per day; Handles bookings for 35% of all reservations made world-wide amounting to more than $70 Billion annually. Average transaction time: less than 3 seconds, Peak transaction rate: transactions per second. Annual bookings: more than 300 million. Equipment: 31 mainframes,57 terabytes of storage. Processing Power: 11,000 MIPS of processing power. Security System: withstand high winds, tornadoes, earthquakes Protection: 40 inches of reinforced concrete System reliability: %
4 Favorite application - Banking
5 Favorite application at a bar A bar database Swipe driver s license at bar Look up name, address, birth date, etc. Summarize information On Tuesdays over-40 crowd is large Thursday customers come from upscale zip codes Women make up 80% of crowd when Elvis performs
6 Data Model Consists of concepts and tools for describing Basic or raw data ("price of a chair is 50.99") Data relationships ("ABC Co. supplies chairs") Data semantics ("Unit of price is US $") Data constraints ("A Minimum shipment is 1000")
7 Entity Relationship Modeling Build an E-R model of real world situations Entities (objects or things of interest) E.g. faculty, students, courses, offerings Relationships between entities E.g. Erica is taking Database from Prof. Ball Used widely for database design build E-R model and then convert to the relational model
8 E-R Diagram for manufacturing company [Aside: In a hotel database, does a reservation belong to guest, room, date?]
9 ER Modeling Example and Basic Symbols Entity Type symbol Relationship symbol Entity Type name Primary Key Attributes Course CourseNo CrsDesc CrsUnits Has Relationship name Offerings SectionNo Location Time An entity is an important "thing" in the application area. A relationship relates two or more entities together.
10 Cardinality Notation Single line: one cardinality Inside symbol: minimum cardinality Crow's foot: many cardinality Course CourseNo CrsDesc CrsUnits Outside symbol: maximum cardinality Has Circle: zero cardinality Offering SectionNo Location Time
11 The Three-Schema Architecture view1 view2 view3 External Schema (User View) Conceptual Schema Physical Schema
12 Three Schema Architecture for Database Development External Schema Describes a part of a database that is of interest to a particular user (also called a view ). Subset of conceptual schema Conceptual Schema Describes structure of the entire database (e.g., ER model, relational model) Independent of a specific DBMS No details of physical design Physical Schema (or Internal schema) Describes physical structure of the database (tables, indexes, access methods, database distribution.) Conceptual schema is independent of physical schema - data independence.
13 Database Development Phases Data requirements Conceptual Data Modeling ERD Logical Database Design Tables Physical Database Design Internal Schema
14 Logical data model - Relational Model In the relational model, all data is stored in relations or tables. Example Relations (or Tables) The above relations may be described as follows: SALES1(Cust_ID, Name, Salesperson) SPERSON(Salesperson, Region)
15 Relational Model Attributes Example of tabular data in the relational model Customer-id customername customerstreet customercity accountnumber Johnson Alma Palo Alto A Smith North Rye A Johnson Alma Palo Alto A Jones Main Harrison A Smith North Rye A-201
16 A Sample Relational Database
17 Petstore Database - ER diagram Supplier SupplierID Name ContactName Phone Address ZipCode CityID AnimalOrder OrderID OrderDate ReceiveDate SupplierID ShippingCost EmployeeID City CityID ZipCode City State AreaCode Population1990 Population1980 Country Latitude Longitude Merchandise Order PONumber OrderDate ReceiveDate SupplierID EmployeeID ShippingCost Animal OrderItem OrderID AnimalID Cost Employee EmployeeID LastName FirstName Phone Address ZipCode CityID TaxPayerID DateHired DateReleased OrderItem PONumber ItemID Quantity Cost Breed Category Breed Category Category Registration Animal AnimalID Name Category Breed DateBorn Gender Registered Color ListPrice Photo Sale SaleID SaleDate EmployeeID CustomerID SalesTax Merchandise ItemID Description QuantityOnHand ListPrice Category SaleAnimal SaleID AnimalID SalePrice Customer CustomerID Phone FirstName LastName Address ZipCode CityID SaleItem SaleID ItemID Quantity SalePrice This is a simplified, high-level ER diagram showing one-to-one and one-to-many relationships. Primary keys are in bold, minimum cardinalities are not shown.
18 Example Queries on Petstore Database List all animals with yellow in their color. List all dogs with yellow in their color born after 6/1/01. List all merchandise for cats with a list price greater than $10. List all dogs who are male and registered or who were born before 6/1/01 and are grey in color. What is the average sale price of all animals? What is the total cost we paid for all animals? List the top 10 customers and total amount they spent. How many cats are in the animal list? Count the number of animals in each category. List the CustomerID of everyone who bought something between 4/1/01 and 5/31/01. List the first name and phone of every customer who bought something between 4/1/01 and 5/31/01. List the last name and phone of anyone who bought a registered white cat between 6/1/01 and 12/31/01. Which employee has sold the most items?
19 Simple SQL Queries List all columns for all animals SELECT * FROM Animal; List all columns for all animals whose color is yellow. SELECT * FROM Animal WHERE (Color LIKE '%yellow%'); List only AnimalId, Category, Breed and Color columns for all animals whose color contains the letters yellow. SELECT AnimalID, Category, Breed, Color FROM Animal WHERE (Color LIKE %yellow% ); The % is a wildcard for any string of characters. The text inside single quotes is case-sensitive.
20 Models Relational model Entity-Relationship model Other models: Object-oriented models (such as UML) Semi-structured data models XML Based models (Older models: hierarchical model and network model)
21 Transaction Management Concurrency control and crash recovery Transactions must be interleaved, i.e., concurrent A database without a concurrency control mechanism will be compromised due to interference between users: Lost update problem, caused by write-write conflict Dirty read, caused by read-write conflict A real world databases must allow proper concurrent access
22 Lost Update Problem - Airlines Transaction A Time Transaction B Read SR (10) T 1 T 2 Read SR (10) If SR > 0 then T 3 SR = SR -1 T 4 If SR > 0 then SR = SR -1 Write SR (9) T 5 T 6 Write SR (9) SR: Seats Remaining
23 Lost Update Problem: Banking Husband and wife to take money from the same account with $1000 Husband H Wife W read $1000 READ $1000 withdraw $100 Withdraw $200 write $900 WRITE $800 Possible sequence without concurrency control 1. H read $ W READ $ H write $ W WRITE $800 Balance is $900 instead of the correct value of $700. One update is lost.
24 Uncommitted Dependency or Dirty Read Problem Transaction A Time Transaction B Read SR (10) T 1 SR = SR - 1 T 2 Write SR (9) T 3 T 4 Read SR (9) Rollback T 5 SR: Seats Remaining
25 Locking Fundamentals Locking is the main tool of concurrency control Rule: Obtain lock before accessing a data item and release lock at end of transaction Wait if a conflicting lock is held Shared lock (S-Lock): conflicts with exclusive locks Exclusive lock (X-Lock): conflicts with all other kinds of locks Concurrency control manager maintains the lock table
26 Crash recovery Must keep a log: When Ti writes an object: the old value and the new value. Log record transferred to disk before the changed page! Ti commits/aborts: a log record indicating this action. Log records are chained together by Transaction id, so it s easy to undo a specific Transaction Log is often duplexed and archived on stable storage. [Ti: is a transaction running in the database]
27 Next generation databases Features: Sources of data are widespread and their number is potentially infinite The sources vary in nature from being unstructured text on the Web to semi-structured data such as articles, reports and news briefs, to structured sources like conventional database systems Application areas may vary from business data to scientific (astronomy, biology, etc.) and geospatial data Data may also vary across the media spectrum (from plain text, to sound, graphics and pictures) and also across languages
28 New applications interesting problems Digitize 50 years of BBC coverage and serve on demand Random access to 1 petabyte of data (10 18 bytes) GIS applications ("alert me if there is cancellation for a show/game and I am within 1 mile) Analyzing click stream data, continuous stream data Voice to natural language to structured data Bio-informatics (analyzing large biological data sets) Storing large numbers of gene sequences Finding gene locations and querying gene sequences Learn structure and functions of proteins
29 Conclusions Database systems have come a long way from humble beginnings as simple file systems Discussed basic principles of database systems Mentioned lots of potential new applications
Chapter 1: Introduction. Database Management System (DBMS)
Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction Management Storage Management Database Administrator Database
More informationIntroduction to database management systems
Introduction to database management systems Database management systems module Myself: researcher in INRIA Futurs, Ioana.Manolescu@inria.fr The course: follows (part of) the book "", Fourth Edition Abraham
More informationChapter 1: Introduction
Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition Language Data Manipulation Language Transaction Management Storage Management Database Administrator Database
More informationCSE 233. Database System Overview
CSE 233 Database System Overview 1 Data Management An evolving, expanding field: Classical stand-alone databases (Oracle, DB2, SQL Server) Computer science is becoming data-centric: web knowledge harvesting,
More informationLesson 8: Introduction to Databases E-R Data Modeling
Lesson 8: Introduction to Databases E-R Data Modeling Contents Introduction to Databases Abstraction, Schemas, and Views Data Models Database Management System (DBMS) Components Entity Relationship Data
More informationWe know how to query a database using SQL. A set of tables and their schemas are given Data are properly loaded
E-R Diagram Database Development We know how to query a database using SQL A set of tables and their schemas are given Data are properly loaded But, how can we develop appropriate tables and their schema
More informationSAMPLE FINAL EXAMINATION SPRING SESSION 2015
SAMPLE FINAL EXAMINATION SPRING SESSION 2015 School of Computing, Engineering and Mathematics Student family name: Student given name/s: Student ID number: Course: Unit Name (In Full): Database Design
More informationCSE 132A. Database Systems Principles
CSE 132A Database Systems Principles Prof. Victor Vianu 1 Data Management An evolving, expanding field: Classical stand-alone databases (Oracle, DB2, SQL Server) Computer science is becoming data-centric:
More informationChapter 1: Introduction
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 of Data Database Languages Relational Databases
More informationTopics. Introduction to Database Management System. What Is a DBMS? DBMS Types
Introduction to Database Management System Linda Wu (CMPT 354 2004-2) Topics What is DBMS DBMS types Files system vs. DBMS Advantages of DBMS Data model Levels of abstraction Transaction management DBMS
More informationSCHEMAS AND STATE OF THE DATABASE
SCHEMAS AND STATE OF THE DATABASE Schema the description of a database specified during database design relatively stable over time Database state the data in a database at a particular moment the set
More informationRelational Database Concepts
Relational Database Concepts IBM Information Management Cloud Computing Center of Competence IBM Canada Labs 1 2011 IBM Corporation Agenda Overview Information and Data Models The relational model Entity-Relationship
More informationFoundations of Information Management
Foundations of Information Management - WS 2012/13 - Juniorprofessor Alexander Markowetz Bonn Aachen International Center for Information Technology (B-IT) Data & Databases Data: Simple information Database:
More informationIntroduction to Database Systems. Module 1, Lecture 1. Instructor: Raghu Ramakrishnan raghu@cs.wisc.edu UW-Madison
Introduction to Database Systems Module 1, Lecture 1 Instructor: Raghu Ramakrishnan raghu@cs.wisc.edu UW-Madison Database Management Systems, R. Ramakrishnan 1 What Is a DBMS? A very large, integrated
More informationChapter 2: Entity-Relationship Model. Entity Sets. " Example: specific person, company, event, plant
Chapter 2: Entity-Relationship Model! Entity Sets! Relationship Sets! Design Issues! Mapping Constraints! Keys! E-R Diagram! Extended E-R Features! Design of an E-R Database Schema! Reduction of an E-R
More informationChapter 1: Introduction. Database Management System (DBMS) University Database Example
This image cannot currently be displayed. Chapter 1: Introduction Database System Concepts, 6 th Ed. See www.db-book.com for conditions on re-use Database Management System (DBMS) DBMS contains information
More informationData Modeling Basics
Information Technology Standard Commonwealth of Pennsylvania Governor's Office of Administration/Office for Information Technology STD Number: STD-INF003B STD Title: Data Modeling Basics Issued by: Deputy
More informationOVERVIEW 1.1 DATABASE MANAGEMENT SYSTEM (DBMS) DEFINITION:-
1 1 OVERVIEW Topics Covered: 1.1 Database management system 1.2 Data Independence 1.3 Data Abstraction 1.4 Data Models 1.5 DBMS Architecture 1.6 Users of DBMS 1.7 Overview of Conventional Data Models 1.1
More informationConceptual Design: Entity Relationship Models. Objectives. Overview
Conceptual Design: Entity Relationship Models Craig Van Slyke, University of Central Florida cvanslyke@bus.ucf.edu John Day, Ohio University Objectives Define terms related to entity relationship modeling,
More informationThe 3 Normal Forms: Copyright Fred Coulson 2007 (last revised February 1, 2009)
The 3 Normal Forms: A Tutorial by Fred Coulson Copyright Fred Coulson 2007 (last revised February 1, 2009) This tutorial may be freely copied and distributed, providing appropriate attribution to the author
More informationA Short Tutorial on Using Visio 2010 for Entity-Relationship Diagrams
A Short Tutorial on Using Visio 2010 for Entity-Relationship Diagrams by Nezar Hussain Microsoft Visio 2010 is a flexible software tool that allows users to create some diagrams and charts, providing an
More informationRelational Database Basics Review
Relational Database Basics Review IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Database approach Database system Relational model Database development 2 File Processing Approaches Based on
More informationDatabase Management Systems
Database Management Systems Database Design (1) 1 Topics Information Systems Life Cycle Data Base Design Logical Design Physical Design Entity Relationship (ER) Model Entity Relationship Attributes Cardinality
More informationINTRODUCTION TO DATABASE SYSTEMS
1 INTRODUCTION TO DATABASE SYSTEMS Exercise 1.1 Why would you choose a database system instead of simply storing data in operating system files? When would it make sense not to use a database system? Answer
More informationTransaction Management Overview
Transaction Management Overview Chapter 16 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Transactions Concurrent execution of user programs is essential for good DBMS performance. Because
More informationIntrodução às Bases de Dados
Introdução às Bases de Dados 2011/12 http://ssdi.di.fct.unl.pt/ibd1112 Joaquim Silva (jfs@di.fct.unl.pt) The Bases de Dados subject Objective: To provide the basis for the modeling, implementation, analysis
More informationDBMS Questions. 3.) For which two constraints are indexes created when the constraint is added?
DBMS Questions 1.) Which type of file is part of the Oracle database? A.) B.) C.) D.) Control file Password file Parameter files Archived log files 2.) Which statements are use to UNLOCK the user? A.)
More informationER modelling, Weak Entities, Class Hierarchies, Aggregation
CS344 Database Management Systems ER modelling, Weak Entities, Class Hierarchies, Aggregation Aug 2 nd - Lecture Notes (Summary) Submitted by - N. Vishnu Teja Saurabh Saxena 09010125 09010145 (Most the
More informationWeek 1 Part 1: An Introduction to Database Systems. Databases and DBMSs. Why Use a DBMS? Why Study Databases??
Week 1 Part 1: An Introduction to Database Systems Databases and DBMSs Data Models and Data Independence Concurrency Control and Database Transactions Structure of a DBMS DBMS Languages Databases and DBMSs
More informationDatabase System Concepts
s Design Chapter 1: Introduction Departamento de Engenharia Informática Instituto Superior Técnico 1 st Semester 2008/2009 Slides (fortemente) baseados nos slides oficiais do livro c Silberschatz, Korth
More informationDatabase Design. Chapter. Chapter Outline. What You Will Learn in This Chapter
2 Chapter Database Design Chapter Outline Introduction, 37 Getting Started, 39 Designing Databases, 40 Identifying User Requirements, 40 Business Objects, 40 Tables and Relationships, 42 Definitions, 42
More informationDesigning Databases. Introduction
Designing Databases C Introduction Businesses rely on databases for accurate, up-to-date information. Without access to mission critical data, most businesses are unable to perform their normal daily functions,
More informationIntroduction to SQL (3.1-3.4)
CSL 451 Introduction to Database Systems Introduction to SQL (3.1-3.4) Department of Computer Science and Engineering Indian Institute of Technology Ropar Narayanan (CK) Chatapuram Krishnan! Summary Parts
More informationECS 165A: Introduction to Database Systems
ECS 165A: Introduction to Database Systems Todd J. Green based on material and slides by Michael Gertz and Bertram Ludäscher Winter 2011 Dept. of Computer Science UC Davis ECS-165A WQ 11 1 1. Introduction
More informationCOMP5138 Relational Database Management Systems. Databases are Everywhere!
COMP5138 Relational Database Management Systems Week 1: COMP 5138 Intro to Database Systems Professor Joseph Davis and Boon Ooi Databases are Everywhere! Database Application Examples: Banking: all transactions
More informationAmerican Express Online (AXO) Reference Guide For Saint Louis University
American Express Online (AXO) Powered by Cliqbook Reference Guide For Saint Louis University July 2006 V1.4 0 Welcome to AXO / powered by Cliqbook. This is Saint Louis University s designated corporate
More information1 File Processing Systems
COMP 378 Database Systems Notes for Chapter 1 of Database System Concepts Introduction A database management system (DBMS) is a collection of data and an integrated set of programs that access that data.
More informationDatabase Systems. Lecture 1: Introduction
Database Systems Lecture 1: Introduction General Information Professor: Leonid Libkin Contact: libkin@ed.ac.uk Lectures: Tuesday, 11:10am 1 pm, AT LT4 Website: http://homepages.inf.ed.ac.uk/libkin/teach/dbs09/index.html
More informationExercise 1: Relational Model
Exercise 1: Relational Model 1. Consider the relational database of next relational schema with 3 relations. What are the best possible primary keys in each relation? employ(person_name, street, city)
More informationThe Entity-Relationship Model
The Entity-Relationship Model 221 After completing this chapter, you should be able to explain the three phases of database design, Why are multiple phases useful? evaluate the significance of the Entity-Relationship
More informationIntroduction to Database Systems CS4320. Instructor: Christoph Koch koch@cs.cornell.edu CS 4320 1
Introduction to Database Systems CS4320 Instructor: Christoph Koch koch@cs.cornell.edu CS 4320 1 CS4320/1: Introduction to Database Systems Underlying theme: How do I build a data management system? CS4320
More informationChapter 2: Entity-Relationship Model. E-R R Diagrams
Chapter 2: Entity-Relationship Model What s the use of the E-R model? Entity Sets Relationship Sets Design Issues Mapping Constraints Keys E-R Diagram Extended E-R Features Design of an E-R Database Schema
More informationChapter 6 FOUNDATIONS OF BUSINESS INTELLIGENCE: DATABASES AND INFORMATION MANAGEMENT Learning Objectives
Chapter 6 FOUNDATIONS OF BUSINESS INTELLIGENCE: DATABASES AND INFORMATION MANAGEMENT Learning Objectives Describe how the problems of managing data resources in a traditional file environment are solved
More informationEntity-Relationship Model
UNIT -2 Entity-Relationship Model Introduction to ER Model ER model is represents real world situations using concepts, which are commonly used by people. It allows defining a representation of the real
More information2. Conceptual Modeling using the Entity-Relationship Model
ECS-165A WQ 11 15 Contents 2. Conceptual Modeling using the Entity-Relationship Model Basic concepts: entities and entity types, attributes and keys, relationships and relationship types Entity-Relationship
More informationThe 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 informationTopic: Relationships in ER Diagram and Relationships in MS Access
MS Access Lab 3 Topic: Relationships in ER Diagram and Relationships in MS Access Summary Introduction to Relationships Why Define Relationships? Relationships in ER Diagram vs. Relationships in MS Access
More informationBasic and Advanced Database Courses
Basic and Advanced Database Courses Srdjan Škrbić Faculty of Science, University of Novi Sad Trg Dositeja Obradovića 4, 21000 Novi Sad, Serbia shkrba@uns.ac.rs http://www.is.pmf.uns.ac.rs/skrbics At the
More informationDATABASE MANAGEMENT SYSTEMS. Question Bank:
DATABASE MANAGEMENT SYSTEMS Question Bank: UNIT 1 1. Define Database? 2. What is a DBMS? 3. What is the need for database systems? 4. Define tupule? 5. What are the responsibilities of DBA? 6. Define schema?
More informationInformation Technology Services Kennesaw State University
Information Technology Services Kennesaw State University Microsoft Access 2007 Level 1 1 Copyright 2008 KSU Dept. of Information Technology Services This document may be downloaded, printed or copied
More informationOverview. Introduction to Database Systems. Motivation... Motivation: how do we store lots of data?
Introduction to Database Systems UVic C SC 370 Overview What is a DBMS? what is a relational DBMS? Why do we need them? How do we represent and store data in a DBMS? How does it support concurrent access
More informationDatabase Management. Chapter Objectives
3 Database Management Chapter Objectives When actually using a database, administrative processes maintaining data integrity and security, recovery from failures, etc. are required. A database management
More informationOracle Application Express - Application Migration Workshop
Oracle Application Express - Application Migration Workshop Microsoft Access Northwind Traders Migration to Oracle Application Express An Oracle White Paper May 2007 Oracle Application Express Application
More informationTIM 50 - Business Information Systems
TIM 50 - Business Information Systems Lecture 15 UC Santa Cruz March 1, 2015 The Database Approach to Data Management Database: Collection of related files containing records on people, places, or things.
More informationComp 3311 Database Management Systems. 2. Relational Model Exercises
Comp 3311 Database Management Systems 2. Relational Model Exercises 1 E-R Diagram for a Banking Enterprise 2 Tables for ER diagram Entities Branch (branch-name, branch-city, assets) Customer (customer-id,
More informationAuthor: Abhishek Taneja
MCA 202/MS 11 Author: Abhishek Taneja Vetter: Sh. Dharminder Kumar Lesson: Introduction Lesson No. : 01 Structure 1.0 Objectives 1.1 Introduction 1.2 Data Processing Vs. Data Management Systems 1.3 File
More informationIn-Depth Guide Advanced Database Concepts
In-Depth Guide Advanced Database Concepts Learning Objectives By reading and completing the activities in this chapter, you will be able to: Retrieve specified records from a database using Query by Example
More informationAccess Part 2 - Design
Access Part 2 - Design The Database Design Process It is important to remember that creating a database is an iterative process. After the database is created and you and others begin to use it there will
More informationTHE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN INFORMATION AND COMMUNICATION TECHNOLOGY
THE OPEN UNIVERSITY OF TANZANIA FACULTY OF SCIENCE TECHNOLOGY AND ENVIRONMENTAL STUDIES BACHELOR OF SIENCE IN INFORMATION AND COMMUNICATION TECHNOLOGY OIT 217.DATABASE CONCEPTS AND DESIGN COURSE OUTLINE
More informationIntroduction to Database Systems. Chapter 1 Introduction. Chapter 1 Introduction
Introduction to Database Systems Winter term 2013/2014 Melanie Herschel melanie.herschel@lri.fr Université Paris Sud, LRI 1 Chapter 1 Introduction After completing this chapter, you should be able to:
More informationKen Goldberg Database Lab Notes. There are three types of relationships: One-to-One (1:1) One-to-Many (1:N) Many-to-Many (M:N).
Lab 3 Relationships in ER Diagram and Relationships in MS Access MS Access Lab 3 Summary Introduction to Relationships Why Define Relationships? Relationships in ER Diagram vs. Relationships in MS Access
More informationHow To Write A Diagram
Data Model ing Essentials Third Edition Graeme C. Simsion and Graham C. Witt MORGAN KAUFMANN PUBLISHERS AN IMPRINT OF ELSEVIER AMSTERDAM BOSTON LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE
More informationDatabase IST400/600. Jian Qin. A collection of data? A computer system? Everything you collected for your group project?
Relational Databases IST400/600 Jian Qin Database A collection of data? Everything you collected for your group project? A computer system? File? Spreadsheet? Information system? Date s criteria: Integration
More informationDbSchema Tutorial with Introduction in SQL Databases
DbSchema Tutorial with Introduction in SQL Databases Contents Connect to the Database and Create First Tables... 2 Create Foreign Keys... 7 Create Indexes... 9 Generate Random Data... 11 Relational Data
More informationSQL SELECT Query: Intermediate
SQL SELECT Query: Intermediate IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview SQL Select Expression Alias revisit Aggregate functions - complete Table join - complete Sub-query in where Limiting
More informationDATABASE INTRODUCTION
Introduction The history of database system research is one of exceptional productivity and startling economic impact. We have learnt that from the days of file-based systems there are better ways to handle
More informationAlexander Nikov. 5. Database Systems and Managing Data Resources. Learning Objectives. RR Donnelley Tries to Master Its Data
INFO 1500 Introduction to IT Fundamentals 5. Database Systems and Managing Data Resources Learning Objectives 1. Describe how the problems of managing data resources in a traditional file environment are
More informationChapter 9: Normalization
Chapter 9: Normalization Part 1: A Simple Example Part 2: Another Example & The Formal Stuff A Problem: Keeping Track of Invoices (cont d) Suppose we have some invoices that we may or may not want to refer
More informationCSE 530A Database Management Systems. Introduction. Washington University Fall 2013
CSE 530A Database Management Systems Introduction Washington University Fall 2013 Overview Time: Mon/Wed 7:00-8:30 PM Location: Crow 206 Instructor: Michael Plezbert TA: Gene Lee Websites: http://classes.engineering.wustl.edu/cse530/
More informationChapter 3. Data Modeling Using the Entity-Relationship (ER) Model
Chapter 3 Data Modeling Using the Entity-Relationship (ER) Model Chapter Outline Overview of Database Design Process Example Database Application (COMPANY) ER Model Concepts Entities and Attributes Entity
More informationSQL Simple Queries. Chapter 3.1 V3.0. Copyright @ Napier University Dr Gordon Russell
SQL Simple Queries Chapter 3.1 V3.0 Copyright @ Napier University Dr Gordon Russell Introduction SQL is the Structured Query Language It is used to interact with the DBMS SQL can Create Schemas in the
More informationTransactions and the Internet
Transactions and the Internet Week 12-13 Week 12-13 MIE253-Consens 1 Schedule Week Date Lecture Topic 1 Jan 9 Introduction to Data Management 2 Jan 16 The Relational Model 3 Jan. 23 Constraints and SQL
More informationChapter 3. Data Analysis and Diagramming
Chapter 3 Data Analysis and Diagramming Introduction This chapter introduces data analysis and data diagramming. These make one of core skills taught in this course. A big part of any skill is practical
More informationLecture 12: Entity Relationship Modelling
Lecture 12: Entity Relationship Modelling The Entity-Relationship Model Entities Relationships Attributes Constraining the instances Cardinalities Identifiers Generalization 2004-5 Steve Easterbrook. This
More informationæ A collection of interrelated and persistent data èusually referred to as the database èdbèè.
CMPT-354-Han-95.3 Lecture Notes September 10, 1995 Chapter 1 Introduction 1.0 Database Management Systems 1. A database management system èdbmsè, or simply a database system èdbsè, consists of æ A collection
More information12 File and Database Concepts 13 File and Database Concepts A many-to-many relationship means that one record in a particular record type can be relat
1 Databases 2 File and Database Concepts A database is a collection of information Databases are typically stored as computer files A structured file is similar to a card file or Rolodex because it uses
More informationCS2Bh: Current Technologies. Introduction to XML and Relational Databases. Introduction to Databases. Why databases? Why not use XML?
CS2Bh: Current Technologies Introduction to XML and Relational Databases Spring 2005 Introduction to Databases CS2 Spring 2005 (LN5) 1 Why databases? Why not use XML? What is missing from XML: Consistency
More informationThe Relational Data Model: Structure
The Relational Data Model: Structure 1 Overview By far the most likely data model in which you ll implement a database application today. Of historical interest: the relational model is not the first implementation
More informationFoundations of Information Management
Foundations of Information Management - WS 2009/10 Juniorprofessor Alexander Markowetz Bonn Aachen International Center for Information Technology (B-IT) Alexander Markowetz Born 1976 in Brussels, Belgium
More informationDoing database design with MySQL
Doing database design with MySQL Jerzy Letkowski Western New England University ABSTRACT Most of the database textbooks, targeting database design and implementation for information systems curricula support
More informationDatabases and BigData
Eduardo Cunha de Almeida eduardo.almeida@uni.lu Outline of the course Introduction Database Systems (E. Almeida) Distributed Hash Tables and P2P (C. Cassagnes) NewSQL (D. Kim and J. Meira) NoSQL (D. Kim)
More informationSQL Programming. Student Workbook
SQL Programming Student Workbook 2 SQL Programming SQL Programming Published by itcourseware, Inc., 7245 South Havana Street, Suite 100, Englewood, CO 80112 Contributing Authors: Denise Geller, Rob Roselius,
More informationFoundations of Business Intelligence: Databases and Information Management
Foundations of Business Intelligence: Databases and Information Management Content Problems of managing data resources in a traditional file environment Capabilities and value of a database management
More informationB2.2-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS
B2.2-R3: INTRODUCTION TO DATABASE MANAGEMENT SYSTEMS NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be answered
More informationnot necessarily strictly sequential feedback loops exist, i.e. may need to revisit earlier stages during a later stage
Database Design Process there are six stages in the design of a database: 1. requirement analysis 2. conceptual database design 3. choice of the DBMS 4. data model mapping 5. physical design 6. implementation
More informationDatabase Design Process. Databases - Entity-Relationship Modelling. Requirements Analysis. Database Design
Process Databases - Entity-Relationship Modelling Ramakrishnan & Gehrke identify six main steps in designing a database Requirements Analysis Conceptual Design Logical Design Schema Refinement Physical
More informationFundamentals of Database Design
Fundamentals of Database Design Zornitsa Zaharieva CERN Data Management Section - Controls Group Accelerators and Beams Department /AB-CO-DM/ 23-FEB-2005 Contents : Introduction to Databases : Main Database
More information1.264 Lecture 30. System architecture
1.264 Lecture 30 System architecture Next class: Exercise due after class Please start Visual Paradigm-we ll use it in class today No zip file to download-it s online 1 Three tier architecture Web client
More informationData Modelling and E-R Diagrams
Data Modelling and E-R Diagrams So far we have considered some of the basic ideas behind relational theory, and we will continue with this in subsequent sections. In this section we look at the processes
More informationFoundations of Business Intelligence: Databases and Information Management
Foundations of Business Intelligence: Databases and Information Management Wienand Omta Fabiano Dalpiaz 1 drs. ing. Wienand Omta Learning Objectives Describe how the problems of managing data resources
More informationFoundations of Business Intelligence: Databases and Information Management
Chapter 6 Foundations of Business Intelligence: Databases and Information Management 6.1 2010 by Prentice Hall LEARNING OBJECTIVES Describe how the problems of managing data resources in a traditional
More informationTutorial on Relational Database Design
Tutorial on Relational Database Design Introduction Relational database was proposed by Edgar Codd (of IBM Research) around 1969. It has since become the dominant database model for commercial applications
More informationEXTENDED LEARNING MODULE A
EXTENDED LEARNING MODULE A DESIGNING DATABASES AND ENTITY- RELATIONSHIP DIAGRAMMING Student Learning Outcomes 1. Identify how databases and spreadsheets are both similar and different. 2. List and describe
More informationwww.dotnetsparkles.wordpress.com
Database Design Considerations Designing a database requires an understanding of both the business functions you want to model and the database concepts and features used to represent those business functions.
More informationDatabase Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB
Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB Outline Database concepts Conceptual Design Logical Design Communicating with the RDBMS 2 Some concepts Database: an
More informationReview your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Test: Final Exam - Database Programming with SQL Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer. Section 8 Lesson 1 1. Which SQL statement below will
More informationCourse 103402 MIS. Foundations of Business Intelligence
Oman College of Management and Technology Course 103402 MIS Topic 5 Foundations of Business Intelligence CS/MIS Department Organizing Data in a Traditional File Environment File organization concepts Database:
More informationLogistics. Database Management Systems. Chapter 1. Project. Goals for This Course. Any Questions So Far? What This Course Cannot Do.
Database Management Systems Chapter 1 Mirek Riedewald Many slides based on textbook slides by Ramakrishnan and Gehrke 1 Logistics Go to http://www.ccs.neu.edu/~mirek/classes/2010-f- CS3200 for all course-related
More informationDatabase Design Overview. Conceptual Design ER Model. Entities and Entity Sets. Entity Set Representation. Keys
Database Design Overview Conceptual Design. The Entity-Relationship (ER) Model CS430/630 Lecture 12 Conceptual design The Entity-Relationship (ER) Model, UML High-level, close to human thinking Semantic
More information