当前位置:网站首页>[database] conceptual design, logical design, relational database design theory
[database] conceptual design, logical design, relational database design theory
2022-07-25 21:28:00 【Master Hao】
One : conceptual design :
ER Model : Entity attributes and connections
Entities and entity sets :
Properties of entities : Attributes and entities are nouns :
demand –》ER chart :
Attributes cannot be further divided , An entity can consist of multiple attributes .
Same kind of connection :


The basic relationship between entities and derived entities :

As shown in the figure above , Connection also has its own attributes .





Associated Nominalization :
ER In the figure , Every entity , Must have entity identifiers , Artificially increase information for borrowing ID.

Two 、 logic design 


Each entity is transformed into 1 A relationship model
1:1, stay 1 One side joins the foreign key of the other side .
Combined the primary key , And foreign keys 


3、 ... and 、UML Do conceptual and logical design :







Logic design tools : Relational database design theory




F It's functional dependency .
Between attributes 1 Yes 1 Relationship , Is functional dependency .


Only satisfaction 1NF, Relational database 











Decomposition should not compromise information and relational dependencies 
attach : View :
Views do not store data , It's a virtual table , It's from 1 Take data from one or several tables , The view only defines data retrieval rules .
边栏推荐
- 腾讯云数据库的可信可控之路
- Detailed explanation of Ag search tool parameters
- As a test, how to understand thread synchronization and asynchrony
- mysql8.0 mha实现高可用《mha》
- Sqlx library usage
- yuv422转rgb(422sp转420p)
- C#常见的集合
- Qixin Jushi cloud spectrum new chapter | Haitai Fangyuan and Sichuan Unicom reach ecological strategic cooperation
- Sentinel vs Hystrix 限流对比,到底怎么选?
- Research on the scheme of MySQL advanced (VIII) sorting problem
猜你喜欢

ONEFLOW V0.8.0 officially released

Oracle RAC RMAN backup error ora-19501 ora-15081

Product principles of non-financial decentralized application

Vivo official website app full model UI adaptation scheme

2022 latest examination questions and answers of eight members (standard staff) of Shanghai Architecture

Pycharm跑程序时自动进入测试模式

Detailed explanation of JVM memory model and structure (five model diagrams)

NVIDIA has opened source a comprehensive library of 3D deep learning based on pytorch

How to solve the problem of high concurrency and large traffic with PHP

Jmeter分布式压测
随机推荐
Record the transfer of domain names from Alibaba cloud service providers to Huawei cloud
The onnx model is exported as a TRT model
腾讯云数据库的可信可控之路
2022 latest examination questions and answers of eight members (standard staff) of Shanghai Architecture
3阶有向完全图的所有非同构的子图(不同钩子图个数)
When facing complex problems, systematic thinking helps you understand the essence of the problem
day04_ array
Interface testing tool restlet client
人脸与关键点检测:YOLO5Face实战
零基础学习CANoe Panel(17)—— Panel CAPL Function
Autojs learning - realize 3D perspective
NPM module removal_ [solved] after NPM uninstalls the module, the module is not removed from package.json [easy to understand]
Pyqt5 use pyqtgraph to draw multiple y-value scatter plots
【网络教程】IPtables官方教程--学习笔记2
Leetcode skimming -- guess the size of numbers II 375 medium
On Web Performance Optimization (1)
租房二三事
[depth] the new LAAS agreement elephant: the key to revitalizing the development of the defi track
Sqlx library usage
Naming rules for BSP of Quanzhi chip