当前位置:网站首页>Simple understanding of MySQL database
Simple understanding of MySQL database
2022-07-06 19:02:00 【Even if it's not known by others】
MySQL Database simple understanding
List of articles
Basic concepts of database
data (Data)
- A symbolic record of things
- Including digital , written words 、 graphics 、 Images 、 voice 、 Records, etc
- With “ Record ” Forms are stored in a unified format
surface
- Organize different records together
- Used to store specific data
database
- Set of tables , It's a warehouse for storing data
- A collection of interrelated data stored in a certain organization
- It's organized according to the data structure 、 Warehouse for storing and managing data
Database management system (DBMS)
- Is to achieve effective organization of database resources 、 System software for management and access
- Establishment and maintenance of database 、 Data definition function 、 Data manipulation function 、 Database operation and management functions 、 Communications functions
Database system
- It's a human computer system , By hardware 、OS、 database 、DBMS、 Application software and database users
- The user can go through DBMS Or the application operates the database
The development of database
First generation database
- since 20 century 60 s , The first generation database system came out
- It is a database system of hierarchical model and mesh model
- It provides strong support for unified management and data sharing
Second generation database
- 20 century 70 s , Second generation database —— Relational databases are beginning to appear
- 20 century 80 s ,IBM The company's relational database system DB2 available , Start to gradually replace the database of hierarchical and mesh model , Become the mainstream of the industry
- up to now , Relational database system still occupies the main position of database application
Third generation database
- since 20 century 80 s , New database systems adapted to different fields are emerging
- Object oriented database system , Practical 、 It has a wide range of adaptability
- 20 century 90 Late S , A variety of database systems support applications together — Some new elements have been added to mainstream database systems
for example ,Oracle Supported by “ Relationship ( object ” database model
The second generation database relational database stores rows in the form of tables – Column
Third generation database non relational data e file , picture , Key value pair , label , Sequence, etc
Document database , Index type , The time series
Introduction to mainstream database
SQLServer ( Microsoft products )
- oriented Windows operating system
- Simple 、 Easy to use
Oracle ( Oracle products )
- For all mainstream platforms
- Security 、 perfect , The operation is complicated
DB2 (IBM The products of the company )
- For all mainstream platforms
- Sky type 、 Security 、 perfect
MySQL( Oracle buys )
- free 、 Open source 、 Small volume
Introduction to relational database
A relational database system is a database system based on a relational model
The data structure of relational model uses two-dimensional data table which is easy to understand
- Each line is called a record , Information used to describe an object
- Each column is called a field , Used to describe an attribute of an object
The relational model can be simply “ Entity - Relationship ”(E-R) It is shown in the figure
E-R The figure contains the entity ( Data objects )、 Three elements of relationship and attribute
relational database : Entity
Also known as instances , Corresponding to... That can be distinguished from other objects in the real world “ event ” Or things "
Such as bank customers 、 Bank accounts, etcrelational database : attribute
A property of an entity , An entity can have multiple properties
Such as “ Bank customers ” Each entity in the entity set has a name 、 address 、 Telephone, etcrelational database : contact
The correspondence between entity sets is called connection , Also known as relationships, such as between bank customers and bank accounts “ savings ” The relationship betweenThe collection of all entities and their relationships constitutes a relational database
The storage structure of relational database is two-dimensional tables in each two-dimensional table
- Each line is called a record , Information used to describe an object
- Each column is called a field , Used to describe an attribute of an object
Application of relational database
Relational database
- Oracle、Mysql
- SQLServer、Sybase
- Informix、access
- DB2、FoxPRO
Applications in life
- 12306 User information system
- Taobao account system
- Website user information system
Introduction to non relational database
- Non relational databases are also called NoSQL (Not Only SQL)
- Storing data is not based on a relational model , No fixed table format is required
- Advantages of non relational database
- Database can be read and written with high concurrency
- Efficient storage and access to massive data
- Database has high scalability and high availability
- Common non relational databases
- Redis
- mongoDB
- etc.
MySQL Database introduction
MySQL
- A popular open source relational database
- Oracle Our products
- comply with GPL agreement , It can be used and modified free of charge
- characteristic
- Performance is remarkable 、 Stable service
- Open source 、 No copyright restrictions 、 The cost is low
- Multithreading 、 Multi user
- be based on C/S( client / The server ) framework
- Safe and reliable
MySQL Installation method
See details before LNMP Medium MySQL install
mysql install
边栏推荐
- 2022-2024年CIFAR Azrieli全球学者名单公布,18位青年学者加入6个研究项目
- helm部署etcd集群
- Understanding disentangling in β- VAE paper reading notes
- R language ggplot2 visual time series histogram: visual time series histogram through two-color gradient color matching color theme
- Implementation of AVL tree
- R language uses DT function to generate t-distribution density function data and plot function to visualize t-distribution density function data
- Execution process of MySQL query request - underlying principle
- Medical image segmentation
- 上海部分招工市场对新冠阳性康复者拒绝招录
- R language ggplot2 visualization: use ggviolin function of ggpubr package to visualize violin diagram
猜你喜欢
helm部署etcd集群
Xu Xiang's wife Ying Ying responded to the "stock review": she wrote it!
Lucun smart sprint technology innovation board: annual revenue of 400million, proposed to raise 700million
朗坤智慧冲刺科创板:年营收4亿 拟募资7亿
Penetration test information collection - WAF identification
Introduction to the use of SAP Fiori application index tool and SAP Fiori tools
How are you in the first half of the year occupied by the epidemic| Mid 2022 summary
Online notes
五金机电行业智能供应链管理系统解决方案:数智化供应链为传统产业“造新血”
Unlock 2 live broadcast themes in advance! Today, I will teach you how to complete software package integration Issues 29-30
随机推荐
Penetration test information collection - WAF identification
Some understandings of tree LSTM and DGL code implementation
五金机电行业智能供应链管理系统解决方案:数智化供应链为传统产业“造新血”
QLabel 跑马灯文字显示
美庐生物IPO被终止:年营收3.85亿 陈林为实控人
R语言ggplot2可视化:使用ggpubr包的ggdotplot函数可视化点阵图(dot plot)、设置palette参数设置不同水平点阵图数据点和箱图的颜色
Openmv4 learning notes 1 --- one click download, background knowledge of image processing, lab brightness contrast
Master Xuan joined hands with sunflower to remotely control enabling cloud rendering and GPU computing services
Specify flume introduction, installation and configuration
监控界的最强王者,没有之一!
渲大师携手向日葵,远控赋能云渲染及GPU算力服务
Reptiles have a good time. Are you full? These three bottom lines must not be touched!
R语言使用rchisq函数生成符合卡方分布的随机数、使用plot函数可视化符合卡方分布的随机数(Chi Square Distribution)
Tongyu Xincai rushes to Shenzhen Stock Exchange: the annual revenue is 947million Zhang Chi and Su Shiguo are the actual controllers
R语言ggplot2可视化时间序列柱形图:通过双色渐变配色颜色主题可视化时间序列柱形图
【论文笔记】TransUNet: Transformers Make StrongEncoders for Medical Image Segmentation
Mathematics in machine learning -- common probability distribution (XIII): Logistic Distribution
被疫情占据的上半年,你还好么?| 2022年中总结
pytorch常见损失函数
Analysis of frequent chain breaks in applications using Druid connection pools