Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Remove a page from FreeList, which has enough storage space (if there is no such page - acquire allocate a new one).
  2. Lock page.
  3. Write cache entry data.
  4. Update page counters.
  5. Unlock page.
  6. Based on the remaining free space insert page into FreeList.

...

Batch writing to data pages..

Get the most free page with enough space for data row from FreeList (if there is no such page - allocate new one) and fill it up to the end (while remaining free space is enough for next data row of batch).

This will improve Improves the time to remove/insert pages in FreeList, pages locking and update page counters.

...