- Data model mainly describes the data, which gets stored and processed in a given situation.
- A data model may describe data and various levels and description may be at logical / physical levels or from the point of user.
- A data model proposes a set of concepts for description of the nature of data and inter-relationships between them along with the syntax.
- A model should have as minimum concepts, which are close to real world so that user can understand the model and verify.
- The model should provide primitives by which meaning of data can be captured. The meaning contains type of value data items take their inter-relation to higher level entities and the correctness requirement for them.
A data model
The data model is used to represent real facts of the application. An application may contain many facts however one has to focus only on important facts ignoring the others. For example in case of student details application, student name, roll no, address have to be described however student may also contain other facts like fathers name etc. which may not be relevant. Some of the salient features that model must may have are listed.
Relational Database Model
Insertion anomalies and redundant data are problems associated with an early database model known as a hierarchical table (parent-child table). Network database (owner-member table) models were problematic as well. These two models led to the development of the relational database model.
The relational model for database management is a database model based on first –order predicate logic (mathematical theories applied by Dr. E. F. Codd). A database model organized in terms of relational model is a relational database model (RDM).
In a RDM, data are stored in a relation or table (those terms may be used interchangeably.) Each table contains rows or records, (also called tuples), and columns which represent attributes or fields. Each record or row is represented by a unique field known as the Primary key. The categories of relationships in a RDM are one-to-one, one-to-many, and many-to-many. A many-to-many relationship must be broken down into numerous one-to-many relationships. If a pair of tables share a relationship, data can be retrieved based on matching values of a shared field between the tables. Data is retrieved by specifying fields and tables using a standard query language known as Structured Query Language (SQL). Most DBMSs (Database Managements Systems) use SQL to build, modify, maintain and manipulate databases. Thorough knowledge of SQL isn’t always necessary since most DMBSs use a graphical interface to generate SQL statements and retrieve data. It is good, however, to have basic knowledge of SQL.
Related Posts
- Solved MCQ on Database Backup and Recovery in DBMS set-111 Dec 20140
1) Which of the following is not a recovery technique?A. Deferred updateB. Immediate updateC. Two-ph...Read more »
- Solved MCQ on Distributed Database Transaction Management set-410 Dec 20140
1) Commit and rollback are related to ..........A. data integrityB. data consistencyC. data sharingD...Read more »
- Solved MCQ on Oracle Distributed Transaction set-309 Dec 20140
1) A mechanism which ensures that simultaneous execution of more than one transaction does not lead ...Read more »
- Solved MCQ on Transaction Management in DBMS set-208 Dec 20140
1) In the ............, one transaction inserts a row in the table while the other transaction is ha...Read more »
- Solved MCQ on Distributed Transaction Management set-108 Dec 20140
1) If the transaction is rolled back, all the database changes made inside the transaction are ........Read more »
- Solved MCQ on Fundamental of DBMS set-1007 Dec 20140
1) Which of the following is not a characteristic of a relational database model?A. TableB. Tree lik...Read more »
الاشتراك في:
تعليقات الرسالة (Atom)
إرسال تعليق
Click to see the code!
To insert emoticon you must added at least one space before the code.