O'Reilly logo

Guru's Guide to SQL Server Architecture and Internals, The by Ken Henderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required