当前位置:网站首页>1-数据库了解
1-数据库了解
2022-06-29 09:27:00 【西宏柿王多鱼】
1.什么是数据库
数据库是按照数据结构来组织、存储和管理数据的仓库。
2.什么是关系型数据库管理系统(RDBMS)
关系型数据库是建立在关系模型基础上的数据库,借助于集合代数等数学概念和方法来处理数据库中的数据。
关联数据库管理系统将数据保存在不同的表中,而不是将所有数据放在一个大仓库内,这样就增加了速度并提高了灵活性。
3.关系型数据库管理系统的特点(RDBMS)
- 数据以表格的形式出现
- 每行为各种记录名称
- 每列为各种记录名称所对应的数据域
- 许多的行和列组成一张表单
- 若干的表单组成DataBase
- 数据库:数据库是一些关联表的集合
- 数据表:表是数据的矩阵。
- 列:一列数据元素包含了相同的数据
- 行:一行是一组记录,是一组相关的数据
- 冗余(rong,三声):存储两倍数据,降低了性能但是提高了数据的安全性
- 键:键的值在当前表中具有唯一性
- 主键:主键是唯一的。一个数据表只能包含一个主键。可以使用主键来查询数据
- 外键:外键用来关联两个表
- 复合键:复合键(组合键)将多个列作为一个索引键,一般用于复合索引
- 索引:使用索引可可快速访问数据库表中的特定信息。索引是对数据库表中一列或多列的值进行排序的一种结构。
- 参照完整性:参照的完整性要求关系中不允许引用不存在的实体。
边栏推荐
- 2019.11.13 training summary
- L2-026 small generation (25 points)
- 1146 Topological Order (25 分)
- qgis制图
- std::unique_ptr<T>与boost::scoped_ptr<T>的特殊性
- 2019.10.30 learning summary
- L1-009 sum of N numbers (20 points)
- Ural1517 freedom of choice [suffix array: longest common continuous substring]
- Summary after the 2009 ICPC Shanghai regional competition
- Time varying and non time varying
猜你喜欢

This open source project is super wow, and handwritten photos are generated Online

Common usage of LINQ in C #

Download control 1 of custom control (downloadview1)

Sixteen system counter and flow lamp

2021年团体程序设计天梯赛-模拟赛

Win32Exception (0x80004005): 组策略阻止了这个程序。要获取详细信息,请与系统管理员联系。

HDU 6778 car (group enumeration -- > shape pressure DP)

Text of the basic component of the shutter

PGP在加密技术中的应用

Recurrence of vulnerability analysis for Cisco ASA, FTD and hyperflex HX
随机推荐
mysql中的if [not] exists
Implementation of iequalitycomparer interface in C #
We can't tell the difference between distributed and cluster. Let's tell the story of two cooks cooking
Shanke's C language 2018 exercise (Telecom)
std::make_ shared<T>/std::make_ Unique < T> and std:: shared_ ptr<T>/std::unique_ The difference and relation between PTR < t >
Vmware的下载与安装(基本思路+详细过程)
Devaxpress double click to get cell data
Codeforces Round #652 (Div. 2)
L2-3 这是二叉搜索树吗?-题解超精彩哦
Wandering --- 最后的编程挑战
Recyclerview sticky (suspended) head
查看CSDN的博客排名
Acwing271 [teacher Yang's photographic arrangement] [linear DP]
函数指针、函数指针数组、计算器+转移表等归纳总结
Weight recursion of complete binary tree -- the last programming challenge
Related problems of pointer array, array pointer and parameter passing
1146 topological order (25 points)
Graphics learned from jigsaw puzzles h
Picture verification code control
std::make_shared<T>/std::make_unique<T>与std::shared_ptr<T>/std::unique_ptr<T>的区别与联系