Question:
In database recovery management, what does the ‘Write-Ahead Logging’ (WAL) protocol mandate?
डेटाबेस पुनर्प्राप्ति प्रबंधन में ‘राइट-अहेड लॉगिंग’ (WAL) प्रोटोकॉल क्या अनिवार्य करता है?
Options:
- The log records representing changes must be flushed to non-volatile stable storage before the corresponding data page is written to disk
- All read queries must be logged before data is sent to the client
- Transactions can only write to memory buffers after disk write confirmation
- Database checkpoints can only occur during complete system idle periods
- संबंधित डेटा पेज को डिस्क पर लिखे जाने से पहले परिवर्तनों के लॉग रिकॉर्ड को गैर-वाष्पशील सुरक्षित भंडारण पर फ्लश किया जाना चाहिए
- क्लाइंट को डेटा भेजने से पहले सभी रीड क्वेरी को लॉग किया जाना चाहिए
- डिस्क पुष्टि के बाद ही मेमोरी में लिखा जा सकता है
- डेटाबेस चेकपॉइंट केवल निष्क्रिय अवधि के दौरान हो सकते हैं
Correct Answer: a)
Explanation:
WAL requires that log records describing an update must be forced to stable storage before the corresponding modified database page is written to disk, ensuring Atomicity and Durability during a crash.
WAL नियम के अनुसार डेटा पेज को डिस्क पर लिखने से पहले उससे संबंधित लॉग प्रविष्टि को डिस्क पर सुरक्षित लिखना अनिवार्य होता है।