This post talk about how to use CHKSGFILES multi-threaded for faster consistency checks? If you don’t already know, CHKSGFILES is used by apps that back up Exchange databases, to ensure that database to be stored is actually in good health and not corrupted. With Exchange 2010, it’s much less likely there’ll be a corruption problem, but it’s safer for your backup &restore app to verify data before making the backup.
“General, using CHKSGFILES to check database consistency in a multi-threaded app runs like in following example. Remember, this’s just an EXAMPLE, and is only intended to show which parts of CHKSGFILES must be handled in what way. This example app uses two main processes, and a set of worker threads. first orange process handles overall backup job, while second blue handles queue requests by creating worker threads to verify database pages and log files. Central to system is a request and completion-status queue.”