* What is the Database Management System?
A database management system is essentially a collection of interrelated data and a set of programs to access this data. This collection of data is called the database. The primary objective of a DBMS is to provide a convenient environment to retrieve and store database information. DB system support single user and multi-user environment. While on one hand DBMS permits only one person to access the database at a given time, on the other RDBMS allows many users simultaneous access to the database.
A Database system consists of two parts namely, Database Management System and Database application. Database Management System is the program that Organizes and maintains the information whereas the database applications is the program that lets us view, retrieve and update information stored in the DBMS.
- Database is a collection of data in one or more files for the future reference.
- It is also a collection of interrelated data, i.e., database always stores data along with it's relationships.
Database Models:
The main object of the database is store the interrelated data and maintain the data. The very basic elementary piece of the data is called as 'data item'. We assume that item cannot be subdivided into smaller data types and at the same time retain any meaning to the users of the data. The relationship among the data items, which shows how they are related, is called as Data Model.
The Database Models are
- File Management System (FMS)
- Hierarchical database system (HDS)
- Network database system (NDS)
- Relational database Management System (RDBMS)
File Management System:
The File management system was the first method used to store data in a computerized database. Each data item is stored on disk sequentially in one large file. In order to locate one particular item, the search starts at beginning and each item is checked subsequently till the match is found. A particular relationship can not be drawn between the items other than the sequence in which it is stored.
Drawbacks:
- A particular record can't be located quickly. If the data has be stored, the whole file has to be read and rewritten in the new order.
- It will not support data types.
- It will not support to store or allocate memory dynamically.
- Data can't be shared with concurrent users.
- Data duplication possibility is there.
- Very poor security: Operating System provides only a password mechanism for security. This is not sufficiently flexible to enforce security polices in which different users have permission to access different subsets of the data.
- Retrieving data from a file is not faster: We have to write special programs to answer each question a user may want to ask about the data. These programs are likey to be complex because of the large volume of data to be searched.
Hierarchical Database System:
Data storage is in form of a parent child relationship. The Origin of a data tree is the root. Data located at different level along a particular branch from the root is called the node. The last node in the series is called the leaf. This model supports One-to-Many relationship.
Network Database System:
The main idea behind the NDS model is to bring about Many-to-Many relationship The relationship between the different data items is called as sets. This system is also uses a pointer to locate a particular record. (i.e., called as physical links)
Relational Database Management System:
- This model was first outlined by E.F Codd 1970.
- The Component of Relation Model are:
- Collection of objects or relations that stores the data.
- A set of operations that can act on the relations to produce other relations.
- Data integrity for accuracy and consistency.
- It is only logical representations, that is in the form of table(rows and columns).
- Intersection of rows and columns gives single value.
- No data redundancy.
- No physical link relations are maintains logically.
- Supports NULL values, integrity constraints.
- It provides high security.
- Supports unlimited size.
- Supports to store any data types (number, characters, date, images, audio, text and files).
- Data can be stored among several users at a time.
- Data can also shared across the several platforms.
No comments:
Post a Comment