17
Computing Essentials 2014 Databases © 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. © 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part. Computing Essentials 2014 Databases Chapter 11

Computing Essentials 2014 Databases © 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for

Embed Size (px)

Citation preview

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Computing Essentials 2014

DatabasesChapter 11

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Competencies (Page 1 of 2) Distinguish between the physical and logical views of data.

Describe how data is organized: characters, fields, records, tables, and databases.

Define key fields and how they are used to integrate data in a database.

Define and compare batch processing and real-time processing.

2

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Competencies (Page 2 of 2) Describe databases, including the need for databases and database management systems (DBMS).

Describe the five common database models: hierarchical, network, relational, multidimensional, and object-oriented.

Distinguish among individual, company, distributed, and commercial databases.

Discuss strategic database usesand security concerns.

3

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Introduction Like a library, secondary storageis designed to store information

End users need to understand How information is organized in

fields, records, tables and databases

The different types of databasesand structures

Competent end users need to be able to find information that is stored in databases

4

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Data

Examples of data includeFacts or observations about people, places, things, and events

Audio, music, photographs, and video

Two ways to view dataPhysical viewLogical view

5

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Data Organization

CharacterFieldRecordTableDatabase

6

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Key FieldUnique identifier also known as primary key

Common examplesSocial Security NumberStudent Identification NumbersEmployee Identification NumbersPart Numbers Inventory Numbers

7

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Batch ProcessingBatch processing

Data is collected over a period of time and the processing happens later all at one time

8

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Real-Time ProcessingReal-time processing

Also known as online processing because it happens immediately during the transaction

9

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

DatabasesCollection of integrated data

Logically related files and records Databases address data redundancyand data integrity

Advantages to having databasesSharingSecurityLess data redundancyData integrity

10

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Database Management (Page 1 of 2)Database Management System (DBMS)

DBMS engineData definition subsystemData dictionary / schema

11

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Database Management (Page 2 of 2)Data manipulation subsystem

Query-by-exampleStructured query language (SQL)

Application generation subsystem

Data administration subsystemDatabase Administrators (DBAs)Processing rights

12

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Database Uses and IssuesStrategic uses

Special type of databasecalled data warehouse

Data mining is used tosearch databases for information and patterns

SecurityDatabases are valuableProtection necessary

13

Security: electronic fingerprint

scanner

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Careers In IT Database administrators

Determine the most efficientways to organize and accessa company’s data

Responsible for database securityand backing up the system

Employers look for Bachelors degree in

Computer Science Technical experience

Database administrators can expect to earn $67,000 to $98,000 annually

14

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

A Look to the FutureCan criminal behavior be predicted ?Research institutions have been looking into patterns that could predict criminal behavior

If patterns could be found . . . Just need to find individuals with these characteristics

15

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Open-Ended Questions (Page 1 of 2)Describe the five logical data groups or categories.

What is the difference between batch processing and real-time processing?

Identify and define the five parts of DBMS programs.

16

Computing Essentials 2014Databases

© 2014 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner. This document may not be copied, scanned, duplicated, forwarded, distributed, or posted on a website, in whole or part.

Open-Ended Questions (Page 2 of 2)Describe each of the five common database models.

What are some of the benefits and limitations of databases? Why is security a concern?

17