CH 1 Databse concepts Flashcards
what Is a database?
a single large repository of data that is defined once and used simultaneous by many users. e.g many departments.
How is data organized in databases?
- they categorize information into logical groups , which are physically stored in files callled tables.
- a table is an orderly collection of records
- a record is a collection of fields
State the properties of a table
-Values are atomic . this means that a column in a table should hold only one piece of data
- column values are of the same kind.
- each tuple is distinct; there are no duplicate tuples
what is DBMS?
Database Management System.
a software program that controls the organization , storage , management , and retrival of data in a databse. e.g MySql ,PostgreSql
DBMS Functions
- offers data dictionary management
- offers data storage management
- offers data intergrity management
- offers database language and application program interface.
offers security management
what is data ?
Raw facts
field ?
a group of characters with a specific meaning
record?
Logically connected fields that describe a person, place, or thing
File
Collection of related records
File System Critique:
evaluating the strengths and weaknesses of different file systems.
It’s about understanding how well a file system performs in various scenarios, and identifying areas where it can be improved.
state a file system data management critique
- requires extensive programming in third-generation language(3gl)
- time consuming
makes ad hoc queries impossible - leads to islands of information
Data dependece ( file system critique)
-Change in file’s data characteristics requires modification of data access programs
-Must tell program what to do and how
-Makes file systems cumbersome from programming and data management views
Stuctural dependence
-Change in file structure requires modification of related programs
Field Definitions and Naming Conventions
-Flexible record definition anticipates reporting requirements
-Selection of proper field names important
-Attention to length of field names
-Use of unique record identifiers
Data Redudancy
-Different and conflicting versions of same data
-Results of uncontrolled data redundancy
*Data anomalies
-Modification
-Insertion
- Deletion
*Data inconsistency
- Lack of data integrity