Hierarchical model
Encyclopedia : H : HI : HIE : Hierarchical model
| Database models |
|---|
|
|
An example of a hierarchical data model would be if an organisation had records of employees in a table (entity type) called "Employees". In the table there would be attributes/columns such as First Name, Last Name, Job Name and Wage. The company also has data about the employee’s children in a separate table called "Children" with attributes such as First Name, Last Name, and DOB. The Employee table represents a parent segment and the Children table represents a Child segment. These two segments form a hierarchy where an employee may have many children, but each child may only have one parent.
Hierarchical structures were widely used in the first mainframe database management systems. However, owing to their restrictions, they often cannot be used to relate structures that exist in the real world. Hierarchical relationships between different types of data can make it very easy to answer some questions, but very difficult to answer others. If a one-to-many relationship is violated (e.g. a patient can have more than one physician), then the hierarchy becomes a network.
While the hierarchical model is rare in modern databases, it is common in many other means of storing information, ranging from filesystems to the Windows registry to XML documents.
Some Well-known Hierarchical Databases
- Adabas
- GT.M
- IMS
- Cach%C3%A9_%28software%29
- Metakit
- Multidimensional_hierarchical_toolkit
- Mumps_compiler
See also
External links
- Open Directory Project: [Computers > Data Formats > Database > Hierarchical]
- [Mumps Compiler]
- [C++ Hierarchical Toolkit]
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
