Beruflich Dokumente
Kultur Dokumente
Data
Data A necessity for almost any enterprise to carry out its
business. Consists of raw facts, and when organized may be transformed into information
Database A collection of data organized to meet users needs Database management system (DBMS) A group of programs that manipulate the database and
provide an interface between the database and the user of the database or other application programs
Information and Organizations
ITEC 1010
ITEC 1010
Hierarchy of Data
Schematic
ITEC 1010 Information and Organizations
Hierarchy of data
Example
Personel file
Database Database
Department file Payroll file 005-10-6321 Johns Francine 10-7-65 549-77-1001 Buckley Bill 2-17-79 098-40-1370 Fiske Steven 1-5-85 098-40-1370 Fiske Steven 1-5-85 598
(Project database)
Files Files Records Records Fields Fields Characters Characters (bytes) (bytes)
ITEC 1010
(Personnel file)
Fiske
1000100
(Letter F in ASCII)
Terminology
Database
A collection of integrated and related files
File
A collection of related records
Record
A collection of related fields
Field
A group of characters
Character
Basic building block of information, represented by a byte
ITEC 1010 Information and Organizations
Attribute
A characteristic of an entity; something the entity is identified by E.g., Customer name, Employee name
Keys
A field or set of fields in a record that is used to identify the
ITEC 1010
record E.g, A field or set of fields that uniquely identifies the record
Information and Organizations
Key field
ITEC 1010
Attributes (fields)
Information and Organizations
Entities (records)
Schematic
ITEC 1010 Information and Organizations
Data
Files Payroll
Users Reports
Invoicing
Invoicing programs
Reports
Inventory control
Reports
Management inquiries
ITEC 1010
Reports
Drawbacks
Data redundancy Duplication of data in separate files Lack of data integrity The degree to which the data in any one file is accurate Program-data dependence A situation in which program and data organized for
one application are incompatible with programs and data organized differently for another application
ITEC 1010 Information and Organizations
Database Approach
The database approach
Payroll program Payroll data Inventory data Invoicing Data Other data Inventory program
Reports
Reports
Invoicing program
Reports
Reports
Interface
Applications programs
Users
Advantages
ITEC 1010
Improved strategic use of corporate data Reduced data redundancy Improved data integrity Easier modification and updating Data and program independence Better access to data and information Standardization of data access A framework for program development Better overall protection of the data Shared data and information resources
Information and Organizations
Disadvantages
Relatively high cost of purchasing and
operating a DBMS in a mainframe operating environment Increased cost of specialized staff Increased vulnerability
ITEC 1010
database design is altered so that certain data entities are combined Summary totals are carried in the data records rather than calculated from elemental data Some data attributes are repeated in more than one data entity to improve database performance
ITEC 1010 Information and Organizations
Entity-relationship (ER) diagrams A data model that uses basic graphical symbols to show
the organization of and relationships between data
ITEC 1010 Information and Organizations
Schematic
ITEC 1010 Information and Organizations
Last name
Attributes
Colour
Entities
First name
Customer
Order
Product
Name
1:N one-to-many relationship Identification number ITEC 1010 Information and Organizations Identification number
Schematic
ITEC 1010 Information and Organizations
Project 1
Department A
Department B
Department C
Employee 1
Employee 2
Employee 3
Employee 4
Employee 5
Employee 6
ITEC 1010
Department A
ITEC 1010
Department B
Information and Organizations
Department C
Schematic
ITEC 1010 Information and Organizations
ITEC 1010
Projecting Data manipulation that eliminates columns in a table Joining Data manipulation that combines two or more tables Linked Relating tables in a relational database together
ITEC 1010 Information and Organizations
Schematic
ITEC 1010 Information and Organizations
ITEC 1010
Screen snap
ITEC 1010 Information and Organizations
ITEC 1010
A description of the entire database Subschema A file that contains a description of a subset of
the database and identifies which users can perform modifications on the data items in that subset
Schematic
ITEC 1010 Information and Organizations
DBMS
Schema
Subschema A
Subschema B
Subschema C
User 1
User 2
User 3
User 4
User 5
ITEC 1010
Schema Discussion
Pronounced skee-ma, the structure of a database system, described in a formal language supported by the database management system (DBMS). In a relational database, the schema defines the tables, the fields in each table, and the relationships between fields and tables. Schemas are generally stored in a data dictionary. Although a schema is defined in text database language, the term is often used to refer to a graphical depiction of the database structure.
ITEC 1010 Information and Organizations
Schematic
ITEC 1010 Information and Organizations
SCHEMA DESCRIPTION SCHEMA NAME IS XXXX AUTHOR XXXX DATE XXXX FILE DESCRIPTION FILE NAME IS XXXX ASSIGN XXXX FILE NAME IS XXXX ASSIGN XXXX AREA DESCRIPTION AREA NAME IS XXXX RECORD DESCRIPTION RECORD NAME ISXXXX RECORD ID IS XXXX LOCATION MODE ISXXXX WITHIN XXX AREA FROM XXXX THRU XXXX SET DESCRIPTION SET NAME IS XXXX ORDER IS XXXX MODE IS XXXX MEMBER IS XXXX . . .
ITEC 1010
Data Dictionary
Data Dictionary
Schematic
ITEC 1010 Information and Organizations
NORTHWESTERN MANUFACTURING PREPARED BY: DATE: APPROVED BY: VERSION: PAGE: DATA ELEMENT NAME: DESCRIPTION: OTHER NAMES: VALUE RANGE: DATA TYPE: POSITIONS: D. BORDWELL 04 AUGUST J. EDWARDS 3.1 1 OF 1
DATE:
13 OCTOBER
PARTNO INVENTORY PART NUMER PTNO 100 TO 5000 NUMERIC 4 POSITIONS OR COLUMNS
ITEC 1010
DBMS
Management inquiries
Other software
Application programs
ITEC 1010
Manipulating Data
Concurrency control A method of dealing with a situation in which two or
more people need to access the same record in a database at the same time
Data manipulation language (DML) The commands that are used to manipulate the data in a
database
ITEC 1010
Database Output
Screen snap
ITEC 1010 Information and Organizations
ITEC 1010
Database size Number of concurrent users Performance Integration Features The vendor Cost
Information and Organizations
Distributed Databases
Distributed database
Pretty picture
ITEC 1010 Information and Organizations
ITEC 1010
Data Warehouse
Data warehouse A relational database management system designed
specifically to support management decision making Current evolution of Decision Support Systems (DSSs)
Hierarchical databases
Network databases
Flat files
Data wharehouse
ITEC 1010
ITEC 1010
Market segmentation Customer queries Fraud detection Direct marketing Market basket analysis Trend analysis
Information and Organizations
Data mining
Provides bottom-up, discovery-driven analysis
ITEC 1010 Information and Organizations
Schematic
ITEC 1010 Information and Organizations
dBASE
ODBC Import
ACCESS database
ODBC Export
Paradox database
ODBC Link
ITEC 1010
Hypermedia
Allows businesses to search and manipulate multimedia forms of
data
ITEC 1010
End of Chapter 5
Chapter 6
ITEC 1010 Information and Organizations