Explain shadow paging with suitable example in dbms
Answers
Shadow paging is a duplicate-on-write technique for evading in-place apprises of pages. As an alternative, when a page is to be altered, a shadow page is owed. As the shadow page has no references (from other pages on disk), it can be altered generously, without concern for reliability restraints
Example:
In shadow copy in DBMS, the old copy of the database has not been pretentious. This arrangement is grounded on making copies of the database, called shadow copies, accepts that only one deal is active at a time. The scheme also accepts that the database is simply a file on disk .
Know more:
https://brainly.in/question/9793111 Compare The Shadow-paging Recovery Scheme With The Log-based Recovery Schemes In Terms Of Ease Of Implementation And Overhead Cost?
Shadow paging:
- Shadow paging in DBMS is the process by which all the transaction processes are performed in the shadow copy of the database.
- Once all the transactions completely executed, it will be updated to the database. Therefore, if there is any failure in the middle of the process, it will not be mirrored in the database.
- Shadow paging is a procedure used in computer science to provide atomicity and consistency in database systems. Shadow paging is a copy-on-write strategy for presenting in-place amendments of pages.
To know more about shadow paging
Compare The Shadow-paging Recovery Scheme With The Log-based Recovery Schemes In Terms Of Ease Of Implementation And Overhead Cost?
https://brainly.in/question/9793111