万里长城是什么生肖| 皈依有什么好处| 白发缺少什么维生素| o什么意思| 腹部彩超可以检查什么| 猴子属于什么类动物| 如泰山前面一个字是什么啊| 老舍的原名叫什么| rm是什么币| 金酒属于什么酒| 什么是大麦| 1996年属什么| 4月什么星座| 验孕棒什么时候测| 大便为什么不成形| 得了艾滋病有什么症状| ras医学上是什么意思| 小巴西龟吃什么食物| 什么东西不能一起吃| 知性是什么意思| 麻长什么样子图片| 面面俱到是什么意思| 智齿为什么会发炎| dha是什么意思| 高尿酸血症是什么病| 十月二十九是什么星座| 肋骨骨折什么症状| 上将是什么级别| josiny是什么牌子| 开飞机需要什么驾照| 乌龟为什么会叫| 双肾尿盐结晶是什么| 起义是什么意思| 梦到明星是什么意思| 防晒什么时候涂| 空窗期是什么意思| 河蚌吃什么食物| 橱窗是什么意思| 牙龈流血是什么原因| 陇是什么意思| 开光的手串有什么禁忌| 甘少一横读什么| 黄疸是什么样子的图片| 退烧吃什么药好| 史迪仔是什么动物| 为什么都开头孢不开阿莫西林| 今年贵庚是什么意思| 非布司他片是什么药| 杨梅不能和什么一起吃| 8.14是什么星座| 双脚发热是什么原因| 男女更年期分别在什么年龄| 总是拉肚子是什么原因| 满文军现在在干什么| 什么食物含硒| 12.29是什么星座| 苦口婆心是什么意思| 低密度胆固醇高吃什么药| 胃息肉是什么原因造成的| 髂静脉在什么位置| olay是什么品牌| 主管是什么级别| 手机越狱什么意思| dj管是什么| k粉是什么| 烧心是什么症状| 液体套是什么| 眼睛痒是什么原因引起的| 为什么血是红色的| 来姨妈头疼是什么原因| 天堂是什么意思| 碟鱼头是什么鱼| 门前的小树已成年是什么歌| 血糖仪什么牌子的好用又准确| 冲任失调是什么意思| 线下是什么意思| 为什么虾煮熟了会变红| 什么是心衰| 鹿晗什么时候回国的| 气血是什么| 奶奶的哥哥叫什么| 117是什么电话| 04年的猴是什么命| 月经期间吃西瓜有什么影响| 桥本甲状腺炎有什么症状表现| 孕期吃什么补铁| 彩色多普勒超声常规检查是什么| etf什么意思| 什么是大小周| 前轮轴承坏了会有什么症状| 脑白质疏松是什么意思| 天津卫的卫是什么意思| 可乐饼为什么叫可乐饼| 毛豆有什么营养价值| 桑榆是什么意思| 缺钙吃什么食物| 腰椎管狭窄吃什么药| k是什么| 心境什么意思| 一什么露珠| 女人大把掉头发是什么原因| 尿酸高什么症状| 舌苔厚口臭吃什么药好| 子宫内膜薄吃什么| 照影是什么检查| 1972年属鼠五行属什么| 什么人什么己| 男孩学什么专业好| 光绪是慈禧的什么人| 女生体毛多是什么原因| 蛀牙是什么样子的| 血脂粘稠有什么症状| 刘字五行属什么| 胎儿生物物理评分8分什么意思| 医德是什么| 不倒翁是什么意思| 支原体阳性是什么意思| 男子精少吃什么药可以生精| 胃疼喝什么药| 什么的山野| 子宫前位和子宫后位有什么区别| e m s是什么快递| 毛骨悚然是什么意思| 心神不定是什么生肖| 舌裂吃什么药| 发烧吃什么消炎药| 胃痛挂什么科| 同一首歌为什么停播了| 梦见自己准备结婚是什么意思| 小家碧玉是什么生肖| 吃什么能美白| 尿味道很重是什么原因| 什么叫通勤| 勃起功能障碍吃什么药| 脚心起水泡是什么病症| 厚黑学讲的是什么| 沙果是什么水果| 什么的清香| 蓝色的猫是什么品种| 飞蚊症是什么原因造成的能治愈吗| 黄芪有什么功效| 瞬息万变是什么意思| 什么样的雪花| 胆固醇高应注意什么| 肝右叶钙化灶是什么意思| 胆固醇高吃什么最好| 肾在什么位置| 为什么孩子要跟爸爸姓| 做梦梦到和别人吵架是什么意思| 运动后喝什么水最好| 成人高考是什么| 旧人是什么意思| gst什么意思| 经期适合吃什么| 打新股需要什么条件| 为什么不能空腹喝豆浆| 身上皮肤痒是什么原因| 天狼星在什么位置| 朋友是什么| 什么地眨眼| 什么症状要查心肌酶| 杭州有什么景点| 中国现在是什么社会| negative什么意思| 牛肉炖什么好吃又营养| 宫后积液是什么意思| 看脚趾头挂什么科| 太白金星是什么神| 左耳朵嗡嗡响是什么原因引起的| ab型血和o型血生的孩子是什么血型| 捋一捋是什么意思| 阴囊上长了几根白毛是什么原因| 周六左眼跳是什么预兆| 浩特是什么意思| 15年婚姻是什么婚| 做梦抓到很多鱼是什么征兆| 嗜睡是什么症状| 孜然是什么| 打了狂犬疫苗不能吃什么| 讣告什么意思| 输血四项检查是什么| 黄豆炒什么好吃| 什么补血快| 眼睛跳是什么原因| 山不转水转是什么意思| 淋巴细胞降低说明什么| 什么是熵| 什么是家庭| 城隍爷是什么神| 什么原因得湿疹| 最大的荔枝是什么品种| 多春鱼为什么全是籽| 农历3月3是什么节日| 梦见前夫是什么意思| 默契什么意思| 女性胃火旺吃什么药| 濯清涟而不妖的濯是什么意思| 仓鼠突然死了是为什么| 做试管前需要检查什么项目| 梦见鳝鱼是什么预兆| 6.15是什么星座| 小孩便秘是什么原因引起的| 咽峡炎是什么病| 吃什么食物可以减肥| 画是什么生肖| 口腔检查挂什么科| 补骨脂是什么东西| 卫生间除臭用什么最好| 气虚是什么原因造成的| 世交是什么意思| 鼻炎不能吃什么食物| 房颤有什么症状| 参苓白术散治什么病| 嗜睡乏力没精神容易疲劳是什么原因| 什么叫私人会所| 梦见别人搬家预示什么| 什么生肖名扬四海| plv是什么意思| 吃什么补钙| 二郎神叫什么名字| 尿酸高可以吃什么| 七月是什么生肖| 肩膀痛挂什么科| 拉肚子恶心想吐吃什么药| 处女座是什么象| 回煞是什么意思| crf是什么意思| 萎缩性胃炎有什么症状| 荆芥不能和什么一起吃| 读书有什么好处| 勇气是什么| 小便尿起泡是什么原因| 什么什么大笑| 床榻是什么意思| hisense是什么牌子| 87岁属什么生肖| kappa属于什么档次| 射手属于什么象星座| 清洁度1度是什么意思| 仓鼠突然死了是为什么| 经常干咳是什么原因| 乙基麦芽酚是什么东西| 中国最大的湖泊是什么湖| 绿色加红色是什么颜色| 2月15号是什么星座| tct检查是什么| 03属什么生肖| 射精出血是什么原因| 眼帘是什么意思| 脚气什么样| 红颜知己代表什么关系| 有什么黄色网站| 吃东西就吐是什么原因| 小孩子肚子疼吃什么药| 暮雪是什么意思| 30岁是什么之年| 药物流产最佳时间什么时候| 白色配什么颜色好看| 人分三六九等什么意思| 内膜薄吃什么增长最快| 炖猪排骨放什么调料| 此刻朋友这杯酒最珍贵是什么歌| 诈尸是什么意思| 皮肤消炎用什么药最好| 百度Jump to content

共享充电宝火了!创始人说三个月烧光1亿不算什么

From Wikipedia, the free encyclopedia
百度   在实行住房限购政策的同时,实施差别化住房信贷政策。

Database design is the organization of data according to a database model. The designer determines what data must be stored and how the data elements interrelate. With this information, they can begin to fit the data to the database model.[1] A database management system manages the data accordingly.

Database design is a process that consists of several steps.

Conceptual data modeling

[edit]

The first step of database design involves classifying data and identifying interrelationships. The theoretical representation of data is called an ontology or a conceptual data model.

Determining data to be stored

[edit]

In a majority of cases, the person designing a database is a person with expertise in database design, rather than expertise in the domain from which the data to be stored is drawn e.g. financial information, biological information etc. Therefore, the data to be stored in a particular database must be determined in cooperation with a person who does have expertise in that domain, and who is aware of the meaning of the data to be stored within the system.

This process is one which is generally considered part of requirements analysis, and requires skill on the part of the database designer to elicit the needed information from those with the domain knowledge. This is because those with the necessary domain knowledge often cannot clearly express the system requirements for the database as they are unaccustomed to thinking in terms of the discrete data elements which must be stored. Data to be stored can be determined by Requirement Specification.[2]

Determining data relationships

[edit]

Once a database designer is aware of the data which is to be stored within the database, they must then determine where dependency is within the data. Sometimes when data is changed you can be changing other data that is not visible. For example, in a list of names and addresses, assuming a situation where multiple people can have the same address, but one person cannot have more than one address, the address is dependent upon the name. When provided a name and the list the address can be uniquely determined; however, the inverse does not hold – when given an address and the list, a name cannot be uniquely determined because multiple people can reside at an address. Because an address is determined by a name, an address is considered dependent on a name.

(NOTE: A common misconception is that the relational model is so called because of the stating of relationships between data elements therein. This is not true. The relational model is so named because it is based upon the mathematical structures known as relations.)

Conceptual schema

[edit]

The information obtained can be formalized in a diagram or schema. At this stage, it is a conceptual schema.

ER diagram (entity–relationship model)

[edit]
A sample entity–relationship diagram

One of the most common types of conceptual schemas is the ER (entity–relationship model) diagrams.

Attributes in ER diagrams are usually modeled as an oval with the name of the attribute, linked to the entity or relationship that contains the attribute.

ER models are commonly used in information system design; for example, they are used to describe information requirements and / or the types of information to be stored in the database during the conceptual structure design phase.[3]

Logical data modeling

[edit]

Once the relationships and dependencies amongst the various pieces of information have been determined, it is possible to arrange the data into a logical structure which can then be mapped into the storage objects supported by the database management system. In the case of relational databases the storage objects are tables which store data in rows and columns. In an Object database the storage objects correspond directly to the objects used by the Object-oriented programming language used to write the applications that will manage and access the data. The relationships may be defined as attributes of the object classes involved or as methods that operate on the object classes.

The way this mapping is generally performed is such that each set of related data which depends upon a single object, whether real or abstract, is placed in a table. Relationships between these dependent objects are then stored as links between the various objects.

Each table may represent an implementation of either a logical object or a relationship joining one or more instances of one or more logical objects. Relationships between tables may then be stored as links connecting child tables with parents. Since complex logical relationships are themselves tables they will probably have links to more than one parent.

Normalization

[edit]

In the field of relational database design, normalization is a systematic way of ensuring that a database structure is suitable for general-purpose querying and free of certain undesirable characteristics—insertion, update, and deletion anomalies that could lead to loss of data integrity.

A standard piece of database design guidance is that the designer should create a fully normalized design; selective denormalization can subsequently be performed, but only for performance reasons. The trade-off is storage space vs performance. The more normalized the design is, the less data redundancy there is (and therefore, it takes up less space to store), however, common data retrieval patterns may now need complex joins, merges, and sorts to occur – which takes up more data read, and compute cycles. Some modeling disciplines, such as the dimensional modeling approach to data warehouse design, explicitly recommend non-normalized designs, i.e. designs that in large part do not adhere to 3NF. Normalization consists of normal forms that are 1NF, 2NF, 3NF, Boyce-Codd NF (3.5NF), 4NF, 5NF and 6NF.

Document databases take a different approach. A document that is stored in such a database, typically would contain more than one normalized data unit and often the relationships between the units as well. If all the data units and the relationships in question are often retrieved together, then this approach optimizes the number of retrieves. It also simplifies how data gets replicated, because now there is a clearly identifiable unit of data whose consistency is self-contained. Another consideration is that reading and writing a single document in such databases will require a single transaction – which can be an important consideration in a Microservices architecture. In such situations, often, portions of the document are retrieved from other services via an API and stored locally for efficiency reasons. If the data units were to be split out across the services, then a read (or write) to support a service consumer might require more than one service calls, and this could result in management of multiple transactions, which may not be preferred.

Physical design

[edit]

Physical data modeling

[edit]

The physical design of the database specifies the physical configuration of the database on the storage media. This includes detailed specification of data elements and data types.

Other physical design

[edit]

This step involves specifying the indexing options and other parameters residing in the DBMS data dictionary. It is the detailed design of a system that includes modules & the database's hardware & software specifications of the system. Some aspects that are addressed at the physical layer:

  • Performance – mainly addressed via indexing for the read/update/delete queries, data type choice for insert queries
  • Replication – what pieces of data get copied over into another database, and how often. Are there multiple-masters, or a single one?
  • High-availability – whether the configuration is active-passive, or active-active, the topology, coordination scheme, reliability targets, etc all have to be defined.
  • Partitioning – if the database is distributed, then for a single entity, how is the data distributed amongst all the partitions of the database, and how is partition failure taken into account.
  • Backup and restore schemes.

At the application level, other aspects of the physical design can include the need to define stored procedures, or materialized query views, OLAP cubes, etc.

See also

[edit]

References

[edit]
  1. ^ Teorey, T.J., Lightstone, S.S., et al., (2009). Database Design: Know it all.1st ed. Burlington, MA.: Morgan Kaufmann Publishers
  2. ^ Teorey, T.; Lightstone, S. and Nadeau, T.(2005) Database Modeling & Design: Logical Design, 4th edition, Morgan Kaufmann Press. ISBN 0-12-685352-5
  3. ^ Javed, Muhammad; Lin, Yuqing (2018). "Iterative Process for Generating ER Diagram from Unrestricted Requirements". Proceedings of the 13th International Conference on Evaluation of Novel Approaches to Software Engineering. SCITEPRESS – Science and Technology Publications: 192–204. doi:10.5220/0006778701920204. ISBN 978-989-758-300-1.

Further reading

[edit]
  • S. Lightstone, T. Teorey, T. Nadeau, "Physical Database Design: the database professional's guide to exploiting indexes, views, storage, and more", Morgan Kaufmann Press, 2007. ISBN 0-12-369389-6
  • M. Hernandez, "Database Design for Mere Mortals: A Hands-On Guide to Relational Database Design", 3rd Edition, Addison-Wesley Professional, 2013. ISBN 0-321-88449-3
[edit]
每天跳绳有什么好处 jio什么意思 屏蔽一个人意味着什么 尿路感染检查什么项目 搬家有什么讲究
临床药学是干什么的 718是什么星座 为什么大便会拉出血 容易中暑是什么原因 科学解释什么叫上火
拉肚子最好吃什么食物 颢字五行属什么 捉摸不透是什么意思 bmd是什么意思 伤官女是什么意思
red是什么颜色 延年是什么意思 葡挞跟蛋挞有什么区别 吃什么祛痰化痰最有效 丙肝抗体阳性是什么意思呢
暹什么意思hcv9jop0ns5r.cn 有痰是什么原因hcv9jop4ns0r.cn 羊后马前对是什么生肖hcv8jop4ns8r.cn 非分之想是什么意思hcv9jop2ns9r.cn 聚酰胺纤维是什么面料hcv9jop0ns0r.cn
右眼睛跳是什么原因hcv7jop6ns8r.cn nsfw什么意思liaochangning.com 甲状腺饱满是什么意思hcv9jop6ns7r.cn 饸烙面是什么面hcv9jop3ns6r.cn 女鼠配什么属相最好hcv8jop7ns7r.cn
牙龈一直出血是什么原因hcv8jop0ns6r.cn 什么人不能喝丹参hcv9jop3ns7r.cn 临盆是什么意思qingzhougame.com 头出汗是什么原因hcv8jop6ns5r.cn 男人眉毛长代表什么hcv8jop4ns7r.cn
焦虑症吃什么药好hcv9jop3ns7r.cn 蟑螂长什么样子hcv8jop0ns7r.cn 植物纤维是什么面料xscnpatent.com 红肉是什么肉fenrenren.com 梦见水里有蛇是什么意思hcv9jop5ns7r.cn
百度