32
Information Systems Software Hardware Telecommunications Data People Chapter 4: Database Management

Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

  • View
    220

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

InformationSystems

Software

Hardware Telecommunications

Data People

Chapter 4: Database Management

Page 2: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Databases Before the Use of Computers

• Data kept in books, ledgers, card files, folders, and file cabinets

• Long response time

• Labor-intensive

• Often incomplete or inaccurate

Page 3: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Key Database Issuesand Activities

• Entering and Querying Data

• Creating Database Reports

• Maintaining Data

Page 4: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Entering and Querying Data

• Use a form for data entry

• Use queries to retrieve information– Structured Query Language (SQL)– Query by example (QBE)

Page 5: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Creating Database Reports

• Report– A compilation of data organized and

produced in printed format

• DBMS packages include a report writer

• Graphics can be added

• Can be automatically updated by linking to data

Page 6: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

To Efficiently Maintain Data

• Model the data

• Select a physical structure– Hierarchical– Network– Relational

• Normalization process– Incl. Update / insert / delete procedures

Page 7: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Data Modeling

• Ensures all needed data represented in the correct form,

• Identifies all the relationships that exists among data: “Associations”,

• Communicates assumptions about the data and relationships with the users of data.

Page 8: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Associations• Relationships among the entities in the

data structures

• Three types– One-to-one– One-to-many– Many-to-many

Page 9: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

- U.S. Airways -

• The fifth largest airline in America, U.S. Airways--with 2500 jet flights per day--is using an IBM database system to better manage its in-flight meal and video services. By analyzing upgrade, no-show, and cancellation patterns, U.S. Airways can more accurately predict how many meals are needed on each flight. … (page 2-92)

Page 10: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Selecting a physical structure in which to store the data

• Hierarchical

• Network

• Relational

Page 11: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

The Hierarchical Model

Page 12: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

The Network Model

Page 13: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

The Relational Model

Page 14: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Normalization

• A technique used to make complex databases more efficient

• Break one large table into several smaller tables– Eliminates all repeating groups in records– Eliminates redundant data

Page 15: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Redundant Data

Page 16: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Normalized Data

Page 17: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Logical vs. physical representation of data

• The same “number” can be:– An invoice number in sales– A billing number in accounting– A picking number in warehouse– A delivery ticket number in distribution

Page 18: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Recent Developments

• Databases and Client-Server Computing– Server holds the actual database– Clients hold software to work with the

database

Page 19: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Client/Server Database

Page 20: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Recent Developments

• Object-Oriented Databases (OODBs) – Treat tables, queries, etc., as reusable

objects

Page 21: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Recent Developments

• Data Mining (On-Line Analytical Processing)– Drill down from summary data to detailed data– Data Warehouses/Data Marts

• Integrates many large databases into one repository

• Table 4.3  Sample industry uses of data warehousing (adapted from: Boar, 1998).

Page 22: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Recent Developments

• Linking Web Site Applications to Organizational Databases– Users have Web view to organizational database– Improves customer contact and service– Adds security as a concern

Page 23: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

- CNN Interactive -

• An example of successfully linking a large corporate database with a Web interface can be found at CNN Interactive. CNN Interactive provides a free, online custom news service to hundreds of thousands of subscribers around the world. … (page 2-109)

Page 24: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Effective Management of Databases

• Database Administrator (DBA)– Responsible for the development and

management of an organization’s databases

• Works with systems analysts on design

• Works with users and managers on managerial and organizational issues

• Responsible for implementing security features

Page 25: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

Key Terms

• Databases: Collections of related data organized in a way that facilitates data searches.

• Database management systems: Software applications with which you can create, store, organize, and retrieve data for one or many databases.

• Entity: Things about which we collect data, such as people, courses, customers, or products.

Page 26: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

• Tables: Collections of related records

about an entity type, where each row is a record and each column is a field.

• Field: Individual pieces of information about an entity, such as a person’s last name or social security number, stored in a database cell.

• Record: A collection of related fields about an entity, usually displayed as a row in a database.

 

Page 27: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

• Form: A collection of blank entry boxes, each representing a field, which is used to enter information into a database.

•  • Querying: Requesting information from a

database.•  • Structured Query Language (SQL): The

most common set of commands used to request information from a database.

•  • Query by example (QBE): A capability of a

DBMS to enable us to request data by simply providing a sample or a description of the types of data we would like to see.

Page 28: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

• Report: A compilation of data that is

organized and produced in a printed format.

•  • Data model: A representation of entities

and their relationships in the real world.•  • Primary key: A field included in a

database that can be used to uniquely identify each instance of an entity.

•  • Data type: Format for the data stored

within a field.

Page 29: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

• Data dictionary: A repository that

describes data types, uses, storage requirements, rules that affect data, and so on.

•  • Hierarchical database model: A DBMS

approach in which entities are described in a parent-child relationship.

• Network database model: A DBMS approach in which entities can have multiple parent-child relationships.

Page 30: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

• Relational database model: A DBMS

approach in which entities are presented as two-dimensional tables that can be joined together with common columns

•  • Normalization: A process of making

data structures simple and clear•  • Client/server architecture: A

distributed processing system in which a client application that needs data or software gets it from a server that is a source for some or all of the needed data or software.

Page 31: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

• Database server: a powerful computer

that contains the database and responds to queries from client computers in a client/server application.

•  • Object-oriented databases: Database

management systems that follow the object-oriented approach of reusable objects, encapsulation, inheritance, and so on.

• Data mining: Sorting and analyzing information stored in organizational databases

 

Page 32: Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response

• Data warehouses: Repositories integrating multiple large databases and other informational sources in a single repository or access point that is suitable for direct querying, analysis, or processing.

 • Data marts: Small-scale data warehouses

that contain a sub-set of the data for a single aspect of a company’s business (for example, finance, inventory, or personnel).

 • Database administrator: Person

responsible for the development and management of the organization’s databases.