Sunday 8 July 2012

Why we needed Database:

Sunday 08 July 2012
Why we needed Database?
We are using MS SQL Server as Database for our application. So what is the actual need to use Database? That is the actual essence of this article.
Many people have a good habit to write daily dairy of every in and outs of the day. So dairy is an entity of storage to store or manage something or some information of our daily life.
If we think in broad perspective, Database provides a systematic and organized way of storing, managing and retrieving from collection of logically related information.
Secondly the information has to be persistent, that means even after the application is closed the information should be persisted.
Finally it should provide an independent way of accessing data and should not be dependent on the application to access the information.
Now explaining the third aspect with an example.
Figure of a text file containing some information as:

The first column of the information is Name, Second Address and third the Mobile number. This is simple text file which is designed by a programmer for a specific application.
It works fine in the boundary of the application. Now some years down the line a third party application has to be  integrated with this file, so in order the third party application integrates properly it has the following options:-
v  Use interface of the original application
v  Understand the complete detail of how the text file is organized, example the first column is Name, then Address and finally Mobile number. After analyzing write a code which can read the file, parse it etc.
That’s what the main difference between a simple file and database. Database has independent way of accessing information while simple files do not. File meets the storing, managing and retrieving part of a database but not the independent way of accessing data.

2 comments:

  1. It's an nice article.
    Well i think you are taking about RDBMS. Before RDBMS we use the TREE structure, Networking Model to store data. These model have there own complexity.
    As per DR.E.F.CODD Introduce the RDBMS... then we got the table like structure to store and understand it easily.

    ReplyDelete
    Replies
    1. Thanks Mr. Joydeep for your comment and thanks also to go through this article.
      Yes. you are absolutely correct that there were existence of various ways of storing data and their own areas of complexity before RDBMS. Actually main difference is that file can not provide multi user capabilities which a DBMS provides. That's what the main difference between a simple file and database; database has independent way of accessing information while simple files do not. File meets the storing, managing and retrieving part of a database but not the independent way of accessing data.

      Actually, Dr, E.F.CODD laid down some 12 rules or protocol which a DBMS should adhere in order to get the statusco of a true logo.

      I am expecting more constructive comments.
      Thanks

      Delete