My Summary Flashcards
(41 cards)
Database management system (DBMS):
collection of programs Manage structure and control access to data
Advantages of the DBMS:
- Improved data sharing
- Improved data security
- Better data integration
- Minimised data inconsistency
- Improved data access
- Improved decision making
- Increased end-user productivity
What does poorly designed databases cause?
Causes difficult -to- trace errors
Reasons for studying file systems:
– Complexity of database design easier to understand
– Understanding file system problems helps to avoid problems with DBMS systems
– Knowledge of file system useful for converting file system to database system
Summary of file system limitations(Problems with file system limitations) :
– Requires extensive programming
– Cannot perform ad hoc queries
– System administration complex and difficult
– Difficult to make changes to existing structures
– Security features likely to be inadequate
Structural independence:
Change file structure without affecting data access
– Programs need not be modified when file structure changes
Data independence:
data storage characteristics do not affect data access
Logical data format:
How a human views the data
Physical data format:
How computer must work with data
What does DEPENDENT mean
Dependent means that each program must contain reference to physical format
What does INDEPENDENT mean
Independent means that each program must contain reference to only to logical format
Data redundancy
Same data stored unnecessarily in different places
Data inconsistency:
Different and conflicting versions of same data occur at different places
Data anomalies:
abnormalities when all changes in redundant data not made correctly
– Update anomalies
– Insertion anomalies
– Deletion anomalies
Database system: defines and regulates the
- Collection
- Storage
- Management
- Use of data
Five major parts of a database system:
- Hardware
- Software
- People
- Procedures
- Data
DBMS Functions
Most functions transparent to end users • Data dictionary management • Data storage management • Data transformation and presentation • Security management
Disadvantages of database systems
- Increased costs
- Management complexity
- Maintaining currency
- Vendor dependence
- Frequent upgrade/replacement cycles
What is Data models
– Relatively simple representations of complex real-world data structures
Often graphical
What are the following things?
- Entity
- Attribute
- Relationship
• Entity: anything about which data are to be collected and stored
• Attribute: a characteristic of an entity
Relationship: describes an association among entities:
What type of relationships are there?
– One-to-many(1:M)relationship
– Many-to-many (M:N or M:M) relationship
– One-to-one (1:1) relationship
What is a Constraint
a restriction placed on the data
Sources of business rules:
– Company managers
– Policy makers
– Department managers
– Written documentation
Composite key
Composed of more than one attribute