Home Computer Tutorials Computer Knowledge What are the types of databases?

What are the types of databases?

Jan 22, 2024 pm 03:15 PM
Database type Basic 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 of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1662
14
PHP Tutorial
1261
29
C# Tutorial
1234
24
Fixdisk Windows 7: Check Your Hard Disk for Errors on Windows 7 Fixdisk Windows 7: Check Your Hard Disk for Errors on Windows 7 Apr 14, 2025 am 12:40 AM

If you suspect your hard drive encounters issues, you can check the drive for errors on Windows 7. This php.cn post talks about fixdisk Windows 7. You can follow the guide to check the hard drive for errors on Windows 7.

Effortles Fixes for Black Screen After Installing a Graphics Driver Effortles Fixes for Black Screen After Installing a Graphics Driver Apr 15, 2025 am 12:11 AM

Have you ever encountered a black screen after installing a graphics driver like an Nvidia driver in Windows 10/11? Now in this post from php.cn, you can find a couple of worth trying solutions to the Nvidia driver update black screen.

How to Install Windows X-Lite Optimum 11 23H2 Home/Pro via ISO How to Install Windows X-Lite Optimum 11 23H2 Home/Pro via ISO Apr 09, 2025 am 12:49 AM

Windows X-Lite Optimum 11 23H2 Home or Optimum 11 Pro could be your option if you need a custom lite system based on Windows 11 23H2. Go on reading and php.cn will show you how to download Optimum 11 23H2 ISO and install Pro or Home on your PC.

Is Core Isolation Blocked by ew_usbccgpfilter.sys? Here Are Fixes! Is Core Isolation Blocked by ew_usbccgpfilter.sys? Here Are Fixes! Apr 13, 2025 am 12:47 AM

Many SurfaceBook users report that they meet the “core isolation blocked by ew_usbccgpfilter.sys” issue on Windows 11/10. This post from php.cn helps to fix the annoying issue. Keep on your reading.

How to Turn Off Tips and Suggestions Notifications in Windows? How to Turn Off Tips and Suggestions Notifications in Windows? Apr 09, 2025 am 12:46 AM

Tips and Suggestions Notifications is a new design of Windows 11. It will give you suggestions and tips on some new features. But some of you may be bothered by the popup tips. You can read this post from php.cn to learn how to turn off tips and sugg

Advanced Tips for Windows   P Not Working on Windows Advanced Tips for Windows P Not Working on Windows Apr 11, 2025 am 12:49 AM

You must be familiar with the Windows P shortcut if you have more than one monitor. However, the Windows P not working properly might happen occasionally. If you are facing this problem, this post from php.cn can help you indeed.

KB2267602 Fails to Install: Here Is How to Fix It! KB2267602 Fails to Install: Here Is How to Fix It! Apr 15, 2025 am 12:48 AM

KB2267602 is a protection or definition update for Windows Defender designed to fix vulnerabilities and threats in Windows. Some users reported that they were unable to install KB2267602. This post from php.cn introduces how to fix the “KB2267602 fai

Difference Between RAID Recovery and Hard Drive Recovery Difference Between RAID Recovery and Hard Drive Recovery Apr 17, 2025 am 12:50 AM

Data recovery is always a heated topic. To successfully restore data from your device, you should know how it stores data. You can learn the difference between RAID recovery and hard drive recovery from this php.cn post.

See all articles