DATABASE MODEL -
Data Modelling is a way of organizing a collection of information pertaining to a system under investigation.
A Database Model is a collection of conceptual tools for describing data, data relationships, data semantics and consistency constraints. Most data model also included a set of basic operation for specifying and updating on the database.
We can also specify a set of valid user defined cooperation that are allowed on the database object most widely used data model in traditional commercial DBMS, or network Hierarchical and Relational models. Object based data model are new to this category, the short description of these model is given below. It consists of two parts:
- A mathematical notation for describing the data and relationships.
- A set of operations used to manipulate the data.
Types of Database Models-
- Hierarchical
- Network
- Relational
- Object Oriented database model
1. Hierarchical Database Model-
2. Network Database Model-
The network database folder was developed as an alternative to the hierarchical database. The network database model expands on the hierarchical model by providing multiple paths among segments That is, more than one parent child relationship.
Hence, this model allows having.
- one-to-one(1:1) relationship
- one-to-many(1:M) relationship
- many-to-many(M:M) relationship
A network database stores, information in data sets, which are similar to files and tables.
The primary drawback of network databases is that it can be quite complicating to maintain all the links. In network database model, all the relationships are hardwired and build into the structure of the databases itself.
Therefore, they are very efficient in space utilization and query execution times. However, the price of such performance is inflexibility and great difficulty of use.
3. Relational Database Model-
In relational model, the relations among them are represented by a collection of tables. A table is a collection of records, and each record in a table contain the same fields. The attractiveness of the relational approach arises from the simplicity in the data organization and availability of reasonable simply to very powerful query language.
A description of data in term of a data model is called schema. In relational model, the schema for a relation is specified its name, the name of each field and the type of each field. As an example, employee information in an organization database may be stored in a relation with the following schema.
Emp_no | Integer |
---|---|
Name | String |
Address | String |
Phone number | Integer |
Department | String |
Salary | Float |
- Each item is a simple number of Character string.
- In any given column of a table, all items are of same kind.
- All rows of a table are distinct. In other words, no two rows which are identical in every column.
- The columns of a table are assigned distinct name and the ordering of these columns is immaterial.
- Ordering of rows within a table is immaterial.
- If a table has N column, it is said to be a degree N. This is sometimes also referred to as the cardinality of the table.
4. Object Oriented Database Model-
Object DBMS adds database functionality to object programming languages. They bring much more than persistence storage of programming language object. Object DBMS extended the schematics of the C++ and JAVA object programming language to provide full featured database programming capability while retaining native language capability.
A major benefit of this approach in the uniform of the application and database development into a seamless data model and language environment.
As a result, application require less code uses more natural data modeling and code bases are easier to maintain. Object developers can write complete database application with a modest amount of additional effort.
Object DBMS is a well suited for complex application areas such as Computer Aided Design and Manufacturing (CAD&CAM) Computer Integrated Management (CIM) and Computer Edit Software Engineering (CASE) etc.
Object Relational model-
Object Relational Database Management Systems( ORDBMS) add new object storehouse capability to the relational system at the core of ultramodern information system. These new installations integrate operation of traditional field data, complex objects similar as time series that Geo- spatial data different double media, similar as audio, videotape, images and applets.
0 Comments