Chapter 3. ADO.NET Trace Logging

Trace logging provides a detailed record of system and application events when activities such as a disk I/O operation or a committed transaction occur. Tracing of data access activities is vastly improved in ADO.NET 2.0 with the ADO.NET Event Tracing for Windows (ETW) provider. ETW is a tracing mechanism that you can use in drivers as well as applications. ETW can log about 20,000 entries per second with only 5 percent CPU load, even while logging from multiple processes concurrently. ETW can easily be turned on and off at runtime. The ETW output can be consumed by third-party tools, including the logparser.exe utility that is included in the Microsoft Internet Information Service (IIS) 6.0 Resource Kit.

This chapter ...

Get Programming Microsoft® ADO.NET 2.0 Applications: Advanced Topics now with the O’Reilly learning platform.

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