© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management
© Paradigm Publishing Inc. 9-2 Presentation Overview Database Basics Databases and Information Systems Database Management System Software Types of Databases Planning and Designing Database Systems Using Databases Database Administration
© Paradigm Publishing Inc. 9-3 Database Basics What is a database and how does it organize information?
© Paradigm Publishing Inc. 9-4 Database Basics What is a database and how does it organize information? A database is a computerized system for storing information in an organized manner so that it can be searched for and retrieved when needed. Information is stored in the form of fields, records, and files.
© Paradigm Publishing Inc. 9-5 Database Basics Data vs Information
© Paradigm Publishing Inc. 9-6 Database Basics Data vs Information –Data – raw, unorganized content in the form of words, numbers, sounds, or images
© Paradigm Publishing Inc. 9-7 Database Basics Data vs Information –Data – raw, unorganized content in the form of words, numbers, sounds, or images –Information – data associated with other useful data on the same topic
© Paradigm Publishing Inc. 9-8 Database Basics Levels of Data within a Database
© Paradigm Publishing Inc. 9-9 Database Basics Levels of Data within a Database –Entity – a person, place, thing, or event
© Paradigm Publishing Inc Database Basics Levels of Data within a Database –Entity – a person, place, thing, or event –Field – a single value, such as a name, address, or dollar amount data type: usually numeric or text (numbers and text) name: assigned by person developing the database size: number of characters that can be entered
© Paradigm Publishing Inc Database Basics Levels of Data within a Database –Entity – a person, place, thing, or event –Field – a single value, such as a name, address, or dollar amount data type: usually numeric or text (numbers and text) name: assigned by person developing the database size: number of characters that can be entered –Record – related fields describing an event or situation
© Paradigm Publishing Inc Database Basics Levels of Data within a Database –Entity – a person, place, thing, or event –Field – a single value, such as a name, address, or dollar amount data type: usually numeric or text (numbers and text) name: assigned by person developing the database size: number of characters that can be entered –Record – related fields describing an event or situation –File – collection of records of the same type
© Paradigm Publishing Inc Database Basics Traditional database organizes data in a hierarchy. A field is the smallest element. Fields are within a record. Records are organized in a data file. Database is a collection of data files.
© Paradigm Publishing Inc Database Basics Common field data types
© Paradigm Publishing Inc Databases and Information Systems Management Information Systems (MIS)
© Paradigm Publishing Inc Databases and Information Systems Management Information Systems (MIS) –used to track and control every transaction through a database
© Paradigm Publishing Inc Databases and Information Systems Management Information Systems (MIS) –used to track and control every transaction through a database –transaction – any business activity central to the nature of the enterprise
© Paradigm Publishing Inc Databases and Information Systems Office Information Systems
© Paradigm Publishing Inc Databases and Information Systems Office Information Systems –designed as replacement for paper-based information systems
© Paradigm Publishing Inc Databases and Information Systems Office Information Systems –designed as replacement for paper-based information systems –gives quick access to office paperwork
© Paradigm Publishing Inc Databases and Information Systems Decision Support Systems
© Paradigm Publishing Inc Databases and Information Systems Decision Support Systems –designed to help management make decisions about an operation
© Paradigm Publishing Inc Databases and Information Systems Decision Support Systems –designed to help management make decisions about an operation –allows managers to work with “what if” scenarios
© Paradigm Publishing Inc Databases and Information Systems Factory Automation Systems
© Paradigm Publishing Inc Databases and Information Systems Factory Automation Systems –runs an assembly line directly, controlling manufacturing processes from shop-floor level of conveyor belts and robots
© Paradigm Publishing Inc Databases and Information Systems Factory Automation Systems –runs an assembly line directly, controlling manufacturing processes from shop-floor level of conveyor belts and robots –may be part of complete CIM system that controls manufacturing process from beginning to end
© Paradigm Publishing Inc Database Management System Software Database Keys
© Paradigm Publishing Inc Database Management System Software Database Keys –Key – attribute used to identify and provide a means to search database
© Paradigm Publishing Inc Database Management System Software Database Keys –Key – attribute used to identify and provide a means to search database –Primary key – most important key in a field
© Paradigm Publishing Inc Database Management System Software Database Keys –Key – attribute used to identify and provide a means to search database –Primary key – most important key in a field –Data browsing – process of moving through a database file, examining each record and looking for information
© Paradigm Publishing Inc Database Management System Software Query Tools
© Paradigm Publishing Inc Database Management System Software Query Tools –Query tools help users narrow down information needed to be searched.
© Paradigm Publishing Inc Database Management System Software Query Tools –Query tools help users narrow down information needed to be searched. –A query allows users to ask questions designed to retrieve information.
© Paradigm Publishing Inc Database Management System Software Query Tools –Query tools help users narrow down information needed to be searched. –A query allows users to ask questions designed to retrieve information. –A select command asks a database to return records that match specific criteria.
© Paradigm Publishing Inc Database Management System Software Query Tools –Query tools help users narrow down information needed to be searched. –A query allows users to ask questions designed to retrieve information. –A select command asks a database to return records that match specific criteria. –Joining matches data from fields in various files.
© Paradigm Publishing Inc Database Management System Software Structured Query Language (SQL) This SQL statement could search for top students in a college, with “top” defined as those students with a grade point average (GPA) above 3.49.
© Paradigm Publishing Inc Database Management System Software Joining matches data from fields in various record files. Both Student Personal Records and Student Grade Records files would have a common Student ID number field, allowing information from both files to be returned in a single query.
© Paradigm Publishing Inc Database Management System Software Metadata and the Data Dictionary
© Paradigm Publishing Inc Database Management System Software Metadata and the Data Dictionary –Metadata – information about data; describes significance of various elements of a database
© Paradigm Publishing Inc Database Management System Software Metadata and the Data Dictionary –Metadata – information about data; describes significance of various elements of a database –Data dictionary – a body of metadata
© Paradigm Publishing Inc Types of Databases Flat File Databases
© Paradigm Publishing Inc Types of Databases Flat File Databases –database contains only one table or file
© Paradigm Publishing Inc Types of Databases Flat File Databases –database contains only one table or file –simple and easy to use
© Paradigm Publishing Inc Types of Databases Flat File Databases –database contains only one table or file –simple and easy to use –slower to respond because records must be searched sequentially
© Paradigm Publishing Inc Types of Databases Flat File Databases –database contains only one table or file –simple and easy to use –slower to respond because records must be searched sequentially –generally consume more disk space
© Paradigm Publishing Inc Types of Databases Relational Databases
© Paradigm Publishing Inc Types of Databases Relational Databases –Fields can be shared among all files in the database, making it possible to connect them.
© Paradigm Publishing Inc Types of Databases Relational Databases –Fields can be shared among all files in the database, making it possible to connect them. –A file is called a table (consists of rows and columns).
© Paradigm Publishing Inc Types of Databases Relational Databases –Fields can be shared among all files in the database, making it possible to connect them. –A file is called a table (consists of rows and columns). –A record is called a tuple.
© Paradigm Publishing Inc Types of Databases Relational Databases –Fields can be shared among all files in the database, making it possible to connect them. –A file is called a table (consists of rows and columns). –A record is called a tuple. –A field is called an attribute.
© Paradigm Publishing Inc Types of Databases Object-Oriented Databases
© Paradigm Publishing Inc Types of Databases Object-Oriented Databases –stores data in the form of objects (units of object- oriented programming logic)
© Paradigm Publishing Inc Types of Databases Object-Oriented Databases –stores data in the form of objects (units of object- oriented programming logic) –object contains data related to the object and the actions to be performed on the object
© Paradigm Publishing Inc Types of Databases Object-Oriented Databases –stores data in the form of objects (units of object- oriented programming logic) –object contains data related to the object and the actions to be performed on the object –speeds up database functions and makes database development easier
© Paradigm Publishing Inc Types of Databases Multimedia Databases allows storage of pictures, movies, sounds, and hyperlinked fields
© Paradigm Publishing Inc Types of Databases Multimedia Databases allows storage of pictures, movies, sounds, and hyperlinked fields Hybrid Databases several different models combined to allow more effective data handling
© Paradigm Publishing Inc Types of Databases Operational Databases
© Paradigm Publishing Inc Types of Databases Operational Databases –operational database tracks an operation or situation, such as the inventory of a store
© Paradigm Publishing Inc Types of Databases Operational Databases –operational database tracks an operation or situation, such as the inventory of a store –distributed database – is spread across multiple networked computers – each computer shares a portion of the data – can hold more information – is cheaper – is easier to use
© Paradigm Publishing Inc Types of Databases Data Warehouses
© Paradigm Publishing Inc Types of Databases Data Warehouses –used to store data gathered from one or more databases
© Paradigm Publishing Inc Types of Databases Data Warehouses –used to store data gathered from one or more databases –does not change, delete, or manipulate data they store
© Paradigm Publishing Inc Planning and Designing Database Systems How are databases designed?
© Paradigm Publishing Inc Planning and Designing Database Systems How are databases designed? System analysts or database designers follow three steps to plan a database 1.Create an organizational structure for the data. 2.Design an interface that makes the database user- friendly. 3.Set up reporting capabilities to allow for inquiry and response.
© Paradigm Publishing Inc Planning and Designing Database Systems User requests and enters data through the front-end interface program. The database management system manages the retrieval and update of the database itself.
© Paradigm Publishing Inc Planning and Designing Database Systems Database Objects: Tools in the DBMS
© Paradigm Publishing Inc Planning and Designing Database Systems Database Objects: Tools in the DBMS –form – template that allows users to enter data into the database
© Paradigm Publishing Inc Planning and Designing Database Systems Database Objects: Tools in the DBMS –form – template that allows users to enter data into the database –report – formatted body of output from a database
© Paradigm Publishing Inc Planning and Designing Database Systems Database Objects: Tools in the DBMS –form – template that allows users to enter data into the database –report – formatted body of output from a database –data filter – filtering material in a database to restrict a database search
© Paradigm Publishing Inc Using Databases What are the types of data processing?
© Paradigm Publishing Inc Using Databases What are the types of data processing? –Batch processing – occurs at a scheduled time or when a critical point has been reached
© Paradigm Publishing Inc Using Databases What are the types of data processing? –Batch processing – occurs at a scheduled time or when a critical point has been reached –Transactional processing – more continuous real time system – data must be accurate to the second online transactional processing – very fast, always-on processing
© Paradigm Publishing Inc Using Databases What are the types of data processing? –Batch processing – occurs at a scheduled time or when a critical point has been reached –Transactional processing – more continuous real time system – data must be accurate to the second online transactional processing – very fast, always-on processing –Mixed forms of processing – transactional and batch processing in the same system
© Paradigm Publishing Inc Using Databases Database Users
© Paradigm Publishing Inc Using Databases Database Users Data entry operators type data into databases and make sure that it is accurate. They – add records
© Paradigm Publishing Inc Using Databases Database Users Data entry operators type data into databases and make sure that it is accurate. They – add records – modify records
© Paradigm Publishing Inc Using Databases Database Users Data entry operators type data into databases and make sure that it is accurate. They – add records – modify records – delete records
© Paradigm Publishing Inc Using Databases Database Users Data entry operators type data into databases and make sure that it is accurate. They – add records – modify records – delete records – sort records
© Paradigm Publishing Inc Database Administration Database Administrator
© Paradigm Publishing Inc Database Administration Database Administrator –is responsible for maintaining and updating the database and the DBMS software
© Paradigm Publishing Inc Database Administration Database Administrator –is responsible for maintaining and updating the database and the DBMS software –is responsible for preventing computer downtime
© Paradigm Publishing Inc Database Administration Data Loss or Corruption
© Paradigm Publishing Inc Database Administration Data Loss or Corruption –Data corruption occurs when data is unreadable, incomplete, or damaged.
© Paradigm Publishing Inc Database Administration Data Loss or Corruption –Data corruption occurs when data is unreadable, incomplete, or damaged. –Backing up data is a major method for recovering lost or corrupted data.
© Paradigm Publishing Inc Database Administration Backup and Recovery Operations
© Paradigm Publishing Inc Database Administration Backup and Recovery Operations –tape backups commonly used because they are cheap and easy to store
© Paradigm Publishing Inc Database Administration Backup and Recovery Operations –tape backups commonly used because they are cheap and easy to store –backups must be stored separately from original material to lessen accidental data loss
© Paradigm Publishing Inc Database Administration Database response time is the lag time between a user issuing a command and the database system taking action.
© Paradigm Publishing Inc Database Administration Record Locking
© Paradigm Publishing Inc Database Administration Record Locking –occurs when users attempt to edit existing records in a multi-user system
© Paradigm Publishing Inc Database Administration Record Locking –occurs when users attempt to edit existing records in a multi-user system –allows only one user at a time to edit or delete a record
© Paradigm Publishing Inc Database Administration Data Integrity
© Paradigm Publishing Inc Database Administration Data Integrity –data integrity – the accuracy of information provided to database users
© Paradigm Publishing Inc Database Administration Data Integrity –data integrity – the accuracy of information provided to database users –redundancy – duplication of data in several fields; an enemy of data integrity
© Paradigm Publishing Inc Database Administration Data Integrity –data integrity – the accuracy of information provided to database users –redundancy – duplication of data in several fields; an enemy of data integrity –normalization – prevents duplicate data storage and reduces chance that some data will not be updated when changes are made
© Paradigm Publishing Inc Database Administration Data Validation
© Paradigm Publishing Inc Database Administration Data Validation –range check – allows only range of numbers to be entered
© Paradigm Publishing Inc Database Administration Data Validation –range check – allows only range of numbers to be entered –alphanumeric check – allows only letters of alphabet and digits to be entered
© Paradigm Publishing Inc Database Administration Data Validation –range check – allows only range of numbers to be entered –alphanumeric check – allows only letters of alphabet and digits to be entered –consistency check – checks against previously entered data that has been validated
© Paradigm Publishing Inc Database Administration Data Validation –range check – allows only range of numbers to be entered –alphanumeric check – allows only letters of alphabet and digits to be entered –consistency check – checks against previously entered data that has been validated –completeness check – ensures every field filled out
© Paradigm Publishing Inc On the Horizon Based on the information presented in this chapter and your own experience, what do you think is on the horizon?