Chapter 4: Relational Databases Flashcards
(41 cards)
Entity
Something about which data is stored: resources, activities (events), people (agents). Entity = students
Attributes/ Fields
Characteristics of the entity. The data for each attribute stored in fields.
Records
Individual Items, people or activities. ex: entity = students, record = one specific students information.
Primary Key
Attribute that uniquely ids each record. Usually a single attribute and can be combined with another primary key attribute. (concatenated key for many to many relationships)
database
a set of inter-related, centrally coordinated files
Database management system (DBMS)
the interface between the database and the various application programs.
Database System
the database, the DBMS, and the application programs that access the database through the DBMS .It separates the storage and use of data elements.
Master Files
stores data about Resources and people (agents), spans accounting periods, changes infrequently, similar to ledgers (AR subsidiary ledger customer information)
Transaction Files
Stores data about activities (events), each transaction is a record, or multiple records. Similar to Journals (Sales Journal Captures all Sales transactions)
Database Administrator (DBA)
responsible for the database
Data warehouse
separate databases that contain both detailed and summarized data for a number of years and is used for analysis rather than transaction processing. They are updated periodically not in real time like transaction processing databases.
Business Intelligence
the use of data warehouses for strategic decision making.
two main techniques used in business intelligence:
OLAP and Data Mining
Online Analytical Processing (OLAP)
using queries to guide the investigation of hypothesized relationships in data
Advantages of database systems
- Data Integration
- data sharing
- Minimal Data redundancy and data inconsistencies
- Data independence
- Cross-functional analysis
Data Integration
Master files are combined into large “pools” of data that many application programs access.
Data Sharing
Integrating data are more easily shared with authorized uses. Databases are easily browsed to a problem or obtain detailed information underlying a report.
Data Independence
because data and the programs that use them are independent of each other, each can be changed without changing the other, This facilitates programming and simplifies data management.
Cross-functional Analysis
in a database system, relationships, such as the association between selling costs and promotional campaigns, can be explicitly defined and used in the preparation of management reports.
Logical View
how people conceptually organize and understand the data.
Physical view
refers to how and where data are physically arranged and stored in the computer system.
Schema
describes the logical structure of a database.
3 levels of schema
Conceptual
External
Internal
Conceptual level of schema
organization-wide view of the entire database. Includes all data elements and relationships.