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

Semantic Data Model Chapter No 3 RDBMS

  Chapter No 3 ⦁ Semantic Data Model ⦁ Relational Model ⦁ Database Models and Internet Semantic Data Model: "A semantic data model is a method of organizing data in a logical and meaningful way. " It provides a conceptual representation of data and the relationships between them, adding a layer of semantic information that gives data a basic meaning. Key Elements: 1.    - Entities: Represent objects or concepts (e.g., Person, Product). 2.    - Attributes: Characteristics or properties of entities. 3.    - Relationships: Connections between entities, defining associations through the foreign key. A semantic data model describes data about its real-world interpretation and usage.  For example, the object "Person" can be generalized to include "Employee," "Applicant," and "Customer," and is related to "Project" and "Task." A person can own multiple projects, and a specific task can be associated with differe...

Short Q&A about constructors

  Q1: What is a constructor in Java, and when is it called? A1: A constructor in Java is a special method used to initialize objects. It is called when an instance of a class is created, allocating memory for the object in RAM. Q2: What happens if a class in Java does not have any constructor defined? A2: If a class in Java doesn't have any constructor defined, the Java compiler provides a default constructor by default. Q3: What are the two types of constructors in Java? A3: There are two types of constructors in Java:  1. No-arg constructor (Default constructor) 2. Parameterized constructor Q4: What are the rules for creating a Java constructor? A4: The rules for creating a Java constructor are as follows: - Constructor name must be the same as its class name. - A constructor must have no explicit return type. - A Java constructor cannot be abstract, static, final, or synchronized. Q5: What are the different access modifiers that can be used while declaring a constructor in ...

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...