COMM 205 Quiz 2 Flashcards
(21 cards)
Database
- An organized collection of logical related data>
- A. structured collection of data accessed and utilized by many different applications and users.
- A collection of records about various business categories (entities).
An effective information system provides
- Timely information
- Quality information
- Relevant information
Why put data into databases?
- No data redundancy
- Data can be shared in a way that does not violate privacy and confidentiality
- There is data integrity or consistency
Problems with traditional file-based systems
- Data redundancy
- Data inconsistency
- Data isolation
Data redundancy
Duplicate data in multiple data files.
Wastage of storage space and inefficient processing.
Data inconsistency
Various copies of the data do not agree.
Different representations of the same piece of data in different places.
Data isolation
Applications cannot access data associated with other
applications.
Database Management System (DBMS) is the software used to
- Reduce data redundancy;
- Share data in a controlled way
- Reduce data integrity problems.
Enterprise systems include
- Internal Databases (Operational databases; Data warehouses)
- External Databases
Database Management Systems (DBMS) is
- Software through which users and application programs interact with a database.
- Software used to create, manage, maintain, and manipulate a database.
Examples of DBMS
Microsoft Access Microsoft SQL Server Oracle MySQL (open source database) IBM DB2 FileMaker Pro (a subsidiary of Apple Inc.)
Data Security
Databases have high security measures in place to deter mistakes and attacks.
Data Integrity
Data meet certain constraints, such as no alphabetic characters in a Social Insurance Number field.
Data Independence
Applications and data are not linked to each other, so
that all applications are able to access the same data.
Benefits of DBMS
- Data Security
- Data Integrity
- Data Independence
Data hierarchy
- Database
- File (Table)
- Record
- Field
Ratioanal Databases - Table
- Data organized as two-dimensional tables.
Table (File)
Row (Record)
Column (Field or Attribute) - Tables are linked by matching fields
- Primary Key and Foreign Key are used to create logical relationships between tables
Composite primary key
A primary key that consist of more than one field
Atomic primary key
A primary key that consist of only one field
Primary Key
Primary Key is an attribute that uniquely identities each record in a table (parent table).
Foreign Key
Foreign Key is an attribute in a table (child table) that reference a primary key of parent table.