1.0k views
5 votes
Some operating systems perform buffered I/O. In this scheme, an request is accepted from a user, and the user is informed of the normal I/O completion. However the actual physical write operation is performed later,at a time convenient to the operating system.

a)List the operating systems which perform buffered I/O
b)Discuss the effect of buffered I/O on integrity in a DBMS.

1 Answer

2 votes

Final answer:

Buffered I/O is used in operating systems such as Windows, Linux, and macOS. It can have an impact on integrity in a DBMS by risking data loss in the event of a system failure.

Step-by-step explanation:

a) Examples of operating systems that perform buffered I/O include: Windows, Linux, and macOS.

b) Buffered I/O can have an impact on integrity in a DBMS. When data is written to a buffer instead of directly to disk, there is a risk of data loss in the event of a system failure. If the operating system crashes before the data is written from the buffer to disk, the changes may be lost, resulting in data inconsistency.

Buffered I/O is a common technique used by various operating systems to manage input and output operations. This method allows an operating system to inform a user of a completed I/O operation even though the actual physical write may occur at a later time. Some of the operating systems that perform buffered I/O include Windows, UNIX, Linux, and macOS.

With regard to the effect of buffered I/O on database management systems (DBMS), one significant concern is data integrity. Because writes are deferred, there is a risk of data loss in the event of a system crash or power failure before the data is actually written to the storage medium. DBMS often implement additional mechanisms, such as write-ahead logging and transaction logs, to ensure data integrity despite the use of buffered I/O.

User KhanZeeshan
by
8.1k points