VisualBuilder
  Home > Database > Tutorials > Data Models - Database Tutorial
Tell a friend
Link to us
Total Members
      Members: 84606
     
Sitemap Forum Chat
Home
Database Tutorial Home
1 . Introduction To Database
2 . Data Models
3 . Three-Schema Architecture of Database Systems
4 . Database System Architectures
5 . Codd\'s Rules for Relational Databases.
6 . Keys in DBMS
7 . Concept of Normalization
8 . First Normal Form
9 . Second Normal Form
10 . Third Normal Form
11 . Boyce-Codd Normal Form(BCNF)
12 . Fourth Normal Form
13 . Fifth Normal Form (Projection-Join Normal Form)
14 . Introduction TO SQL
15 . Transactions in DBMS
16 . Steps to Design Database for a System
 
Database Group Home
Database Discussion
Database Members (489)
Database Resources
Database Source Code (0)
Database Articles (0)
Database Blogs
Database Jobs
Database Components (0)
Database Books
Database Websites (0)
Database News (0)
Database Q & A (14)
- Database Ask Question
- Database Questions
- Database Unanswered Questions
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.NET Development Tips
ASP.Net Security,Internationalisation And Deployment
ASP.NET Server Controls Tips
ASP.NET Tutorial
C Sharp Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (432 )
Source Code (3217 )
Articles (11 )
Components (1589 )
News (880 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise


Database Tutorial
 Data Models
  << Prev: Introduction To Database Next: Three-Schema Architecture of Database Systems >>

Data model is defined as the collection of conceptual tools for describing data, data relationships, data semantics and consistency constraints. There are following four Data Model exists.


The Hierarchical Data Model


A hierarchical database consists of the following:



  1. It contains nodes connected by branches same as the trees in datastructers.

  2. The top node is called the root.

  3. If multiple nodes appear at the top level, the nodes are called root segments.

  4. The parent of node nx is a node directly above nx and connected to nx by a branch.

  5. Each node (with the exception of the root) has exactly one parent.

  6. The child of node nx is the node directly below nx and connected to nx by a branch.

  7. One parent may have many children.


The Network Data Model


Like the The Hierarchical Data Model the Network Data Model also consists of nodes and branches, but a child may have multiple parents within the network structure.


The Relational Data Model


The Relational Data Model has the relation at its heart, but then a whole series of rules governing keys, relationships, joins, functional dependencies, transitive dependencies, multi-valued dependencies, and modification anomalies. A relation is subject to the following rules:



  1. Relation (file, table) is a two-dimensional table.

  2. Attribute (i.e. field or data item) is a column in the table.

  3. Each column in the table has a unique name within that table.

  4. Each column is homogeneous. Thus the entries in any column are all of the same type (e.g. age, name, employee-number, etc).

  5. Each column has a domain, the set of possible values that can appear in that column.

  6. A Tuple (i.e. record) is a row in the table.

  7. The order of the rows and columns is not important.

  8. Values of a row all relate to some thing or portion of a thing.

  9. Repeating groups (collections of logically related attributes that occur multiple times within one record occurrence) are not allowed.

  10. Duplicate rows are not allowed (candidate keys are designed to prevent this).

  11. Cells must be single-valued (but can be variable length). Single valued means the following:

    • Cannot contain multiple values such as 'A1,B2,C3'.

    • Cannot contain combined values such as 'ABC-XYZ' where 'ABC' means one thing and 'XYZ' another.




database-design-03 (1K)




Object Oriented Model

In object oriented model information is represented in the form of objects as used in object oriented programming. Object Oriented Database Management Systems is a combination of object oriented programming language capabilities and database capabilities. It contains some properties like transparently persisted data, concurrency control, data recovery, associative queries, and other capabilities. Some object oriented programming languages are Java, C++, .NET, Visual Basic, Python etc. Most object databases also offer some kind of query language, allowing objects to be found by a more declarative programming approach.

  << Prev: Introduction To Database Next: Three-Schema Architecture of Database Systems >>
Database Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
LINKS
MSN
Video Surveillance
Skype vs. sipcall
Gift to Pakistan
 
ADVERTISEMENT
 
PARTNER LIST

More
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising