101.school
CoursesAbout
Search...⌘K
Generate a course with AI...

    How Databases work

    Receive aemail containing the next unit.
    • Introduction to Databases
      • 1.1What is a Database?
      • 1.2Importance of Databases
      • 1.3Types of Databases
    • Database Models
      • 2.1Hierarchical Model
      • 2.2Network Model
      • 2.3Relational Model
      • 2.4Object-oriented Model
    • Relational Databases
      • 3.1Introduction to Relational Databases
      • 3.2Tables, Records, and Fields
      • 3.3Keys and Indexes
    • SQL Basics
      • 4.1Introduction to SQL
      • 4.2Basic SQL Commands
      • 4.3Creating and Modifying Tables
    • Advanced SQL
      • 5.1Joins
      • 5.2Subqueries
      • 5.3Stored Procedures
    • Database Design
      • 6.1Normalization
      • 6.2Entity-Relationship Diagrams
      • 6.3Data Integrity
    • Transaction Management
      • 7.1ACID Properties
      • 7.2Concurrency Control
      • 7.3Recovery Techniques
    • Database Security
      • 8.1Security Threats
      • 8.2Access Control
      • 8.3Encryption and Authentication
    • NoSQL Databases
      • 9.1Introduction to NoSQL
      • 9.2Types of NoSQL Databases
      • 9.3Use Cases for NoSQL
    • Big Data and Databases
      • 10.1Introduction to Big Data
      • 10.2Big Data Technologies
      • 10.3Big Data and Databases
    • Cloud Databases
      • 11.1Introduction to Cloud Databases
      • 11.2Benefits and Challenges
      • 11.3Popular Cloud Database Providers
    • Database Administration
      • 12.1Roles and Responsibilities of a Database Administrator
      • 12.2Database Maintenance
      • 12.3Performance Tuning
    • Future Trends in Databases
      • 13.1In-memory Databases
      • 13.2Autonomous Databases
      • 13.3Blockchain and Databases

    Database Models

    Understanding the Network Database Model

    database model invented by Charles Bachman

    Database model invented by Charles Bachman.

    The Network Database Model is a type of database model that allows multiple member records to be linked to multiple owner files and vice versa. This model is a flexible way of representing objects and their relationships.

    Structure and Characteristics of the Network Model

    The Network Model is based on a flexible approach to building database systems, which allows a child record to have multiple parent records. This model is designed as a network of records connected to each other through links, and each record can have multiple parent and child records.

    The main components of the Network Model are:

    • Records: These are similar to rows in a relational database model. Each record is a collection of fields (attributes), each of which contains only one data value.

    • Sets: These are used to define one-to-many relationships between records. A set comprises two types of records: an owner record (parent) and a member record (child). A member record can have more than one owner.

    Advantages of the Network Model

    • Flexibility: The Network Model can handle more relationship types, such as many-to-many relationships, which are not possible in the hierarchical model.

    • Data Integrity: Since the child can have more than one parent, there is no need to duplicate the child data, thus maintaining data integrity.

    • Data Access: It allows easy navigation and access to data as it follows a navigational system.

    Disadvantages of the Network Model

    • Complexity: The Network Model is more complex to design and manage due to its many-to-many relationships.

    • Lack of Structural Independence: Any changes in the database structure require changes in all the application programs that access the database.

    • Data Redundancy: Although less than in the hierarchical model, some data redundancy still exists in the network model.

    Real-world Examples of Network Model

    The Network Model was widely used in the 1970s and 1980s, especially in applications that required high performance and navigational access, such as banking systems, airline reservation systems, and telecommunication systems. Today, it is less common but still used in certain systems where complex relationships exist.

    In conclusion, the Network Database Model, with its ability to represent complex relationships and ensure data integrity, is a powerful tool for certain types of applications. However, its complexity and lack of structural independence make it less suitable for general-purpose applications.

    Test me
    Practical exercise
    Further reading

    Hey there, any questions I can help with?

    Sign in to chat
    Next up: Relational Model