CASE 1:
The following sentences were copied from the book "Administra tion
Guide Performance".
"If more pages have been written to disk, recovery of the database is
faster after a system crash because the database manager can rebuild
more of the buffer pool from disk instead of having to replay
transactions from the database log files."
My question is:
How to understand "rebuild buffer pool from disk"? Where is buffer
pool stored in disk?
CASE 2:
As we know, dirty pages contain data that has been changed but has not
yet been written to disk. After a changed page is written to disk, it
is considered clean again and remains in the buffer pool until its
space is needed for new pages. Page cleaner processes clean up the
buffer pool by writing dirty pages to disk. There are three types of
cleaning activities that can cause a page cleaner to take action and
remove a page or more from the buffer pool:
LSN Gap Triggers (e.g. Log Cleans)
Dirty Page Threshold Triggers (e.g. Threshold Cleans)
Dirty Page Steal Triggers (e.g. Victim Cleans)
My question is:
Except moving data into log files, where are the other dirty pages
moved to? If the are written to a temporary disk space, where is it?
Thanks in advance!!
James