What will be covered in this chapter ?
Basic definitions, advantage of DB systems, DB systems vs File systems etc.
Let's begin 🤗
A file is a collection or set (ordered or unordered) of data elements stored on storage media.
A file can be described as a logical collection of records.
A record is a set of logically related fields. Typically a file has a number of records in it.
A record may consists of more than one Field.
Data are Known facts that can be recorded and that have implicit meaning.
Database is a collection of related data with some inherent meaning.
Complete definition and description of the database is known as database schema.
The logical structure of the database (e.g., set of customers and accounts and the relationship between them)
It is a collection of programs that enables to create and maintain database. It is an application Software system that facilitates the process of defining, constructing and manipulating data bases for various applications.
There were many problems in the traditional file system and to overcome them DBMS came into existence.
Problems of traditional file system:
- Data redundancy and inconsistency
- Concurrent access by multiple users
- Difficulty in accessing data
- Data isolation – multiple files and formats
- Integrity problems
- Atomicity of updates
- Security problems
Types of DBMS:
- Network DBMS
- Relational DBMS or RDBMS
Definition: A database system made up of files with data elements in two-dimensional array (rows and columns). This database system has the capability to recombine data elements to form different relations resulting in a great flexibility of data usage.
- The Relational DB Concept was proposed by Dr. Codd in 1970
The relational model contains the following components:
- Collection of objects or relations
- Set of operations to act on the relations
- Data integrity for accuracy and consistency
Relational Database Management System (RDBMS) consists of:
- A set of tables
- A schema:
- is a description of data in terms of data model
- defines tables and their attributes (field or column)
Examples of RDBMS
- Client/Server Databases
- MySQL (open-source)
- SQLServer (Microsoft)
- Personal Databases
- MS Access
- MS Excel
- Embedded Databases
What will be covered in the next chapter ?
- Database System Concepts and Architecture
- Data Models
- Schemas and Instances
- Three schema architecture
- Data independencies
Thank you !!