Quote:
Originally posted by J Petruk
You need to REORG to deallocate the space for SMS.
|
So, a newly allocated page will still remain allocated, although empty, even if the transaction that caused the allocation never commits?
This is the process how I see it:
1) The application issues an INSERT
2) The db agent searches for free space, doesn't find any, and requests new page allocation.
3) The container gets extended (does it, really, at this point though? or does it happen when the buffer page is written to disk?)
4) New page allocation is logged in the db log.
5) A bufferpool page gets latched.
6) New data is written to the db log.
7) New data is written to the bufferpool page.
8) Page is unlatched and marked as dirty.
9) Page is written to disk
10) The application issues a ROLLBACK
11) ? what happens next ?