CIS 250 Advanced Computer Applications Database Management Systems.

Slides:



Advertisements
Similar presentations
Lecture-7/ T. Nouf Almujally
Advertisements

Introduction to Databases
File Management Chapter 12. File Management A file is a named entity used to save results from a program or provide data to a program. Access control.
Managing data Resources: An information system provides users with timely, accurate, and relevant information. The information is stored in computer files.
Databases Chapter Distinguish between the physical and logical view of data Describe how data is organized: characters, fields, records, tables,
Database Software File Management Systems Database Management Systems.
12 CHAPTER DATABASES Databases are the key to accessing information throughout our lives. Used in hospitals, grocery stores, schools, department stores,
File Systems and Databases
Database Management: Getting Data Together Chapter 14.
1212 CHAPTER DATABASES. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved Competencies Distinguish between the physical and logical view.
Managing data Resources:
Introduction to Database Management
Databases Chapter 11.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 7 Information System Data Management.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Databases Chapter 11.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Models. Flat File The most basic way to organize data is as a flat file. You can think of this as a single table with a large number of records.
IST Databases and DBMSs Todd S. Bacastow January 2005.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
The McGraw-Hill Companies, Inc Information Technology & Management Thompson Cats-Baril Chapter 3 Content Management.
1 California State University, Fullerton Chapter 7 Information System Data Management.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Simple Database.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Database Management System (DBMS)
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 7 Information System Data Management.
Storing Organizational Information - Databases
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Announcements. Data Management Chapter 12 Traditional File Approach  Structure Field  Record  File  Fixed All records have common fields, and a field.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
Chapter 4c, Database H Definition H Structure H Parts H Types.
INFORMATION MANAGEMENT Unit 2 SO 4 Explain the advantages of using a database approach compared to using traditional file processing; Advantages including.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
FILES AND DATABASES. A FILE is a collection of records with similar characteristics, e.g: A Sales Ledger Stock Records A Price List Customer Records Files.
Data resource management
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
GIS Data Models GEOG 370 Christine Erlien, Instructor.
Use of ICT in Data Management AS Applied ICT. Back to Contents Back to Contents.
DATABASES. -2 Competencies Distinguish between the physical and logical view of data Describe how data is organized Describe databases Describe the five.
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
1 Geog 357: Data models and DBMS. Geographic Decision Making.
Introduction to Databases Angela Clark University of South Alabama.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
Copyright © 2012 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Chapter 12: Databases.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
1 Management Information Systems M Agung Ali Fikri, SE. MM.
1 Module # 8 Databases Module # 11 Mostafa Abd-El-Barr Modified by Jehad Al Dallal July 2012.
( ) 1 Chapter # 8 How Data is stored DATABASE.
© 2017 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Databases 11.
Databases and DBMSs Todd S. Bacastow January
MANAGING DATA RESOURCES
Database.
Managing data Resources:
Chapter 12: Databases.
Database & Information Systems
Managing data Resources:
Geographic Information Systems
Presentation transcript:

CIS 250 Advanced Computer Applications Database Management Systems

University of South Alabama - CIS 2502 Databases Used to store electronic information Referred to as secondary storage We will discuss Uses for databases How information may be organized in databases How it may be processed

University of South Alabama - CIS 2503 Data Organization Character – a single letter, number, or character (ex: A) Field – a set of related characters (ex: Last Name) Record – a set of related fields (ex: all information on a specific drivers license) Table – a collection of related records (ex: all drivers licenses for Mobile County) Database – a collection of related files (ex: all drivers license files for the state of Alabama)

University of South Alabama - CIS 2504 Key Fields Key fields are used within each record to specifically identify an individual record Should be unique Example: driver’s license number

University of South Alabama - CIS 2505 Processing of Data Batch processing - data is collected over a period of time (hours, days, or weeks, etc.) and is processed all at once Real-time processing - data is processed at the same time the transaction occurs; more widely used now due to direct access storage (disks)

University of South Alabama - CIS 2506 File Organization 3 main methods of file organization: Sequential Direct file storage Index Sequential

University of South Alabama - CIS 2507 Sequential File Storage Sequentially - records are stored physically one after another in a predetermined order, determined by the key field; can be stored on tapes. Advantage - can be very efficient when all or large portions of the records need to be accessed at the same time Disadvantage - can be much slower when looking for a particular record since we must begin with the 1st record and check through every one in order until we find it

University of South Alabama - CIS 2508 Direct file storage Direct file storage - records are stored on a disk in a particular address that can be determined by their key field; can be stored on disk. Adv - very efficient when finding a specific record and does not require looking through each one in order to access it Disadv - more storage space is required on the disk, which may not be as good when accessing large portions of the record.

University of South Alabama - CIS 2509 Index sequential Index sequential access - a compromise between sequential and direct file access; Records are stored in a file, in sequential order; however, an index also exists. The index lists the key to groups of records and the corresponding disk address for those records. Requires disks as storage devices.

University of South Alabama - CIS Index sequential (cont) Adv - faster than sequential, but not as fast as direct file access for specific records; when updating a large number of records, it is faster than direct access but slower than sequential access. Best used when large amounts of records must be updated only occasionally, but the user also desires quick access to specific records.

University of South Alabama - CIS Benefits of Databases Data Sharing – information in one department can be readily shared with other departments. Security – users can be given passwords and/or access only to the kind of information they need to know while containing all of the information only once in the database. Data Redundancy – fewer files are necessary; the data is stored only once and in one location. This reduces the storage space needed. Data Integrity – Changes made in the file will update all occurrences of the information.

University of South Alabama - CIS Database Management Systems DBMS - special software that allows you to create, modify, and gain access to a database. data dictionary - contains a description of the structure of the data used in the database; defines the field names, what type of data can go into the field, the size of the field, and also defines which field is the key field. query language - allows access to the information in the database; most widely used query language is SQL (structured query language).

University of South Alabama - CIS Database Organization Most common types of database formats are: Hierarchical Database Network Database Relational Database Object Oriented Database

University of South Alabama - CIS Hierarchical Databases Structured in nodes (tree like structure) Each child node has one and only one parent node (a parent may have more than one child node). We refer to this as a 1-to-many relationship. Progress top down to traverse fields. To find information, you must start at the top with a parent node and trace down the tree. Use pointers to connect parent node to child nodes.

University of South Alabama - CIS Hierarchical Databases Advantages of Hierarchical Databases: Efficient and easy to create Disadvantages of Hierarchical Databases: If a parent node is deleted, so are all child nodes Cannot add a child node without adding all parent nodes first Low flexibility – paths and directories to information must be specified in advance; very difficult to change Difficult to maintain

University of South Alabama - CIS Network Databases Variation on the hierarchical database to reduce data redundancy Child nodes can have more than one parent (many-to-many relationship) Nodes are reached through pointers; may provide more than one path to same information

University of South Alabama - CIS Network Databases Advantages of Network Databases: Efficient Faster than hierarchical Less data redundancy Disadvantages of Network Databases: Low flexibility More pointers; the number of pointers increases rapidly, which makes it much more complicated to maintain and operate.

University of South Alabama - CIS Relational Databases The most flexible – it is not hierarchical in nature Uses tables made up of columns and rows Columns correspond to Fields Rows correspond to Records Related tables can be linked together through Common Data Elements (keys, foreign keys)

University of South Alabama - CIS Relational Databases Advantages of Relational Databases: Simple to add, delete, and edit; there are no pointers It can relate data in one field in one table to another field in another table Flexible – ad hoc queries can combine data from different sources Disadvantages of Relational Databases: Slower – may require multiple access to the data Requires some data redundancy in order to be more efficient - the same data must appear in multiple tables to link the tables Must remember to change/update all tables

University of South Alabama - CIS Object Oriented Databases  Handles unstructured data such as photographs, graphics, audio, video, etc.  Keep track of objects – both data and the action that can be taken on the object.

University of South Alabama - CIS Types of Databases Individual – collection of files primarily used by just one person Company/Shared – databases that can be used by multiple users, shared through local area networks Distributed – data for the database is stored in multiple locations with access through communication networks Proprietary – an enormous database developed to cover particular subject areas; usually offers access to people for a fee – databanks.

CIS 250 Advanced Computer Applications Database Management Systems