Question:
In database recovery, what does the ‘Checkpointing’ technique accomplish?
डेटाबेस पुनर्प्राप्ति में ‘चेकपॉइंटिंग’ तकनीक क्या पूरा करती है?
Options:
- It writes dirty buffer pool pages to disk and writes a checkpoint record to log, shortening recovery time after a crash
- It creates an identical offline clone of the database every hour
- It revokes all user credentials temporarily
- It rolls back uncommitted transactions immediately
- यह मेमोरी बफर पेजों को डिस्क पर लिखता है और लॉग में चेकपॉइंट रिकॉर्ड दर्ज करता है, जिससे क्रैश के बाद रिकवरी का समय घट जाता है
- यह डेटाबेस का क्लोन बनाता है
- उपयोगकर्ता अनुमतियां रद्द करता है
- अपूर्ण लेनदेन को तुरंत वापस लेता है
Correct Answer: a)
Explanation:
A checkpoint forces all dirty data pages in RAM to disk and logs the active transactions. During recovery after a system crash, the database engine does not need to redo log operations prior to the checkpoint, dramatically speeding up recovery.
चेकपॉइंट मेमोरी के संशोधित पेजों को डिस्क पर लिखकर लॉग में निशान लगाता है, जिससे सिस्टम क्रैश के बाद शुरू से लॉग पढ़ने की जरूरत नहीं होती और रिकवरी तेजी से होती है।