Discovering Computers 2008 Chapter 10 Database Management.

Slides:



Advertisements
Similar presentations
Database Management.
Advertisements

Chapter 10 Database Management
Lecture-7/ T. Nouf Almujally
Management Information Systems, Sixth Edition
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 10 Managing a Database.
Database Management: Getting Data Together Chapter 14.
Living in a Digital World Discovering Computers 2010.
Discovering Computers Fundamentals, 2011 Edition Living in a Digital World.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS CHAPTER 3
Introduction to Database Management
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 3-2 STUDENT LEARNING OUTCOMES 1.Describe business intelligence and its role 2.Compare databases and data warehouses.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Chapter 4 Database Management Systems. Chapter 4Slide 2 What is a Database Management System (DBMS)?  Database An organized collection of related data.
Lecture-8/ T. Nouf Almujally
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Management.
Database Design IST 7-10 Presented by Miss Egan and Miss Richards.
Chapter 9 Database Management
Chapter 10 Database Management. Chapter 10 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Explain.
Software Development Unit 2 Databases What is a database? A collection of data organised in a manner that allows access, retrieval and use of that data.
Discovering Computers 2009 Chapter 10 Database Management.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Your Interactive Guide to the Digital World Discovering Computers 2012.
Discovering Computers Fundamentals, 2012 Edition Your Interactive Guide to the Digital World.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Chapter 10 Database Management. How it Works What is a Database?  Where do you find Databases?  What is a Database Manager?  Name some Databases:
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
Chapter 13 Databases and Information Management
1 CSC 101 Introduction to Computing Lecture 27 Dr. Iftikhar Azim Niaz 1.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
Database Management.
Chapter 9 Database Management
1 CSC 101 Introduction to Computing Lecture 26 Dr. Iftikhar Azim Niaz 1.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Chapter 10 Database Management. Chapter 10 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Explain.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS CHAPTER 3
Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe the qualities of valuable information.
Chapter 9 Database Management. Chapter 9 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Discuss.
Chapter 13 Databases and Information Management. Explain why data and information are important to an organization Identify file maintenance techniques.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
MC-Quiz: Chapter 10 - Database Management Discovering Computers 2010.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
ITGS Databases.
Data resource management
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Chapter 10 Database Management. Data and Information How are data and information related? p Fig Next processing data stored on disk Step.
0 / Database Management. 1 / Identify file maintenance techniques Discuss the terms character, field, record, and table Describe characteristics.
Chapter 10 Database Management. Chapter 10 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Explain.
1 Chapter 9 Database Management. Objectives Overview Define the term, database, and explain how a database interacts with data and information Describe.
Chapter 11 Information and Data Management Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Introduction to Databases Dr. Osama AL Rababah. Objectives In this capture you will learn: Some common uses of database systems. The characteristics of.
Introduction to Database Changes and new experience make life delightful. Unanimous.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. DATABASE.
Chapter 10 Database Management. Chapter 10 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Explain.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
© 2017 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Introduction to Computing Slides By ADEELA MUSTAFA.
Management Information Systems by Prof. Park Kyung-Hye Chapter 7 (8th Week) Databases and Data Warehouses 07.
Database Management System
Chapter Ten Managing a Database.
Database Management Systems
Chapter 13 Databases and Information Management
The ultimate in data organization
Presentation transcript:

Discovering Computers 2008 Chapter 10 Database Management

Chapter 10 Objectives Discuss the functions common to most DBMSs Identify the qualities of valuable information Explain why data is important to an organization Discuss the terms character, field, record, and file Identify file maintenance techniques Differentiate between a file processing system approach and the database approach Describe characteristics of relational, object-oriented, and multidimensional databases Explain how to interact with Web databases Discuss the responsibilities of database analysts and administrators Next Define the term, database

Add, change, and delete data Create database Sort and retrieve data Create forms and reports Data and Information What is a database? p Next Database software allows you to Collection of data organized so you can access, retrieve, and use it Database software also called database management system (DBMS)

Data and Information How are data and information related? p Fig Next  Data is a collection of unprocessed items  Information is data that is organized and meaningful  Computers process data into information

Data and Information What is data integrity? p. 516 Next  Degree to which data is correct  Garbage in, garbage out (GIGO)—computer phrase that means you cannot create correct information from incorrect data Garbage out Garbage in Data integrity is lost

Useful Accessible Organized Data and Information What are the qualities of valuable information? p Next Timely Verifiable Accurate Cost-effective

The Hierarchy of Data What is a hierarchy? p. 517 Fig Next  Database contains files, file contains records, record contains fields, field contains characters

The Hierarchy of Data What is a field? p. 518 Fig Next  Combination of one or more characters  Smallest unit of data user accesses  Field name uniquely identifies each field  Field size defines the maximum number of characters a field can contain  Data type specifies kind of data field contains

Yes/No (also called Boolean)—only the values Yes or No (or True or False) Hyperlink Web address that links to document or Web page Object (also called BLOB for binary large object)—photograph, audio, video, or document created in other application such as word processing or spreadsheet The Hierarchy of Data What are common data types? p. 518 Next Currency dollar and cent amounts or numbers containing decimal values Date month, day, year, and sometimes time Memo lengthy text entries Text (also called alphanumeric)—letters, numbers, or special characters Numeric numbers onlyAutoNumber unique number automatically assigned to each new record

The Hierarchy of Data What is a record? p. 519 Next Group of related fields Key field, or primary key, uniquely identifies each record

The Hierarchy of Data What is a data file? p. 518 – 519 Fig Next  Collection of related records stored on disk key field recordsfields 2 East Penn Drive 99 Tenth Street 33 Timmons Place Clark Street 54 Lucy Court Address Pittsboro Carmel Cincinnati Montgomery Shelbyville City INRuizAdelbert3928 INElena4872 OHDrakeLouella3876 ALMurrayShannon2928 INBrewerMilton2295 StateLast NameFirst NameMember ID Gupta

Maintaining Data What is file maintenance? p. 520 Next Changing recordsAdding records Deleting records  Procedures that keep data current

Maintaining Data Why do you add records? p. 520 Fig Next  Add new record when you obtain new data

Maintaining Data Why do you change records? p. 521 Fig Next  Correct inaccurate data  Update old data

Maintaining Data Why do you delete records? p. 522 Fig Next  When record no longer is needed  Some programs remove record immediately, others flag record

Maintaining Data What is validation? p Fig Next  Process of comparing data with a set of rules to find out if data is correct  Reduce data entry errors and enhance data integrity before program writes data on disk

Consistency Check tests for logical relationship between two or more fields Maintaining Data p. 523 Next What are the types of validity checks? Range Check determines whether number is within specified range Completeness Check verifies that a required field contains data Check Digit number(s) or character(s) appended to or inserted into a primary key value to confirm accuracy of primary key value Alphabetic/ Numeric Check ensures correct type of data entered

Isolated data—data stored in separate files so it is difficult to access File Processing Versus Databases What is a file processing system? p. 524 Next Data redundancy— same fields stored in multiple files Each department or area within organization has own set of files May have weaknesses Records in one file may not relate to records in any other file

File Processing Versus Databases What is the database approach? p Fig Next  Many programs and users can share data in database  Secures data so only authorized users can access certain data

File Processing Versus Databases What are the strengths of the database approach? p. 525 Next Reduced data redundancy Improved data integrity Shared data Shared data Easier access Reduced development time

File Processing Versus Databases How do a database application and a file processing application differ in the way they store data? p. 525 Fig Next

Database Management Systems What are popular database management systems (DBMSs)? p. 526 Fig Next

Database Management Systems What is a data dictionary? p. 527 Fig Next  Contains data about each file in database and each field within those files

Database Management Systems What is a query? p Fig Next  Request for specific data from a database  Query language consists of simple, English-like statements that allow users to specify data to display, print, or store

Database Management Systems What is a query by example (QBE)? p Fig Next  Program retrieves records that match criteria entered in form fields  Has a graphical user interface that assists users with retrieving data

Database Management Systems What is a form? p. 530 Fig Next  Window on screen that provides areas for entering or changing data in database  Used to retrieve and maintain data in a database  Form that sends data across network or Internet is called e-form, short for electronic form

Database Management Systems What is a report generator? p. 530 Fig Next  Allows user to design a report on screen, retrieve data into report design, then display or print reports  Also called report writer

Database Management Systems What is data security? p Next Read-only privileges - user can view data, but cannot change it Read-only privileges - user can view data, but cannot change it DBMS provides means to ensure only authorized users can access data Access privileges define activities that specific user or group of users can perform Full-update privileges - user can view and change data

Database Management Systems What are backup and log? p. 531 Fig Next  Backup is a copy of the entire database  Log is a listing of activities that change database contents  DBMS places three items in log: before image, actual change, and after image

Database Management Systems What is a recovery utility? p Next Uses logs and/or backups to restore database when it is damaged or destroyed Rollforward— DBMS uses log to re-enter changes made to data- base since last save or backup  Also called forward recovery Rollback— DBMS uses log to undo any changes made to database during a certain period of time  Also called backward recovery

Relational, Object-Oriented, and Multidimensional Databases What is a data model? p. 532 Fig Next  Rules and standards that define how database organizes data  Defines how users view organization of data  Four popular data models  Relational  Object-oriented  Object-relational  Multidimensional

Relational, Object-Oriented, and Multidimensional Databases What is a relational database? p. 533 Fig Next  Stores data in tables that consist of rows and columns  Each row has primary key  Each column has unique name  Stores data relationships  Uses specialized terminology

Relational, Object-Oriented, and Multidimensional Databases What is a relationship? p. 533 Fig Next  Connection within data

Relational, Object-Oriented, and Multidimensional Databases What is Structured Query Language (SQL)? p. 534 Fig Next  Allows you to manage, update, and retrieve data  Has special keywords and rules included in SQL statements

Relational, Object-Oriented, and Multidimensional Databases What is an object-oriented database (OODB)? p Next Advantages object query language (OQL) Often uses object query language (OQL) Stores data in objects Object Object is item that contains data, as well as actions that read or process data  Can store more types of data  Can access data faster  Programmers can reuse objects

Relational, Object-Oriented, and Multidimensional Databases What are examples of applications appropriate for an object-oriented database? p. 534 Next Multimedia databases Store images, audio clips, and/or video clips Groupware databases Store documents such as schedules, calendars, manuals, memos, and reports Computer-aided design (CAD) databases Store data about engineering, architectural, and scientific designs Hypertext databases Contain text links to other documents Hypermedia databases Contain text, graphics, video, and sound Web databases Link to e-form on Web page

What is a multidimensional database? Relational, Object-Oriented, and Multidimensional Databases p. 535 Next Stores data in dimensions Multiple dimensions, also called hypercube, allow users to analyze any view of data Can consolidate data much faster than relational database

Relational, Object-Oriented, and Multidimensional Databases What is a data warehouse? p. 536 Next Data mart is smaller version of data warehouse Uses multidimensional databases Often uses a process called data mining to find patterns and relationships among data Huge database system that stores and manages data required to analyze historical and current transactions Quick and efficient way to access large amounts of data

Web Databases What is a Web database? p Fig Next  Database you access through the Web by filling in a form on a Web page  Usually resides on a database server, a computer that stores and provides access to a database

3. Design the records and fields for each table 2. Design the tables 1. Determine the purpose of the database 4. Determine the relationships among the tables or files  Design tables on paper first  Each table should contain data about one subject Database Administration What are guidelines for developing a database? p. 537 Fig Next  Be sure every record has a unique primary key  Use separate fields for logically distinct items  Do not create fields for information that can be derived from entries in other fields  Allow enough space for each field  Set default values for frequently entered data

Database Administration What is the role of the database analyst and administrator? p. 538 Next Database analyst (DA) Database administrator (DBA)  Focuses on meaning and usage of data  Decides proper placement of fields, defines relationships, and identifies users’ access privileges  Creates and maintains data dictionary, manages database security, monitors database performance, and checks backup and recovery procedures

Summary of Database Management Chapter 10 Complete How data and information are valuable assets to an organization Methods for maintaining high-quality data Assessing the quality of valuable information Advantages of organizing data in a database Various types of databases Role of the database analysts and administrators