5.2 database approach Flashcards
file management environment
original old timey way of data management
data file
collection of logically related records
what is the benefit of using a database?
eliminates many problems of old file maangemt systems
-> all users can access to al of the data
->reduce DATA REDUNDANCY!
->reduce DATA ISOLATION!
-> reduce DATA INCONSISTENCY!
Data redundancy
the same data are stored in multiple locations
Data Isolation
applications cant access data associated with other applications
Data inconsistency
various copies of the data do not agree
benefits of database systems?
1) data security
2) data integrity
3) data independance
data security- important to the database
since all the data is in one place, we need A LOT OF DATA SECURITY!!!!
data integrity- important to the database
data must meet certain constraints- there are no alphabetic characters in the sin fieldd
data independance- importnt to the database
applications and data are independant of one another- that is, applications and data are not linked to each othe. so all applications are able to access the same data
The Data Hierarchy
bits -> databases
What is a bit
BINARY DIGIT, represents the smallest unit of data a computer can proccess
Binary
means that a bit consist only of a 0 or 1
What is a group of eight bits
byte
Byte
-8 bits, represents asingle character
Examples of a byte
a letter, a number, or a symbol
what is a collection of bytes calles
a FIELD (that is a small group of words, word, or an ID number)
What is a Field
describes an entity, can contain data other than text and numbers
(Collection of bytes)
What is a logical grouping of related fields called
a record
what is a recrod
collection of related fields
EX: the apple tunes store is the record, the songs are fields
What is a logical grouping of related records called?
a data file or a TABLE
WHAT is a data file/ table
related records
what is a logical grouping of related files
database
bit, byte, field, record, table, database
this is the order