Data Organization (Data Tier)
The Data Tier comprises elements which provide
Within computer systems data can be stored in a hierarchical way.
Data File Approach (Obsolet)
Store’s data in a computer’s file system
- information systems are not planned inter-divisional => systems often were planned separately
Sharing of data was not considered:
Problems with Traditional Data Processing
Database Systems (Solution/Purpose, Definition & Functions of a Database)
Solution for problems resulting from traditional “file approach”.
Database Schema (Schema Definition, Data Model Definition)
Database Structure Elements
Every database needs a structural description of:
Data Organization (Kind of Storage, Characteristics)
In relational databases data is stored in tables.
-> every table in a DB should have a column with values that uniquely identify the different data records
-> every table in the DB represents a set of entities of the same type
=> allows the easy structuring of data and the access via SQL
Relational Databases (Entities Definition, Keys Definition)
SQL
= Data base language used to interact with relational databases -> most popular & industry standard
Database Management Systems - Overview (Purpose and Characteristics (2))
= a collection of programs which enable the central and efficient management of data
Database Management System - Components
DBMS offers several components for the creation, manipulation & evaluation in the database:
The ACID-Paradigm
Advantages of Using DBMS (5)
Data - Application of Independence (Management of Data)
Applications do not directly access or manipulate data
=> DBMS is exclusively managing the data
Transaction (Definition)
Transaction = a group of atomic operations which is executed as a single unit without interference by other database operations
-> either the entire group of operations is executed or no operation at all
Rollbacks (Pre-circums for successful Transaction, Consequence if not)
If a transaction is executed:
=> of one of the two cases does not apply, the entire transaction has to be rolled back
Multiple Users (Problem, BUT)
If data is organized on a central unit, data access has to be coordinated.
-> Problem: Multiple users may perform database operations at the same time (= concurrent modification)
-> BUT: Restricting data use to one person at a time would be inefficient/waste of resources
=> critical situations have to be identified in order to avoid them
Problems caused by multiple users
Multiple User Synchronization
DBMS provides means to synchronize multiple users:
Entity Relationship (ER) Model - Elements (5)
Database implementation (4 Steps)