Skip to main content

Chapter No 2 Database System DAE CIT 2nd year



Chapter No. 2 
Database System

Legacy DB Systems

   -  File Processing Systems

   - Hierarchical Model

   - Network Model

Legacy Database Systems


Legacy database systems played a crucial role in the evolution of data management, paving the way for more advanced relational database systems.

Legacy Database Systems, including

  1. File Processing Systems
  2. Hierarchical Model
  3. Network Model,.



1. File Processing Systems

Definition:

File Processing Systems are traditional data management systems that use flat files to store and manage data. In this approach, each department or user group maintains its own set of files, leading to data redundancy.


Characteristics:


Data stored in flat files.

No centralized control or structure.

Limited data sharing and integration.

Advantages:


Simplicity: Easy to implement and understand.

Independence: Each department has control over its data.

Cost: Relatively low implementation and maintenance costs.

Performance: Can be efficient for specific tasks.

Flexibility: Each department can choose its file organization.

Disadvantages:


Data Redundancy: Multiple copies of the same data in different files.

Inconsistency: Difficulty in maintaining data consistency.

Data Isolation: Limited data sharing between departments.

Security: Limited access controls.

Lack of Standards: No standardized data formats.

Examples:


Filing cabinets with paper records.

Spreadsheet files stored on individual computers.

Text files storing data for different applications.

2. Hierarchical Model:

The Hierarchical Model organizes data in a tree-like structure, with a single root representing the entire database and branches representing different entities and their relationships. It was widely used in early database management systems.


Characteristics:


Organized in a tree structure.

Parent-child relationships between records.

Navigational access through tree traversal.

Advantages:


Data Integrity: Ensures data relationships.

Efficiency: Can be efficient for certain types of queries.

Simplicity: Simple and intuitive structure.

Security: Access control through parent-child relationships.

Integrity Constraints: Enforces relationships.

Disadvantages:


Lack of Flexibility: Not suitable for all types of relationships.

Complexity in Querying: Complex queries require navigating the hierarchy.

Maintenance Overhead: Changes to the structure can be cumbersome.

Limited Scalability: Difficult to scale for larger datasets.

Data Redundancy: Redundant data due to hierarchical structure.

Examples:


IMS (Information Management System).

Windows Registry (in a hierarchical structure).

3. Network Model

The Network Model represents data as records connected through links or pointers, allowing for more complex relationships than the hierarchical model. It supports many-to-many relationships.





Characteristics:


Records are connected through links.

Supports many-to-many relationships.

Complex navigational structures.

Advantages:


Data Integrity: Maintains data relationships.

Flexibility: Supports complex relationships.

Efficiency: Can be efficient for certain types of queries.

Data Independence: Changes in the database structure do not affect applications.

Security: Access control through record-level permissions.

Disadvantages:

Complexity: Complex structure and navigational paths.

Query Complexity: Writing queries can be intricate.

Maintenance Overhead: Changes to the structure can be challenging.

Lack of Standards: Not widely standardized.

Limited Adoption: Superseded by relational databases.

Examples:

CODASYL (Conference on Data Systems Languages).

IDMS (Integrated Database Management System).










Comments

  1. Replies
    1. yeah veery beautiful so elegant so beautiful just looking like a wowops cow

      Delete

Post a Comment

Popular posts from this blog

DAE CIt 244 Electronics 2ndyear Past Paper 2019

 

Chapter No 2 Java DAE CIT

  . Variable and Operators 1.1. Variable: Define: A variable is a named storage location in a program that holds data, and its value can be changed during the execution of the program. Syntax: datatype variableName; Explanation: Variables are used to store and manipulate data in a program. They have a data type that defines the kind of data they can hold, such as int, float, char, etc. Code int age; // Declaration of an integer variable age = 25; // Initialization of the variable with a value 1.2. Create Instance of a Variable: Define: Creating an instance of a variable involves declaring and optionally initializing a variable in a program. Syntax: datatype variableName = value; Explanation: This creates a variable and assigns an initial value to it at the time of declaration. score = 95.5  # Declaration and initialization of a floating-point variable 1.3. Use Preemptive Data Types: Define: Preemptive data types are data types that are predefined and provided by...

Chemistry Past papers of DAE CIT 1st year

1. **What are Derived units? Give examples.**    - Derived units are units of measurement that are derived from the base units of a system. They express quantities in terms of fundamental units. Examples include:      - Newton (N) for force (kg·m/s²)      - Joule (J) for energy (N·m)      - Watt (W) for power (J/s) 2. **Define Radical, Valency, Formula, and Chemical Equation.**    - Radical: A radical is a group of atoms bonded together that behaves as a single unit in chemical reactions.    - Valency: Valency is the number of chemical bonds an atom can form when it combines with other atoms in a compound.    - Formula: A formula is a representation of a chemical compound using symbols and subscripts to show the ratio of atoms in the compound.    - Chemical Equation: A chemical equation is a symbolic representation of a chemical reaction, showing the reactants and products with their respectiv...