晚上睡觉容易醒是什么原因| 印第安人是什么人种| 胚胎生化是什么意思| 高丽参适合什么人吃| 上海市市委书记是什么级别| 腿上紫色血丝什么原因| 从容面对是什么意思| 过生日送什么礼物| 什么动物最聪明| 怀孕40天有什么症状| 心电图窦性心律是什么意思| 放屁特别臭是什么原因| 长宽高用什么字母表示| 感冒发烧吃点什么食物比较好| 氨咖黄敏胶囊治什么| 什么样的嘴巴| 什么地问| 煲电话粥什么意思| 甲胎蛋白偏低说明什么| 什么是宫颈息肉| 飞机上什么东西不能带| 夏枯草是什么样子| 向日葵的花语是什么| 无咎是什么意思| 古字五行属什么| 猥亵是什么意思| 张飞穿针的歇后语是什么| 7.6什么星座| 免疫力差吃什么| cpi指数上涨意味着什么| 金银花洗澡对婴儿有什么好处| 一什么一笑| 肛门疼痛吃什么药| 胸部彩超能检查出什么| 冠状动脉粥样硬化性心脏病吃什么药| 成都五行属什么| 检查妇科清洁度三是什么意思| 早上打碎碗是什么兆头| 申时是什么时间| 女人脸色发黄吃什么补得最快| ariel是什么意思| 精神食粮是什么意思| 不复相见什么意思| 活菩萨是什么意思| 前列腺炎是什么原因引起的| 骷髅是什么意思| 所谓是什么意思| 什么水果可以降火| 不锈钢肥皂是什么原理| 梦见死猪是什么意思| 经常放屁是什么原因| 孕酮低吃什么可以提高孕酮| 小姨子是什么关系| 鱼龙是什么| 胰腺癌晚期什么症状| 女性头部出汗吃什么药| 绿色洋桔梗花语是什么| 定制和订制有什么区别| 牡丹和芍药有什么区别| 为什么会梦到自己怀孕| 正常的包皮什么样子| 蚊子喜欢咬什么血型| 罗红霉素治什么病| 为什么大便不成形| 人活着什么最重要| 梦见做手术是什么意思| 猩红热是什么病| 内裤用什么洗比较好| 不痛经说明什么| iwc手表是什么牌子| 纣王叫什么名字| 女人喝咖啡有什么好处| 高压150低压100吃什么药| 闺房是什么意思| 下眼睑红肿是什么原因| 10.28什么星座| 尿潜血弱阳性是什么意思| 美篇是什么| 憬五行属什么| lmp医学上什么意思| 减肥什么时候喝牛奶| 故的偏旁是什么| 去湿气吃什么最好| 一什么家| 淋巴结在什么位置| 眼睛肿了用什么药| 什么什么不安| b超跟彩超有什么区别| 作灶是什么意思| 怀孕有积液是什么原因| kids是什么意思| 拘谨是什么意思| 口腔长期溃疡是什么原因引起的| 腰间盘膨出和突出有什么区别| 梦见吐痰是什么意思| 为什么医院不建议药流| them什么意思| 脑梗前有什么预兆| 随喜是什么意思| 吃鸭蛋有什么好处和坏处| 世界第一大河是什么河| 天麻种植需要什么条件| 什么是冰种翡翠| 京东自营店什么意思| 小便发红是什么原因| 什么口什么舌| 聚酯纤维是什么料子| 子宫直肠陷凹什么意思| 抑郁症吃什么药| 北京市市长是什么级别| 脚底肿是什么原因引起的| 额头老出汗是什么原因| 知柏地黄丸治什么病| 风险是什么意思| 0点是什么时辰| 拿什么东西不用手| 急性胃肠炎吃什么药| 珍珠鸟吃什么食物| 总是心慌是什么原因| 冬瓜不能和什么一起吃| 盂是什么意思| 土字五行属什么| 什么叫滑精| 为什么射不出来| 炖鸡放什么调料好吃| 掉筷子有什么预兆| 卷柏属于什么植物| 日出东方下一句是什么| 什么不能带上高铁| 阳痿什么症状| 地中海是什么意思| 单纯性肥胖是什么意思| 屁股胀痛什么原因| 明太鱼是什么鱼| 夏至有什么习俗| 腋臭看什么科| 女人没经验开什么店好| 黄发指什么| 雾化后为什么要漱口| 做梦被杀了是什么征兆| 1月17号什么星座| cl是什么牌子| 脚腕筋疼是什么原因| 耐是什么意思| 什么叫低级别上皮内瘤变| 河南属于什么平原| 乳腺炎不能吃什么| 淋巴结肿大吃什么药消肿效果好| 济州岛有什么好玩的| 今年83岁属什么生肖| 夫妻肺片有什么材料| 贝塔是什么意思| ein是什么牌子| 痦子和痣有什么区别| 什么什么挺立| 指甲薄软是什么原因| hcv是什么病| 上眼药什么意思| 绿豆和什么相克中毒| 连长相当于地方什么官| 吃什么能让子宫瘤变小| 混社会的人一般干什么| 梦到考试是什么意思| 鸡蛋干配什么菜炒好吃| 什么什么的大树| 对食什么意思| 昆明有什么好玩的| 营养心脏最好的药是什么药| 白居易是诗什么| 尿频吃什么药| 2038年是什么年| 胸腔积液叩诊什么音| 1223是什么星座| 生理盐水是什么东西| 咯痰是什么意思| 痔疮手术后可以吃什么水果| 湿疹用什么药好得最快最有效| 小孩说话不清楚挂什么科| 天衣无缝什么意思| 嗔恨心是什么意思| 胸是什么| 今年为什么闰六月| 薄荷叶有什么功效| 上眼皮突然肿了是什么原因| vvs是什么意思| 土耳其是什么人种| 老人流口水是什么原因| 梦见怀孕是什么预兆| 蛋黄吃多了有什么坏处| 夏天喝什么水最好| 熬夜吃什么保健品| 七月半是什么节日| 梅花表属于什么档次| 推荐是什么意思| 蒂芙尼属于什么档次| 再接再厉是什么意思| 单核细胞偏低是什么意思| 风寒感冒吃什么食物| 纳少是什么意思| bosch是什么牌子| 手肿是什么病的前兆| 结缡什么意思| 身上老是痒是什么原因| 痛经吃什么食物| 承受是什么意思| 2004年属猴的是什么命| 吃什么补骨髓造血| 郎才女貌是什么意思| 什么样的沙滩| 罗文和甄妮什么关系| 思念到极致是什么感觉| 结肠炎吃什么药治疗效果好| 拉肚子按摩什么地方可止泻| 做激光近视眼手术有什么危害| 谢娜人气为什么那么高| prep是什么药| 失败是成功之母是什么意思| 喝酒为什么会头疼| 女生下边长痘痘是什么病| 丝苗米是什么米| 吃什么东西对胃好| 什么下奶最快最多| 早上起床口苦口干是什么原因| 梅毒阳性是什么意思| 出脚汗是什么原因| 小揪揪什么意思| 血清铁蛋白低说明什么| 降血脂喝什么茶最好| 白色搭配什么颜色好看| 什么叫做质量| 农历十月初五是什么星座| 烊化是什么意思| 圆是什么图形| 送男孩子什么礼物比较好| 寿司用什么米做好吃| 孕妇脚肿是什么原因| 平常吃什么补肾| 喉部有异物感是什么病| 什么是心律失常| 艺高胆大是什么生肖| 白露是什么季节的节气| 机器学习是什么| 白细胞低是怎么回事有什么危害| hk是什么意思| 孕妇吃葡萄对胎儿有什么好处| 考试吃什么早餐| 四月二十五是什么星座| 君子兰有什么特点| 冠状沟是什么位置| 2002年五行属什么命| 喉结下面是什么部位| 乙肝五项一五阳性什么意思| 死马当活马医是什么意思| 什么叫基因突变| 相对而行是什么意思| 经常拉肚子挂什么科| xl是什么尺码| 2024年五行属什么| 坚强后盾是什么意思| 素颜霜是干什么用的| 光是什么生肖| 高梁长什么样子| 棋字五行属什么| 隋炀帝叫什么名字| 百度

解放军和武警部队代表坚决拥护国家机构改革

(Redirected from Hierarchical database)
百度 22日下午,首批被赦免囚犯从首都哈拉雷的监狱获释。

A hierarchical database model is a data model in which the data is organized into a tree-like structure. The data are stored as records which is a collection of one or more fields. Each field contains a single value, and the collection of fields in a record defines its type. One type of field is the link, which connects a given record to associated records. Using links, records link to other records, and to other records, forming a tree. An example is a "customer" record that has links to that customer's "orders", which in turn link to "line_items".

The hierarchical database model mandates that each child record has only one parent, whereas each parent record can have zero or more child records. The network model extends the hierarchical by allowing multiple parents and children. In order to retrieve data from these databases, the whole tree needs to be traversed starting from the root node. Both models were well suited to data that was normally stored on tape drives, which had to move the tape from end to end in order to retrieve data.

When the relational database model emerged, one criticism of hierarchical database models was their close dependence on application-specific implementation. This limitation, along with the relational model's ease of use, contributed to the popularity of relational databases, despite their initially lower performance in comparison with the existing network and hierarchical models.[1]

History

edit

The hierarchical structure was developed by IBM in the 1960s and used in early mainframe DBMS. Records' relationships form a treelike model. This structure is simple but inflexible because the relationship is confined to a one-to-many relationship. The IBM Information Management System (IMS) and RDM Mobile are examples of a hierarchical database system with multiple hierarchies over the same data.

The hierarchical data model lost traction as Codd's relational model became the de facto standard used by virtually all mainstream database management systems. A relational-database implementation of a hierarchical model was first discussed in published form in 1992[2] (see also nested set model). Hierarchical data organization schemes resurfaced with the advent of XML in the late 1990s[3] (see also XML database). The hierarchical structure is used primarily today for storing geographic information and file systems.[citation needed]

Currently, hierarchical databases are still widely used especially in applications that require very high performance and availability such as banking, health care, and telecommunications. One of the most widely used commercial hierarchical databases is IMS.[4] Another example of the use of hierarchical databases is Windows Registry in the Microsoft Windows operating systems.[5]

Examples of hierarchical data represented as relational tables

edit

An organization could store employee information in a table that contains attributes/columns such as employee number, first name, last name, and department number. The organization provides each employee with computer hardware as needed, but computer equipment may only be used by the employee to which it is assigned. The organization could store the computer hardware information in a separate table that includes each part's serial number, type, and the employee that uses it. The tables might look like this:

employee table
EmpNo First Name Last Name Dept. Num
100 Almukhtar Khan 10-L
101 Gaurav Soni 10-L
102 Siddhartha Soni 20-B
103 Siddhant Soni 20-B
computer table
Serial Num Type User EmpNo
3009734-4 Computer 100
3-23-283742 Monitor 100
2-22-723423 Monitor 100
232342 Printer 100

In this model, the employee data table represents the "parent" part of the hierarchy, while the computer table represents the "child" part of the hierarchy. In contrast to tree structures usually found in computer software algorithms, in this model the children point to the parents. As shown, each employee may possess several pieces of computer equipment, but each individual piece of computer equipment may have only one employee owner.

Consider the following structure:

EmpNo Designation ReportsTo
10 Director
20 Senior Manager 10
30 Typist 20
40 Programmer 20

In this, the "child" is the same type as the "parent". The hierarchy stating EmpNo 10 is boss of 20, and 30 and 40 each report to 20 is represented by the "ReportsTo" column. In Relational database terms, the ReportsTo column is a foreign key referencing the EmpNo column. If the "child" data type were different, it would be in a different table, but there would still be a foreign key referencing the EmpNo column of the employees table.

This simple model is commonly known as the adjacency list model and was introduced by Dr. Edgar F. Codd after initial criticisms surfaced that the relational model could not model hierarchical data.[citation needed] However, the model is only a special case of a general adjacency list for a graph.

See also

edit

References

edit
  1. ^ Silberschatz, Abraham; Korth, Henry F.; Sudarshan, S. Database System Concepts. 4th ed., McGraw-Hill, 2004, p. 11, 21.
  2. ^ Michael J. Kamfonas/Recursive Hierarchies: The Relational Taboo! Archived 2025-08-06 at the Wayback Machine--The Relation Journal, October/November 1992
  3. ^ "Web Application Development". IBM.
  4. ^ IBM Information Management System
  5. ^ "Structure of the Registry - Win32 apps".
edit
脚转筋是什么原因 由加页念什么 朝鲜韩国什么时候分开的 琉璃色是什么颜色 便秘吃什么能马上排便
杨颖原名叫什么 脚干脚裂用什么药 精索静脉曲张是什么原因导致的 二甲医院是什么级别 子宫位于腹部什么位置
你算个什么东西 花开半夏是什么意思 出生医学证明有什么用 金色葡萄球菌最怕什么 睡多了头疼是什么原因
龙吃什么食物 尿酸检查什么项目 什么是断掌 手指甲上有竖纹是什么原因 什么是小暑
晟什么意思hcv9jop6ns7r.cn 蒲公英泡水喝有什么用huizhijixie.com 娇气是什么意思hcv8jop6ns4r.cn 粉瘤不切除有什么危害aiwuzhiyu.com 夜宵吃什么不会胖hcv8jop1ns7r.cn
exm是什么意思hcv7jop4ns7r.cn 什么床品牌最好hcv8jop8ns3r.cn 荷兰猪吃什么hcv8jop7ns5r.cn 九月二十是什么星座huizhijixie.com 甜叶菊有什么功效hcv8jop5ns5r.cn
花圃是什么意思hcv8jop8ns6r.cn 做脑ct对人体有什么危害hcv9jop7ns9r.cn 走投无路是什么意思hcv9jop5ns2r.cn 脑血管堵塞吃什么药最好hcv8jop0ns9r.cn 跟腱炎吃什么药效果好hcv8jop9ns7r.cn
小便多吃什么药1949doufunao.com 腰脱是什么症状hcv9jop3ns4r.cn 什么草药可以止痒ff14chat.com 钢琴8级什么水平hcv8jop0ns7r.cn 人体消化道中最长的器官是什么bfb118.com
百度