Chapter 3: Data and business intelligence Flashcards
Database
an organized collection of structured information, or data, typically stored electronically in a computer system.
- collection of related data
Benefits of a database
- Improved data management
- Data redundancy is eliminated or minimized
- Storage space is used more efficiently
Feilds
columns
Records
rows
File Access methods
- Sequential access = records are organized sequentially. (used for archives and backups)
- Random access = not in any order. Faster for accessing few records
- Indexed sequential access = combination
Two ways information is viewed in a database
- Physical view = how data is stored and retrieved. (only one type of physical view)
2.Logical view = how information appears to users. (can be more than one logical view)
Data models 3 components
- Data structure = describes how data is organized
2.Operations = describes methods and calculations that can be preformed - Integrity rules = defines boundaries of a database
Database design models (3)
- Hierarchical model = the relationship among records from a tree like structure
- Network model
- Relational model = 2 dimensional table of records and columns
Primary key
uniquely identifies each record in a relational database
Foreign key
A field in a relational table that matches the primary key field of another table. It is used to reference the tables and attach them.
Normalisation
Improves database efficiency by eliminating redundant data
DBMS = database management system
Software for creating , storing and maintaining and accessing database files
Database engine
the underlying software component that a database management system (DBMS) uses to create, read, update and delete (CRUD) data from a database.
- The heart of the DBMS
Data manipulation
the process of organizing or arranging data in order to make it easier to interpret. (adding, deleting, retrieving records from a database)
components of a DBMS
- Database engine
- Data definition
- Data manipulation
- Application generation
- Data administration