重返MySQL之MySQL基础

数据库65

重返MySQL之MySQL基础

本章详细介绍了,什么是数据库,常见的关系型数据库有哪些,什么是MySQL,及MySQL中DDL操作表,DML操作表记录。

1.0 数据库概述

1.1 数据存储的方式

  • 目前来说如果我们要进行数据存储,有几种方式:
  • 我们可以使用集合等方法将数据保存在内存中,但数据不能持久化。如果电源被切断/程序退出,数据将被清除。
    [En]

    We can use collections and other methods to keep the data in memory, but the data cannot be persisted. If the power is cut off / the program exits, the data will be cleared.*

  • 我们也可以将数据保存在普通文件中,可以永久保存,但查找、添加、修改和删除数据麻烦且效率低下。
    [En]

    We can also save the data in ordinary files, which can be saved persistently, but it is troublesome and inefficient to find, add, modify and delete data.*

  • 所以我们需要一个数据可以持久化和容易操作的地方,这就是我们接下来要向大家介绍的数据库。
    [En]

    so we need a place where data can be persisted and easily manipulated, and this is the database that we are going to introduce to you next.*

1.2 什么是数据库

  • 数据库(DataBase,DB):指长期保存在计算机的存储设备(硬盘)上,按照一定规则组织起来,可以被各种用户或应用共享的数据集合. 还是以文件的方式存在服务器的电脑上的。
  • 说白了就是数据的仓库, 用来持久化保存数据的.

1.3 常见的关系型数据库

输入验证码查看隐藏内容

扫描二维码关注本站微信公众号 Johngo学长
或者在微信里搜索 Johngo学长
回复 svip 获取验证码
wechat Johngo学长