Chapter 9: Database Systems

Slides:



Advertisements
Similar presentations
Chapter Information Systems Database Management.
Advertisements

Chapter 10: Designing Databases
Management Information Systems, Sixth Edition
Chapter Information Systems Database Management.
Chapter 9 Database Systems. 2 Chapter 9: Database Systems 9.1 Database Fundamentals 9.2 The Relational Model 9.3 Object-Oriented Databases 9.4 Maintaining.
Organizing Data & Information
Chapter 9: Database Systems
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 4: Organizing and Manipulating the Data in Databases
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Discovering Computers Fundamentals, 2012 Edition Your Interactive Guide to the Digital World.
Introduction to Accounting Information Systems
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Chapter 4: Organizing and Manipulating the Data in Databases
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe the qualities of valuable information.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Database A database is a collection of data organized to meet users’ needs. In this section: Database Structure Database Tools Industrial Databases Concepts.
Chapter 12: Designing Databases
Lecture2: Database Environment Prepared by L. Nouf Almujally 1 Ref. Chapter2 Lecture2.
CS 1308 Computer Literacy and the Internet
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Chapter 9 Database Systems Introduction to CS 1 st Semester, 2014 Sanghyun Park.
Chapter 9 Database Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 9 Database Systems. © 2005 Pearson Addison-Wesley. All rights reserved 9-2 Chapter 9: Database Systems 9.1 Database Fundamentals 9.2 The Relational.
Advanced Accounting Information Systems Day 10 answers Organizing and Manipulating Data September 16, 2009.
Benjamin Post Cole Kelleher.  Availability  Data must maintain a specified level of availability to the users  Performance  Database requests must.
Introduction to Database Chapter #9 Sec 9.1. What is a Database? A flat file is considered to be one-dimensional storage system because it presents its.
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
1st December 2015Birkbeck College, U. London1 Introduction to Computer Systems Lecturer: Steve Maybank Department of Computer Science and Information Systems.
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
Data The fact and figures that can be recorded in system and that have some special meaning assigned to it. Eg- Data of a customer like name, telephone.
Copyright © 2012 Pearson Education, Inc. Communication Skills.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Fundamental of Database Systems
Datab ase Systems Week 1 by Zohaib Jan.
Chapter 9 Database Systems
Fundamentals & Ethics of Information Systems IS 201
Introduction to Information Technology
Chapter Ten Managing a Database.
Chapter 12 Information Systems.
Information Systems Database Management
Chapter 4 Relational Databases
Chapter 9: Database Systems
Chapter 2 Database Environment Pearson Education © 2009.
MANAGING DATA RESOURCES
Chapter 8 Working with Databases and MySQL
Week 11: Database Management System
Database.
Database Fundamentals(continuing)
Chapter 9: Database Systems
MANAGING DATA RESOURCES
Databases.
Database Management Concepts
Accounting Information Systems 9th Edition
DATABASE Purpose of database
Chapter 2 Database Environment Pearson Education © 2009.
Course Instructor: Supriya Gupta Asstt. Prof
Presentation transcript:

Chapter 9: Database Systems Computer Science: An Overview Eleventh Edition by J. Glenn Brookshear

Database A collection of data that is multidimensional in the sense that internal links between its entries make the information accessible from a variety of perspectives

Figure 9.1 A file versus a database organization

Figure 9.2 The conceptual layers of a database implementation

Schemas Schema: A description of the structure of an entire database, used by database software to maintain the database Subschema: A description of only that portion of the database pertinent to a particular user’s needs, used to prevent sensitive data from being accessed by unauthorized personnel

Database Management Systems Database Management System (DBMS): A software layer that manipulates a database in response to requests from applications Distributed Database: A database stored on multiple machines DBMS will mask this organizational detail from its users Data independence: The ability to change the organization of a database without changing the application software that uses it

Database Models Database model: A conceptual view of a database Relational database model Object-oriented database model

Relational Database Model Relation: A rectangular table Attribute: A column in the table Tuple: A row in the table

Figure 9.3 A relation containing employee information

Relational Design Avoid multiple concepts within one relation Can lead to redundant data Deleting a tuple could also delete necessary but unrelated information

Improving a Relational Design Decomposition: Dividing the columns of a relation into two or more relations, duplicating those columns necessary to maintain relationships Lossless or nonloss decomposition: A “correct” decomposition that does not lose any information

Figure 9.4 A relation containing redundancy

Figure 9.5 An employee database consisting of three relations

Figure 9.6 Finding the departments in which employee 23Y34 has worked

Figure 9.7 A relation and a proposed decomposition

Relational Operations Select: Choose rows Project: Choose columns Join: Assemble information from two or more relations

Figure 9.8 The SELECT operation

Figure 9.9 The PROJECT operation

Figure 9.10 The JOIN operation

Figure 9.11 Another example of the JOIN operation

Figure 9.12 An application of the JOIN operation

Structured Query Language (SQL) Operations to manipulate tuples insert update delete select

SQL Examples select EmplId, Dept from ASSIGNMENT, JOB where ASSIGNMENT.JobId = JOB.JobId and ASSIGNMENT.TermData = “*” insert into EMPLOYEE values (‘43212’, ‘Sue A. Burt’, ’33 Fair St.’, ‘444661111’)

SQL Examples (continued) delete from EMPLOYEE where Name = ‘G. Jerry Smith’ update EMPLOYEE set Address = ‘1812 Napoleon Ave.’ where Name = ‘Joe E. Baker’