Scatter-Gather I/O

In this section, we'll explore Windows' scatter-gather I/O facility and build a sample app that makes use of it. If you haven't yet read the first part of this chapter, you should probably do so before continuing.

Key Scatter-Gather I/O Terms and Concepts

Sector— a hardware-addressable block on a storage medium such as a hard disk. The sector size for hard disks on x86 computers is almost always 512 bytes. This means that if Windows wants to write to byte 11 or 27, it must write to the first sector of the disk; if it wants to write to byte 1961, it must write to the fourth sector of the disk. You can retrieve the sector size for a disk via the GetDiskFreeSpace Win32 API function.

Cluster— an addressable block of sectors ...

Get Guru's Guide to SQL Server Architecture and Internals, The now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.