Question

1.
2.
3.
4.
Answer (Detailed Solution Below)

Option 3 : The list of transactions active at checkpoint time, so the log scan starts from the checkpoint instead of the log beginning / चेकपॉइंट समय पर सक्रिय लेन-देनों की सूची, ताकि लॉग स्कैन लॉग की शुरुआत के बजाय चेकपॉइंट से शुरू हो

Advertisement

Detailed Solution

सही उत्तर The list of transactions active at checkpoint time, so the log scan starts from the checkpoint instead of the log beginning / चेकपॉइंट समय पर सक्रिय लेन-देनों की सूची, ताकि लॉग स्कैन लॉग की शुरुआत के बजाय चेकपॉइंट से शुरू हो है।

Key Points
Helpful?
PrepSnapprepsnap.in • Part -A

Question:

In log-based recovery, what does a checkpoint record primarily store, and why does it speed up recovery? / लॉग-आधारित रिकवरी में चेकपॉइंट रिकॉर्ड मुख्यतः क्या संग्रहीत करता है, और यह रिकवरी को क्यों तेज़ करता है?

1.
The full database snapshot, so no log scan is needed / पूर्ण डेटाबेस स्नैपशॉट, ताकि कोई लॉग स्कैन न चाहिए
2.
Only committed transactions, so UNDO is never needed / केवल कमिटेड लेन-देन, ताकि UNDO कभी न चाहिए
3.
The list of transactions active at checkpoint time, so the log scan starts from the checkpoint instead of the log beginning / चेकपॉइंट समय पर सक्रिय लेन-देनों की सूची, ताकि लॉग स्कैन लॉग की शुरुआत के बजाय चेकपॉइंट से शुरू हो
4.
The lock table, so deadlocks are avoided / लॉक टेबल, ताकि डेडलॉक टल जाएँ

Correct Answer: The list of transactions active at checkpoint time, so the log scan starts from the checkpoint instead of the log beginning / चेकपॉइंट समय पर सक्रिय लेन-देनों की सूची, ताकि लॉग स्कैन लॉग की शुरुआत के बजाय चेकपॉइंट से शुरू हो

A checkpoint record lists active transactions and flushes dirty buffers; recovery then scans the log only from the most recent checkpoint, bounding the UNDO/REDO work. / चेकपॉइंट रिकॉर्ड सक्रिय लेन-देनों की सूची रखता है और डर्टी बफ़र फ्लश करता है; तब रिकवरी केवल नवीनतम चेकपॉइंट से लॉग स्कैन करती है, जिससे UNDO/REDO कार्य सीमित रहता है।

Downloaded from PrepSnap (prepsnap.in)