The database approach to managing data is superior to the file-based approach.

The database approach to managing data is superior to the file-based approach.

Name

:

Clas

s:

Dat

e:

Chapter 3 - Database Systems and Big Data

True / False

1. A database, a database management system, and the application programs that use the data, make up a database

environment.

a. True

b. Fals

e

ANSWER: True

2. A field is typically a name, number, or combination of characters that describes an aspect of a business object.

a. True

b. Fals

e

ANSWER: True

3. A collection of data fields that are all related to one object, activity, or individual is called a file.

a. True

b. Fals

e

ANSWER: Fals

e

4. An attribute is a general class of people, places, or things for which data is collected, stored, and maintained.

a. True

b. Fals

e

ANSWER: Fals

e

5. If "color" is an attribute, then "green" is a data item.

a. True

b. Fals

e

ANSWER: True

6. Two sets of fields can have a common primary key.

a. True

b. Fals

e

ANSWER: Fals

e

7. The database approach to managing data is superior to the file-based approach.

a. True

b. Fals

Copyright Cengage Learning. Powered by Cognero.Page 1

In this guide, you will learn advantages and disadvantages of DBMS. We will first discuss what is a file processing system and how Database management systems are better than file processing systems.

Drawbacks of File system

  • Data redundancy: Data redundancy refers to the duplication of data, lets say we are managing the data of a college where a student is enrolled for two courses, the same student details in such case will be stored twice, which will take more storage than needed. Data redundancy often leads to higher storage costs and poor access time.
  • Data inconsistency: Data redundancy leads to data inconsistency, lets take the same example that we have taken above, a student is enrolled for two courses and we have student address stored twice, now lets say student requests to change his address, if the address is changed at one place and not on all the records then this can lead to data inconsistency.
  • Data Isolation: Because data are scattered in various files, and files may be in different formats, writing new application programs to retrieve the appropriate data is difficult.
  • Dependency on application programs: Changing files would lead to change in application programs.
  • Atomicity issues: Atomicity of a transaction refers to “All or nothing”, which means either all the operations in a transaction executes or none.

    For example: Let’s say Steve transfers 100$ to Negan’s account. This transaction consists multiple operations such as debit 100$ from Steve’s account, credit 100$ to Negan’s account. Like any other device, a computer system can fail lets say it fails after first operation then in that case Steve’s account would have been debited by 100$ but the amount was not credited to Negan’s account, in such case the rollback of operation should occur to maintain the atomicity of transaction. It is difficult to achieve atomicity in file processing systems.

  • Data Security: Data should be secured from unauthorised access, for example a student in a college should not be able to see the payroll details of the teachers, such kind of security constraints are difficult to apply in file processing systems.

Advantage of DBMS over file system

There are several advantages of Database management system over file system. Few of them are as follows:

  • No redundant data: Redundancy removed by data normalization. No data duplication saves storage and improves access time. 
  • Data Consistency and Integrity: As we discussed earlier the root cause of data inconsistency is data redundancy, since data normalization takes care of the data redundancy, data inconsistency also been taken care of as part of it
  • Data Security: It is easier to apply access constraints in database systems so that only authorized user is able to access the data. Each user has a different set of access thus data is secured from the issues such as identity theft, data leaks and misuse of data.
  • Privacy: Limited access means privacy of data. DBMS can grant and revoke access to the database on user level that ensures who is accessing which data. It also helps user to manage the constraints on database, this ensures which type of data can be entered into the table. 
  • Easy access to data – Database systems manages data in such a way so that the data is easily accessible with fast response times. Even if the database size is huge, the DBMS can still provide faster access and updation of data.
  • Easy recovery: Since database systems keeps the backup of data, it is easier to do a full recovery of data in case of a failure. This is very useful especially for almost all the organizations, as the data maintained over time should not be lost during a system crash or failure.
  • Flexible: Database systems are more flexible than file processing systems. DBMS systems are scalable, the database size can be increased and decreased based on the amount of storage required. It also allows addition of additional tables as well as removal of existing tables without disturbing the consistency of data.
  • DBMS implementation cost is high compared to the file system
  • Complexity: Database systems are complex to understand
  • Performance: Database systems are generic, making them suitable for various applications. However this feature affect their performance for some applications

How the data based approach is different from file based approach?

Database Management System is basically software that manages the collection of related data. ... Difference between File System and DBMS:.

What are the advantages of a database management approach to the file processing approach?

Advantages of Database Management System.
Reducing Data Redundancy. The file based data management systems contained multiple files that were stored in many different locations in a system or even across multiple systems. ... .
Sharing of Data. ... .
Data Integrity. ... .
Data Security. ... .
Privacy. ... .
Backup and Recovery. ... .
Data Consistency..

What is the database approach to data management?

The Database Approach to Data Management. Database technology eliminates many of the problems of traditional file organization by organizing data: centralizing data and controlling redundant data, and serve many applications and different groups at the same time.

What are some of the advantages of the database approach compared to the shared file approach of storing data?

The database approach. The database approach is an improvement on the shared file solution as the use of a database management system (DBMS) provides facilities for querying, data security and integrity, and allows simultaneous access to data by a number of different users.