Database and Information Management Flashcards
Effective Information Systems
Provide users with information that is accurate, timely and relevant
Accurate: free of errors
Timely: available when decision makers need it
Relevant: useful and appropriate for the types of work and decisions that require it
Bit
the smallest unit of data a computer can handle
Byte
a group of bits. Represents a single character, which can be a letter, a number or another symbol
Field
a grouping of characters into a word, a group of words, a complete number (eg. Person’s name or age)
Record
a group of related fields, such as a student’s name, the course taken, the date and the grade.
File
a group of records of the same type
Entity
a person, place, thing or event on which we store and maintain information. (a record describes an entity)
Attribute
each characteristic or quality describing a particular entity.
Data Redundancy and Inconsistency (problems with traditional file processing)
Data Redundancy: duplicate data in multiple files
Data Inconsistency: the same attribute has different values because it’s only updated in some systems but not others – or the same attribute has different names (e.g. Student_ID vs just ID)
Difficult to implement CRM, SCM and ERP systems that integrate data from different sources
Program-Data Dependence (problems with traditional file processing)
coupling of data stored in files and the specific programs required to update and maintain those files – changes to the programs requires changes to the data
e.g. a new software program, which requires changes in the data accessed by the program, e.g. Requires nine-digit ZIP codes instead of five-digit ZIP codes, then when you change the data, other programs which required the five-digit ZIP code will no longer work properly
Lack of Flexibility (problems with traditional file processing)
Traditional file systems can deliver scheduled routine reports after extensive programming efforts, but it cannot deliver ad hoc reports or respond to unanticipated information requirements in a timely fashion
Poor Security (problems with traditional file processing)
Little control and management of data, access to and dissemination of information - management might not know who has access to or who make changes to the organization’s data
Lack of Data Sharing and Availability (problems with traditional file processing)
Information is in different files in different departments, so it is impossible to share and access the information in a timely manner –> and users can find different values for the same piece of information in two different systems, which create distrust to both systems (Data Redundancy and Inconsistency)
Database
A collection of data organized to serve many applications efficiently by centralizing the data and controlling redundant data
E.g. a human resource database with multiple views (so one big file instead of having different files for personnel, payroll and benefits and instead extracting that information as multiple views)
Database Management Systems (DBMS)
A software that enables an organization to centralize data, manage them efficiently and provide access to the stored data by application programs
DBMS provides an interface between application programs and physical data files, i.e. when the application programs calls for a data item, the DBMS finds the item and presents it in the application program
Separates logical and physical view of data
Logical view of data
Presents data as it would be perceived by end users
Physical view of data
How data is actually organized and structured on physical storage media
How does DBMS solve problems of the traditional file environment?
Reduces data redundancy and inconsistency by minimizing isolated files where the same data is repeated (even if there’s redundancy, it can eliminate inconsistency by ensuring it has the same value)
Easier data sharing because the data is in one single location
Relational DBMS
Most popular type of DBMS
Presents data as relations (two-dimensional tables), where each table contains data on an entity and its attributes
Fields in a relational database is also called columns and rows are called records
Key field: the unique identifier for all the information in any row of the table
Primary key: unique key, cannot be duplicated
Foreign key: a lookup field to look up data, and it will be the primary key in another table
Three basic operations of a relational DBMS:
Select: creates subset with the records that meet state criteria
Join: combines relational tables
Project: creates subset consisting of columns in a table, allows the user to create new tables with only the info required
Key field
the unique identifier for all the information in any row of the table
Primary key
unique key, cannot be duplicated
Foreign key
a lookup field to look up data, and it will be the primary key in another table
Three basic operations of a Relational DBMS
Select: creates a subset consisting of all records in the file that meet stated criteria
owe want to select records (rows) from the PART table where the Part_Number equals 137 or 150.
Join: combines relational tables to provide the user with more information than is available in individual tables.
we want to join the now-shortened PART table (only parts 137 or 150 will be presented) and the SUPPLIER table into a single new table.
Project: creates a subset consisting of columns in a table, permitting the user to create new tables that contain only the information required
we want to extract from the new table only the following columns: Part_Number, Part_Name, Supplier_Number, and Supplier_Name
Data definition (as a tool for organizing, managing, and accessing data in the database)
capability to specify the structure of the content of the database
used to create database tables to define the characteristics of the fields in each table