当前位置:网站首页>Database design process
Database design process
2022-07-25 04:28:00 【Learn to put down ta】
Database design process
- According to the application system function , Analyze data entities ( Entity : Stored data objects )
Online retailers : user 、 goods 、 Order …
Educational administration system : Student 、 achievement 、 Course … - Extract the data item of the entity ( Data items are entity attributes )
goods : commodity price , picture , describe …
Student : full name 、 achievement 、 Student number … - Data items of entities designed according to the three normal forms of database design
If the data table does not meet the three normal forms , It may be difficult to maintain , Destroying data integrity , The problem of unity - draw E—R chart , Visually display the relationship between entities
- Database modeling : Three line diagram for data table design 、powerdesigner,pdman
- Building database and building tables : To write sql sentence
- Add data test database
Three paradigms
- Column cannot be subdivided
- There is no partial dependency of non key fields on key fields

terms of settlement : Divide the above table into three tables 1( Student number 、 full name 、 Gender )2( Course number 、 Course name )3( Student number 、 Course number 、 achievement ) The third table takes student number and course number as the joint primary key - There is no delivery dependency for non critical fields

solve : Take the key field and the dependent non key field as the primary key , Check the dependencies of all non critical fields at once
draw E—R chart ( Accumulate experience in actual combat )
Using basic graphics , Connecting lines express the relationship between entities , Properties owned, etc
Conceptual data model – Party a
Logical data model – The programmer
Physical data model – Different databases have different physical models : You can fine tune the data model , Can directly generate database building statements with physical models –sql file , Running this file on the client can directly build the Library
Modeling tools : You can generate database statements –sql file , It can also directly generate object-oriented code ( for example java) But in general, there is no need to , The code specifications are inconsistent
This is the end of the simple introduction to database , Thank you for watching.
边栏推荐
- [understanding of opportunity-47]: Guiguzi - Chapter 11 - decision makers, moderation, and rational distribution of interests
- Paper:《Peeking Inside the Black Box: Visualizing Statistical Learning with Plots of Individual Condi
- MySQL 中RDS 链接数突然上涨怎么查?
- Apache Doris series: in depth understanding of real-time analytical database Apache Doris
- SMIC's revenue in 2018 was $3.36 billion, and 14nm technology was mass produced this year
- [matlab] solve the mex error there was a problem creating the mex file for real time execution, please ensure y
- Sudden! Britain accuses Huawei of major defects in its equipment (with report)
- Chart is code: build a new generation of graphics library in a coded way -- feekin
- [golang from introduction to practice] stone scissors paper game
- You are only one SQL statement away from the tdengine Developer Conference!
猜你喜欢

Roleapp focuses on Web3 and opens the door of Web3 with the key of "data can be held"

RGB and SATA function switching module based on Quanzhi rk3568j

Creativity: presentation of AI oil paintings with high imitation mineral pigments

2019 telecast retest test questions

EMQ Yingyun technology was successfully selected into the 2022 "cutting edge 100" list of Chinese entrepreneurs

Has baozi ever played in the multi merchant system?

Open source summer interview | "after 00" PMC member Bai Zeping

Press the switch for the minimum number of times to turn on all lights

High temperature in Britain: two airport runways were burnt out, and several railways were restricted to ensure safety

Eve-ng lab simulator Cisco, H3C test host alias
随机推荐
Penetration test target combat SQL injection getshell
Grafana visual configuration diagram histogram
Apipost signs up with Chinatelecom! Work together to accelerate the digital transformation of enterprises
Installation and tutorial of MATLAB curling simulation game
Druid连接池——从0开始坚强的一点点的自学,Druid一点不懂的可以点进来,懂得别点进来,点进来你会嫌我啰嗦的
The LAF protocol elephant of defi 2.0 may be one of the few profit-making means in your bear market
DIY can decorate the mall system, you can also have!
Function and technical principle of data desensitization [detailed explanation]
Roleapp focuses on Web3 and opens the door of Web3 with the key of "data can be held"
Docker install MySQL 5.7
GDAL image resampling
Has baozi ever played in the multi merchant system?
LVGL 8.2 Tabview
Best practice cases of data security in the medical industry (desensitization version)
Permanently solve Matplotlib Chinese garbled code
Creativity: presentation of AI oil paintings with high imitation mineral pigments
Behind Senma's LP, "Wenzhou Department" is running into the venture capital circle
Huawei cloud from entry to actual combat | cloud rapid site establishment service and enterprise host security service
LVGL 8.2 Tabview & Window
Spire. Office for net 7.7.2 and news