Home > Database > Mysql Tutorial > body text

Introducing a simple database Database tutorial (1)

伊谢尔伦
Release: 2017-04-29 17:34:15
Original
1641 people have browsed it

Database

1 Definition

Database can be simply explained as: an efficient medium for storing and processing data (mainly divided into two types: disk and memory).

2 Classification

According to different database storage media, it can be divided into two categories, namely: relational database (SQL) and non-relational database (NoSQL, Not Only SQL).

3 Example

Relational database:

Large-scale: Oracle, DB2, etc.;

Medium-sized: SQL Server, MySQL, etc.;

Small: Access etc.

Non-relational databases:

Memcached, MongoDB and Redis, etc.

4 Difference

Relational database:

Safe, it saves data to the disk, and it is basically impossible to lose data;

It is a waste of space because it stores data in the form of a two-dimensional table.

Non-relational database:

The efficiency of storing data is relatively high;

is not particularly safe, and a sudden power outage will cause data loss.

The above is the detailed content of Introducing a simple database Database tutorial (1). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template