Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.

Slides:



Advertisements
Similar presentations
Chapter 10: Designing Databases
Advertisements

The database approach to data management provides significant advantages over the traditional file-based approach Define general data management concepts.
Management Information Systems, Sixth Edition
Chapter 13: Electronic Commerce and Information Security Invitation to Computer Science, Java Version, Third Edition.
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Information Technology in Organizations
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Databases Chapter 11.
CSC 2720 Building Web Applications Database and SQL.
Databases and Database Management Systems
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
COMPUTING FOR BUSINESS AND ECONOMICS-III. Lecture no.6 COURSE INSTRUCTOR- Ms. Tehseen SEMESTER- Summer 2010.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
Intro to MIS – MGS351 Databases and Data Warehouses Chapter 3.
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Invitation to Computer Science 5th Edition
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
Introduction to Accounting Information Systems
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Chapter 15: Using LINQ to Access Data in C# Programs.
Management Information Systems By Effy Oz & Andy Jones
CIS 103 — Applied Computer Technology Last Edited: September 17, 2010 by C.Herbert Using Database Management Systems.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
7.1 Managing Data Resources Chapter 7 Essentials of Management Information Systems, 6e Chapter 7 Managing Data Resources © 2005 by Prentice Hall.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
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.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
Storing Organizational Information - Databases
1 Chapter 1 Introduction. 2 Introduction n Definition A database management system (DBMS) is a general-purpose software system that facilitates the process.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Databases MIS 21. Some database terminology  Database: integrated collection of data  Database Management System (DBMS): environment that provides mechanisms.
CS 1308 Computer Literacy and the Internet
 2001 Prentice Hall Business Publishing, Accounting Information Systems, 8/E, Bodnar/Hopwood A field may be a single character or number, or it.
Technology Guide 3 Data & Database. Agenda Definition File processing problems Database Selection criteria.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Chapter 8 Data and Knowledge Management. 2 Learning Objectives When you finish this chapter, you will  Know the difference between traditional file organization.
Database revision.
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.
Database Fundamentals CSC105 Furman University Peggy Batchelor.
Foundations of Business Intelligence: Databases and Information Management.
Chapter 10 Database Management. Data and Information How are data and information related? p Fig Next processing data stored on disk Step.
Principles of Database Design, Part I AIMS 2710 R. Nakatsu.
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
6.1 FILE ORGANIZATION BIT: Binary Digit (0,1; Y,N; On,Off)BIT: Binary Digit (0,1; Y,N; On,Off) BYTE: Combination of BITS which represent a CHARACTERBYTE:
2/20: Ch. 6 Data Management What is data? How is it stored? –Traditional management storage techniques; problems –DBMS.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
Data Resource Management Lecture 8. Traditional File Processing Data are organized, stored, and processed in independent files of data records In traditional.
Copyright © 2013 Dorling Kindersley (India) Pvt. Ltd. Management Information Systems: Managing the Digital Firm, 12eAuthors: Kenneth C. Laudon and Jane.
Databases Chapter 16.
Chapter 4 Relational Databases
Database.
PHP and MySQL.
MANAGING DATA RESOURCES
Presentation transcript:

Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition

Invitation to Computer Science, Java Version, Second Edition 2 Databases An electronic database  Stores data items  Data items can be extracted  Data items can be sorted  Data items can be manipulated to reveal new information

Invitation to Computer Science, Java Version, Second Edition 3 Data Organization Byte  A group of eight bits  Can store the binary representation of a single character or of a small integer number  A single unit of addressable memory Field  A group of bytes used to represent a string of characters

Invitation to Computer Science, Java Version, Second Edition 4 Data Organization (continued) Record  A collection of related fields Data file  Related records are kept in a data file Database  Related files make up a database

Invitation to Computer Science, Java Version, Second Edition 5 Figure 13.3 Data Organization Hierarchy

Invitation to Computer Science, Java Version, Second Edition 6 Figure 13.4 Records and Fields in a Single File

Invitation to Computer Science, Java Version, Second Edition 7 Figure 13.5 One Record in the Rugs-For-You Employees File

Invitation to Computer Science, Java Version, Second Edition 8 Database Management Systems Database management system (DBMS)  Manages the files in a database Relational database model  Conceptual model of a file as a two-dimensional table

Invitation to Computer Science, Java Version, Second Edition 9 Database Management Systems (continued) In a relational database  A table represents information about an entity  A row contains data about one instance of an entity  A row is called a tuple  Each category of information is called an attribute

Invitation to Computer Science, Java Version, Second Edition 10 Figure 13.6 Employees Table for Rugs-For-You

Invitation to Computer Science, Java Version, Second Edition 11 Figure 13.7 InsurancePolicies Table for Rugs-For-You

Invitation to Computer Science, Java Version, Second Edition 12 Database Management Systems (continued) Specialized query languages  Enable the user or another application program to query the database  Example: SQL (Structured Query Language) Relationships among different entities in a database  Established through the correspondence between primary keys and foreign keys

Invitation to Computer Science, Java Version, Second Edition 13 SELECT ID, LASTNAME, FIRSTNAME, PAYRATE FROM EMPLOYEES WHERE LASTNAME = ‘KAY’ ;

Invitation to Computer Science, Java Version, Second Edition 14 Figure 13.8 Three Entities in the Rugs-For-You Database

Invitation to Computer Science, Java Version, Second Edition 15 Other Considerations Performance issues  Large files are maintained on disk  Organizing record storage on disk can minimize time to access a particular record  Creating additional records to be stored with the file can significantly reduce access time

Invitation to Computer Science, Java Version, Second Edition 16 Other Considerations (continued) Distributed databases  Allow physical data to reside at separate and independent locations that are networked Massive, integrated government databases raise legal, political, social, and ethical issues

Invitation to Computer Science, Java Version, Second Edition 17 Summary Database: allows data items to be stored, extracted, sorted, and manipulated Relational database model: conceptual model of a file as a two-dimensional table