Which Command flushes the database buffers?

  1. $TAB

  2. $RESET

  3. $INIT

  4. $FREE


Correct Option: A

AI Explanation

To answer this question, we need to understand the purpose of flushing database buffers and how it is done.

Database buffers are used to temporarily store data in memory before writing it to the disk. Flushing the database buffers involves writing the data from the buffers to the disk, ensuring that the data is persistent and not lost in case of a system failure.

Among the given options, the correct command to flush the database buffers is:

A) $TAB - This option is correct because the $TAB command is commonly used to flush the database buffers. It forces the data in the buffers to be written to the disk, ensuring data durability.

B) $RESET - This option is incorrect because the $RESET command is not typically used to flush database buffers. The $RESET command is usually used to reset system configurations or parameters.

C) $INIT - This option is incorrect because the $INIT command is not commonly used to flush database buffers. The $INIT command is typically used for initializing or starting a process or system.

D) $FREE - This option is incorrect because the $FREE command is not typically used to flush database buffers. The $FREE command is usually used to release memory or resources that are no longer needed.

The correct answer is A) $TAB. This option is correct because the $TAB command is commonly used to flush the database buffers and ensure data durability.

Find more quizzes: