Question
Option 2 : The log record must be forced to stable storage before the data page it describes is written / जिस डेटा पेज का वह वर्णन करता है उसके लिखे जाने से पहले लॉग रिकॉर्ड स्थायी स्टोरेज में फ़ोर्स किया जाना चाहिए
Detailed Solution
सही उत्तर The log record must be forced to stable storage before the data page it describes is written / जिस डेटा पेज का वह वर्णन करता है उसके लिखे जाने से पहले लॉग रिकॉर्ड स्थायी स्टोरेज में फ़ोर्स किया जाना चाहिए है।
Question:
The write-ahead logging (WAL) protocol mandates which ordering between a log record and the corresponding data-page write? / राइट-अहेड लॉगिंग (WAL) प्रोटोकॉल लॉग रिकॉर्ड और संगत डेटा-पेज राइट के बीच कौन-सा क्रम अनिवार्य करता है?
Correct Answer: The log record must be forced to stable storage before the data page it describes is written / जिस डेटा पेज का वह वर्णन करता है उसके लिखे जाने से पहले लॉग रिकॉर्ड स्थायी स्टोरेज में फ़ोर्स किया जाना चाहिए
WAL requires the log record describing an update to be on stable storage before the dirty data page is flushed; otherwise a crash could lose the only record of the update and make UNDO/REDO impossible. / WAL अपेक्षा करता है कि अपडेट का वर्णन करने वाला लॉग रिकॉर्ड डर्टी डेटा पेज फ्लश होने से पहले स्थायी स्टोरेज में हो; अन्यथा क्रैश में अपडेट का एकमात्र रिकॉर्ड खो सकता है और UNDO/REDO असंभव हो जाएगा।