EBK A GUIDE TO SQL
EBK A GUIDE TO SQL
9th Edition
ISBN: 8220103671682
Author: Last
Publisher: CENGAGE L
Question
Book Icon
Chapter 7, Problem 1RQ
To determine

Hidden tasks performed by DBMS when users update and retrieve data.

Expert Solution & Answer
Check Mark

Explanation of Solution

A DBMS is of no use to any user if it's not capable of providing some functions. Updation and retrieval are the fundamental job of a DBMS. Thus, a DBMS must provide to its users the ability to perform same. These tasks are solely the responsibility of a DBMS and a user needs not be aware of them.

The general steps followed in almost all operations are in diagram below:

EBK A GUIDE TO SQL, Chapter 7, Problem 1RQ

An operation contains instructions given by users and some tasks that are performed at the backend.

The difference usually occurs at step 2 and 3 where more than one sub operations might be needed to complete the task.

An updation operation can be performed by a user in the following way: by adding a new record, changing an existing records or it's deletion. All these consist of some instructions given by user and some task performed by DBMS.

Updation:

1. adding new records:

User enters an item and requests the DBMS to add a new item into database.

Following tasks are performed by DBMS following the request:

  • It checks whether the records already exist in Database
  • If not, it creates a new record and adds it to the database.
  • Informs the user that the operation is complete, and the record is now a part of the database.

2. Changing a record:

User requests the DBMS to change an item from the database.

Following tasks are performed by DBMS following the request:

  • It reads the data from database that needs to be changed.
  • It displays the current data to user so that new value can be provided for changing.
  • It changes the value as soon as new value is provided.

3. Deleting a record:

User requests the DBMS to delete an item from the database.

Following tasks are performed by DBMS following the request:

  • It reads the data from database that needs to be deleted.
  • It displays the current data to user so that user is able to see what will be deleted.
  • It deletes the value as soon as user confirms the deletion action.

Retrieval:

A user is capable of reading a value from database. Following are the steps performed by DBMS to complete the operation:

  • It finds and reads the record from database
  • It displays the record to user

Thus, an operation consists of both the task done by a user and the tasks performed by a user. The DBMs is fully capable of performing these sub tasks at backend without the user being aware of it.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
21. Determine Zi, Zo, and A, for the network of Fig. 8.73 if the 20-μF capacitor is removed and the parameters of the network are the same as in Problem 20. Compare results with those of Problem 20. +12 V 3.3 ΚΩ +6 C₂ C₁ Z₁ 10 ΜΩ 1.1 ΚΩ Cs 20 μF FIG. 8.73 Zo
Ninth Edition Determine Zi, Zo and Av 20 V Zi + 1 ΜΩ 2 ΚΩ HH Z IDSS= 6MA Vp=-6V Yos = 40μS 20 and 47
What is the worst case time complexity of the following algorithm for i = 1 to x do  for j = 2^((i-1)x) to 2^(in) do print(i,j)
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Enhanced Discovering Computers 2017 (Shelly Cashm...
Computer Science
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Cengage Learning
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Cengage Learning
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
MIS
Computer Science
ISBN:9781337681919
Author:BIDGOLI
Publisher:Cengage
Text book image
CMPTR
Computer Science
ISBN:9781337681872
Author:PINARD
Publisher:Cengage