Author | Message |
---|---|
victormejia
Posts: 40
|
Posted 17:46 Nov 17, 2010 |
Just to make sure I am understanding this, Stage 1 is already implemented in the doRecover() method of the RecoveryMgr right? All we need to do is implement Stage 3, in which we have to iterate forward?
|
cysun
Posts: 2935
|
Posted 20:47 Nov 17, 2010 |
Yes, if you mean Stage 2.
When you iterate through the log file, you may only pin one block in memory at a time. You may keep additional data in memory to help with the forward iteration, but the size of the additional data must be small - it must be smaller than one block at least. Last edited by cysun at
20:47 Nov 17, 2010.
|