search
HomeComputer TutorialsComputer KnowledgeWhat are the types of databases?

What are the types of databases?

Jan 22, 2024 pm 03:15 PM
Database typeBasic types of databases

What are the types of databases?

What types of databases are there?

Databases are usually divided into:

There are three types of hierarchical databases, network databases and relational databases.

Different databases are related and organized according to different data structures.

The database is divided into types according to the data model, including hierarchical model, network model and relational model.

1. Hierarchical model:

The hierarchical model uses a tree structure to represent record types and their relationships.

The basic characteristics of the tree structure are:

1. There is only one node with no parent node;

2. Other nodes have and have a parent node.

In the hierarchical model, the nodes of the tree are record types. The relationship between the upper layer record type and the next layer record type is 1:n.

The hierarchical model is like the inverted tree we give below.

Note: To search for records in a hierarchical database, the access path must be specified. This relational model does not support m:n relationships.

2. Mesh model:

The connections between nodes in the mesh model are not restricted by hierarchy and can be connected at will, so its structure is a connected graph of nodes.

The characteristics of the mesh model structure are:

1. There is more than one node with no parent node;

2. At least one node has more than one parent node.

Note: Although the network model can reflect various complex relationships, in terms of specific implementation, the network model only supports 1:n contact, so

The m:n contact can be converted into a 1:n contact.

3. Relationship model:

The essence of the relational model is to use several two-dimensional tables to represent entities and their relationships.

Relationships are defined through relationship names and attribute names. A relationship can be formally expressed as:

R(A1,A2,A3,…,Ai,…)

Where: R is the relationship name, Ai is the attribute name of the relationship.

Currently commonly used database management systems include:

ACCESS, SQL Server, Oracle, MySQL, FoxPro and Sybase, etc.

ACCESS is a microcomputer database management system launched by Microsoft Corporation in the United States in 1994. It has the characteristics of friendly interface, easy to learn and use, simple development, and flexible interface. It is a typical new generation desktop database management system.

Oracle is the world's largest information management software and service provider. It was founded in 1977 and is headquartered in Redwood Shores, California, USA. The complete e-commerce products and services provided by Oracle include: Used to build and deliver Web-based Internet platforms; Comprehensive and comprehensive business applications with Internet capabilities; Powerful professional services to help users implement e-commerce strategies, as well as design and customization and implement various e-commerce solutions...

SQL is the abbreviation of English Structured Query Language, which means structured query language. The main function of SQL language is to establish contact and communicate with various databases. According to ANSI (American National Standards Institute), SQL is used as the standard language for relational database management systems. SQL statements can be used to perform a variety of operations, such as updating data in the database, extracting data from the database, etc. Currently, the vast majority of popular ones are relational database management systems.

Content comes from the Internet, for reference only!

Basic types of database

The database is divided into types according to the data model, including hierarchical model, network model and relational model. Below we study the following three models respectively.

Hierarchical model

The hierarchical model uses a tree structure to represent record types and their relationships.

The basic characteristics of the tree structure are:

1. There is only one node with no parent node;

2. Other nodes have and have a parent node.

In the hierarchical model, the nodes of the tree are record types. The relationship between the upper layer record type and the next layer record type is 1:n.

The hierarchical model is like the inverted tree we give below.

Note: To search for records in a hierarchical database, the access path must be specified. This relational model does not support m:n relationships.

Mesh model

The connections between nodes in the mesh model are not restricted by hierarchy and can be connected at will, so its structure is a connected graph of nodes.

The characteristics of the mesh model structure are:

1. There is more than one node with no parent node;

2. At least one node has more than one parent node.

Note: Although the network model can reflect various complex relationships, in terms of specific implementation, the network model only supports 1:n contact, so

The m:n contact can be converted into a 1:n contact.

Relationship model

The essence of the relational model is to use several two-dimensional tables to represent entities and their relationships.

Relationships are defined through relationship names and attribute names. A relationship can be formally expressed as:

R(A1,A2,A3,…,Ai,…)

Where: R is the relationship name, Ai is the attribute name of the relationship.

We won’t study too much about this here. We will study it in detail in future chapters.

Excuse me: What types of databases are there?

At present, databases can be divided into three categories according to their structure:

1. Hierarchical type

2. Mesh type

3. Relational type

Currently, most integrated development environments (including languages) can be used to process databases, and there are too many to mention. As far as relational DBMS is concerned, I think:

Representatives of small and medium-sized enterprises include Access and FoxBASE

Medium-sized representatives include VFP, dBASE, and PB

Large-scale representatives include oracle and SQL

Just tell me what you want to learn, it will definitely be more promising and difficult. Nowadays, the most popular database on the market is Oracle. Currently, the salary of DBA in database is relatively high in all aspects. When it comes to learning Oracle, we can't help but mention that its certifications include OCA, OCP, and OCM. Those who are mainly engaged in Oracle will take this certification. The gold content of OCA is relatively low, so I don't mind taking this test. Instead of taking the OCP directly, OCP is relatively big, but as long as you attend a training institution authorized by Oracle, there will be no problem.

The above is the detailed content of What are the types of databases?. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:Excel办公网. If there is any infringement, please contact admin@php.cn delete
Zlib1.dll Is Missing or Not Found Error? Fix It with Simple Moves - MiniToolZlib1.dll Is Missing or Not Found Error? Fix It with Simple Moves - MiniToolApr 16, 2025 am 12:52 AM

What is zlib1.dll? Some people encountered the “zlib1.dll is missing” error or zlib1.dll not found error when they attempt to open an application that includes zlib1.dll. To fix these related errors, this article on php.cn Website can give you some i

AutoFill Is Not Working in Excel? Here Are Fixes! - MiniToolAutoFill Is Not Working in Excel? Here Are Fixes! - MiniToolApr 16, 2025 am 12:51 AM

Some of you might find that AutoFill is not working in Excel. Can you come up with any solutions on that? If not, then you have come to the right spot. This post on php.cn Website will provide you with 6 ways to solve Excel AutoFill not working.

Windows 7 Starter Edition: What Is It? How to Download It? - MiniToolWindows 7 Starter Edition: What Is It? How to Download It? - MiniToolApr 16, 2025 am 12:50 AM

What is Windows 7 Starter Edition? What are the limitations of Windows 7 Starter Edition? How to get the Windows 7 Starter Edition ISO? This post from php.cn provides detailed information about Windows 7 Starter Edition for you.

Run Apps as Different User in Windows with This Top GuideRun Apps as Different User in Windows with This Top GuideApr 16, 2025 am 12:49 AM

When running an App, are you troubled with changing accounts by logging out of the present one and then logging in to another? php.cn has collected some effective ways to help you run apps as a different user in Windows 10 and Windows 11.

Fixed: Dropbox There Was an Error Downloading Your FileFixed: Dropbox There Was an Error Downloading Your FileApr 16, 2025 am 12:48 AM

Are you suffering from the “Dropbox there was an error downloading your file” error in Windows? Now read this post given by php.cn to get several useful solutions to this problem.

5 Ways to Fix Selected Files Are Not Highlighted in File Explorer - MiniTool5 Ways to Fix Selected Files Are Not Highlighted in File Explorer - MiniToolApr 16, 2025 am 12:47 AM

Are you troubled by the problem of “selected files are not highlighted in File Explorer”? Do you know how to fix it? If not, you can read this post on php.cn to get several feasible solutions to make selected files visible in File Explorer.

Fix Language Bar Missing from the Taskbar - Proven GuideFix Language Bar Missing from the Taskbar - Proven GuideApr 16, 2025 am 12:46 AM

The language bar is essential if you work with multilanguage. You can change the input language by tweaking the setting from the taskbar. But the language bar might disappear one day when you open the computer. How to fix the language bar missing fro

How to Connect an External Drive to an Android Phone or Tablet? - MiniToolHow to Connect an External Drive to an Android Phone or Tablet? - MiniToolApr 16, 2025 am 12:45 AM

Want to use an external drive to expand your phone’s storage? It is possible to do this. This php.cn post shows you a guide on how to connect an external drive to a phone. Besides, if you need to recover data from your external drive, you can try php

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!