DATABASE
A database is a collection of related data or information that is stored together in an organised way so that it can be easily accessed, managed, and updated.
In simple terms, a database is where information is kept for quick retrieval, use, and management.
Examples of Database
- A telephone directory (stores names and phone numbers). βοΈ
- A library catalogue (stores book titles, authors, and location on shelves) . π
- A schoolβs student records (stores student names, classes, results, and addresses). π«
- A bankβs customer records. π¦
Types of Databases
-
Manual Database : A database that is created and managed by hand without using a computer.
Example: Record books, index cards, filing cabinets.
-
Electronic (Computerised) Database : A database that is created and managed using a computer and software.
Example: Microsoft Access, Oracle, MySQL, Excel (as a simple database).
FORMS OF DATABASE
- Hierarchical database β Organises data in a tree structure where each child has one parent. π³
- Network database β Organises data so that each child can have multiple parents. π
- Relational database β Organises data in tables linked by common fields (keys). π
- Object-oriented database β Stores data as objects that include both data and functions. π
Database Terminologies
- File β A collection of related records.
- Record β A collection of related fields (e.g., all details about one student).
- Field β A single piece of information about a record (e.g., student name, age).
- Data β Raw facts and figures before processing.
- Information β Data that has been processed to make sense.
Characteristics of a Good Database
- It stores data in an organised way.
- It allows easy access to data.
- It makes updating and deleting data simple.
- It allows sharing of data among users.
- It ensures accuracy and reduces errors.
Advantages of Electronic Databases
- Information can be found quickly.
- Data can be easily updated or corrected.
- It saves space β no need for bulky files and cabinets.
- It allows sharing of data between different departments.
- It Helps to protect data with passwords and security features.
disadvantages of electronic databases
- Requires electricity and computers to work.
- May be costly to set up and maintain.
- Risk of data loss due to technical failure or hacking.
- Needs skilled personnel to manage and operate the system.
- Vulnerable to cyberattacks and unauthorized access if not well secured.
Common Database Software
- Microsoft Access
- MySQL
- Oracle
- Microsoft Excel (simple databases)
- dBASE
Uses of Databases is used
- Databases is used in schools β to keep student and staff records.
- Databases is used in hospitals β to store patient information.
- Databases is used in banks β to manage customer accounts.
- Databases is used in libraries β to manage book records.
- Databases is used in businesses β to keep records of goods, customers, and sales.
Functions of a Database Management System (DBMS)
- Create, store, and manage data files.
- Retrieve data when needed.
- Update or modify data.
- Delete unwanted data.
- Ensure data security and integrity.