Saturday, 15 December 2012

List four significant differences between a file-processing system and a DBMS.

Answer: Some main differences between a database management system and a file-processing system are:

  • Both systems contain a collection of data and a set of programs which access that data. A database management system coordinates both the physical and the logical access to the data, whereas a file-processing system coordinates only the physical access.

  • A databasemanagement system reduces the amount of data duplication by ensuring that a physical piece of data is available to all programs authorized to have access to it,whereas data written by one programin a file-processing system may not be readable by another program.

  • A database management system is designed to allow flexible access to data (i.e., queries), whereas a file-processing system is designed to allow predetermined access to data (i.e., compiled programs).

  • A database management system is designed to coordinate multiple users accessing the same data at the same time. A file-processing systemis usually designed to allow one or more programs to access different data files at the same time. In a file-processing system, a file can be accessed by two programs concurrently only if both programs have read-only access to the file.


Q) Give any two disadvantages of a database system.


Answer: Two disadvantages associated with database systems are listed below.

a. Setup of the database system requires more knowledge, money, skills, and time.


b. The complexity of the database may result in poor performance.



Q) Explain the difference between physical and logical data independence.


Answer:

  • Physical data independence is the ability to modify the physical scheme without making it necessary to rewrite application programs. Such modifications include changing fromunblocked to blocked record storage, or from sequential to random access files.

  • Logical data independence is the ability to modify the conceptual scheme without making it necessary to rewrite application programs. Such a modification might be adding a field to a record; an application program’s view hides this change from the program.


Related Topics : RDBMS Concepts

1 comment: