Introduction to Database Changes and new experience make life delightful. Unanimous.

Slides:



Advertisements
Similar presentations
Database Management.
Advertisements

Chapter 10 Database Management
C6 Databases.
Technology Guide 3 Data and Database T3-1. IT for Management Prof. Efraim Turban T3-2 File Management Hierarchy of data for a computer-based file Record.
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.
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 10 Managing a Database.
12 CHAPTER DATABASES Databases are the key to accessing information throughout our lives. Used in hospitals, grocery stores, schools, department stores,
Database Management: Getting Data Together Chapter 14.
Organizing Data & Information
3-1 Chapter 3 Data and Knowledge Management
1 Data & Database Development. 2 Data File Bit Byte Field Record File Database Entity Attribute Key field Key file management concepts include:
Living in a Digital World Discovering Computers 2010.
1212 CHAPTER DATABASES. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved Competencies Distinguish between the physical and logical view.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Database Management.
Database Management COP4540, SCS, FIU An Introduction to database system.
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,
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.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Objectives Overview Define the term, database, and explain how a database interacts with data and information Define the term, data integrity, and describe.
Technology Guide 3 Data & Databases.
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.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Chapter 9 Database Management
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.
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.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Chapter 13 Databases and Information Management. Explain why data and information are important to an organization Identify file maintenance techniques.
Discovering Computers 2008 Chapter 10 Database Management.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
+ Information Systems and Databases 2.2 Organisation.
DATA RESOURCE 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.
3/6: Data Management, pt. 2 Refresh your memory Relational Data Model
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.
CIS 250 Advanced Computer Applications Database Management Systems.
Chapter 11 Information and Data Management Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Introduction to Databases Angela Clark University of South Alabama.
Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005.
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.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Managing Data Resources File Organization and databases for business information systems.
© 2017 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Database Management System
Introduction to Information Technology
Chapter Ten Managing a Database.
Database Management Systems
Chapter 13 Databases and Information Management
MANAGING DATA RESOURCES
The ultimate in data organization
Presentation transcript:

Introduction to Database Changes and new experience make life delightful. Unanimous

Data and Information How are data and information related? Next processing data stored on disk Step 1. The member data, including a photograph, is entered and stored on the hard disk. Step 2. The computer extracts the member data from disk. Step 3. The receipt is created and printed.  Data is raw facts  Information is data that is organized and meaningful receipt  Computers process data into information

Add, change, and delete data Create database Sort and retrieve data Create forms and reports Data and Information What is a database? 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)

To create a database, designers must develop a conceptual design and a physical design Conceptual design: An abstract model of a database from the user or business perspective. Physical design: Layout that shows how a database is actually arranged on storage devices. Creating the Database

Entity-relationship modeling: The process of designing a database by organizing data entities to be used and identifying the relationships among them. Entity-relationship (ER) diagram: Document that shows data entities and attributes and relationships among them. Entity classes: A grouping of entities of a given type. Instance: A particular entity within an entity class.

Identifier: An attribute that identifies an entity instance. Relationships: The conceptual linking of entities in a database. The number of entities in a relationship is the degree of the relationship. Relationships between two items are common and are called binary relationships.

There are three types of binary relationships:  In a 1:1 (one-to-one) relationship, a single-entity instance of one type is related to a single-entity instance of another type.  In a 1: M (one-to-many) relationship, a single-entity instance of one type is related to many-entity instance of another type.  In a M:M (many-to-many) relationship, a single- entity instance of one type is related to many-entity of another type and vice versa.

Entity- relationship diagram model

Normalization A method for analyzing and reducing a relational database to its most streamlined form for minimum redundancy, maximum data integrity, and best processing performance

Non-normalized relation

Normalized relation

Physical view: The plan for the actual, physical arrangement and location of data in the direct access storage devices (DASDs) of a database management system. Logical view: The user’s view of the data and the software programs that process that data in a database management system.

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

The Hierarchy of Data What is a field? Next  Combination of one or more characters  Smallest unit of data user accesses  Field size defines the maximum number of characters a field can contain  Field name uniquely identifies each field  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? 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? Next Group of related fields Key field, or primary key, uniquely identifies each record

The Hierarchy of Data What is a data file? Next  Collection of related records stored on disk key field recordsfields 22 Fifth Avenue P.O. Box Duluth Street Clark Street 1029 Wolf Avenue Address Auburn Clanton Prattville Montgomery City ALWeinbergJonah3928 ALMarcus4872 ALValesquezAdrian3376 ALMurrayShannon2928 ALVandenbergDonna2295 StateLast NameFirst NameMember ID Green

Isolated data—data stored in separate files so it is difficult to access File Processing Versus Databases What is a file processing system? 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? 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? 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? Next

Database Management Systems What are popular database management systems (DBMSs)? Next Personal computer, midrange server, mainframe IBM CorporationDB2 Personal computer, midrange server, mainframe IBM CorporationInformix ServerMicrosoft CorporationSQL Server Personal computer, midrange server, PDA Sybase Inc.Sybase Personal computer, midrange server, mainframe, PDA Oracle CorporationOracle Personal computer, midrange server, mainframe Computer Associates International, Inc. Ingres Personal computer, server, PDAMicrosoft CorporationAccess Computer TypeManufacturerDatabase

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

Database Management Systems What is Structured Query Language (SQL)? Next  Allows you to manage, update, and retrieve data  Has special keywords and rules included in SQL statements SQL statement SQL statement results

Database Management Systems What is a query? 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 Step 1. Select the fields you want to display in the resulting query. Step 2. Assign a name to the query, so you can open it later. Step 3. View query on the screen.

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

Database Management Systems What is a form? 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. 532 Fig Next  Allows user to design a report on screen, retrieve data into report design, then display or print reports  Also called report writer

What is a data model? p. 534 Fig Next  Rules and standards that define how database organizes data  Defines how users view organization of data  The three most common data models are hierarchical, network, and relational. Other types of data models include multidimensional, object- relational, hypermedia, embedded, and virtual DATA MODELS FOR POPULAR DBMSs Data model

Relational database What is a relational database? 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 DATA TERMINOLOGY

Relational database What is a relationship? Next  Connection within data

Hierarchical database model rigidly structures data into an inverted “tree” in which each record contains two elements, a single root or master field, often called a key, and a variable number of subordinate fields. The strongest advantage of the hierarchical database approach is the speed and efficiency with which it can be searched for data. The hierarchical model does have problems: Access to data in this model is predefined by the database administrator before the programs that access the data are written. Programmers must follow the hierarchy established by the data structure. Hierarchical Database Model

Hierarchical Database model

Data model that creates relationships among data in which subordinate records can be linked to more than one data element. Network Database Model

Advantages and Disadvantages of Logical Data Models ModelAdvantagesDisadvantages Hierarchical databaseSearching is fast and efficient.Access to data is predefined by exclusively hierarchical relationships, predetermined by administrator. Limited search/query flexibility. Not all data are naturally hierarchical. NetworkMany more relationships can be defined. There is greater speed and efficiency than with relational database models. This is the most complicated database model to design, Implement, and maintain.Greater query flexibility than withhierarchical model, but less than with relational model. Relational databaseConceptual simplicity; there are no predefined relationships among data. High flexibility in ad-hoc querying. New data and records can be added easily. Processing efficiency and speed are lower. Data redundancy is common, requiring additional maintenance.

Emerging Data Models Two emerging data models are the object-relational and hypermedia models  Object-relational database model: Data model that adds new object storage capabilities to relational databases.  Hypermedia database model: Data model that stores chunks of information in nodes that can contain data in a variety of media; users can branch to related data in any kind of relationship.

Specialized Database Models Geographical information database: Data model that contains locational data for overlaying on maps or images. Knowledge database: Data model that can store decision rules that can be used for expert decision making.

Small-footprint database: The subset of a larger database provided for field workers. Embedded database: A database built into devices or into applications; designed to be self-sufficient and to require little or no administration. Virtual database: A database that consists only of software; manages data that can physically reside anywhere on the network and in a variety of formats.

What is an object-oriented database (OODB)? Next Advantages Often uses object query language (OQL) Stores data in objects 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

What are examples of applications appropriate for an object-oriented database? 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