当前位置:网站首页>初识MySQL
初识MySQL
2022-07-06 18:09:00 【胡阳阳Y】
1.MySQL的历史及特点
历史: 由瑞典的MySQL AB 公司创立,1995开发出的MySQL 2008年,MySQL被SUN公司收购 2009年,Oracle收购SUN公司,进而Oracle就获取了MySQL 2016年,MySQL8.0.0版本推出
特点: 开源的、关系型的数据库 支持千万级别数据量的存储,大型的数据库
1.持久化:将数据保存到可掉电式存储设备中以供之后使用。
数据持久化意味着将内存中的数据保存到硬盘上加以“固化”。
持久化的主要作用是将内存中的数据存储在关系型数据库中。
2.了解MySQL
DB:database,看做是数据库文件。 (类似于:.doc、.txt、.mp3、.avi、。。。)
DBMS:数据库管理系统。(类似于word工具、wps工具、记事本工具、qq影音播放器等) MySQL数据库服务器中安装了MySQL DBMS,使用MySQL DBMS 来管理和操作DB,使用的是SQL语言。
SQL:结构化查询语言
专门用来与数据库通信的语言
RDBMS:关系型数据库
关系型数据库以行(row)和列(column)的形式存储数据
ORM思想
数据库中的一个表<-->Java中的一个类
表中的一条数据<-->类中的一个对象(或实体)
表中的一个列<-->类中的一个字段,属性(field)
表的关联关系
一对一关联,一对多关联,多对多关联,自我引用
3.SQL的分类
DDL:数据定义语言
DML:数据操作语言(包括SELECT查询语句,重点)
DCL:数据控制语言
边栏推荐
- AcWing 361. 观光奶牛 题解(spfa求正环)
- AcWing 346. Solution to the problem of water splashing festival in the corridor (deduction formula, minimum spanning tree)
- 7.6模拟赛总结
- 如何管理分布式团队?
- Match VIM from zero (0) -- Introduction to vimscript
- Table table setting fillet
- AcWing 1140. Shortest network (minimum spanning tree)
- 从零开始匹配vim(0)——vimscript 简介
- Spark TPCDS Data Gen
- MySQL script batch queries all tables containing specified field types in the database
猜你喜欢

405 method not allowed appears when the third party jumps to the website

454-百度面经1

移植DAC芯片MCP4725驱动到NUC980

Body mass index program, entry to write dead applet project

mongodb查看表是否导入成功

Appium foundation - appium inspector positioning tool (I)

Gin introduction practice

域分析工具BloodHound的使用说明

2022 Google CTF segfault Labyrinth WP

Yunna | work order management measures, how to carry out work order management
随机推荐
[chip scheme design] pulse oximeter
MySQL script batch queries all tables containing specified field types in the database
增加 pdf 标题浮窗
How to prevent overfitting in cross validation
736. Lisp 语法解析 : DFS 模拟题
AI 从代码中自动生成注释文档
Telnet,SSH1,SSH2,Telnet/SSL,Rlogin,Serial,TAPI,RAW
Comparison of picture beds of free white whoring
Taro applet enables wxml code compression
Installation of gazebo & connection with ROS
AcWing 1140. Shortest network (minimum spanning tree)
域分析工具BloodHound的使用说明
Neon Optimization: performance optimization FAQ QA
微信公众号发送模板消息
搭建【Redis in CentOS7.x】
今日问题-2022/7/4 lambda体中修改String引用类型变量
【信号与系统】
uva 1401 dp+Trie
C语言实例_3
405 method not allowed appears when the third party jumps to the website