NOTE: Applications that use the ADO.NET Entity Framework require some implementation differences from that shown in the examples in this chapter, although the resulting functionality is the same. See “Using Statistical Items with an ADO.NET Entity Framework Data Provider” for more information.
■ Network layer items retrieve values associated with network activities, such as the number of bytes and packets that are sent and received and the length of time the data provider waited for replies from the server.
■ Aggregate items return a calculated value, such as the number of bytes sent or received per round trip to the server.
■ Row disposition statistical items provide information about the time and resources required to dispose of rows not read by the application.
■ Statement statistical items return values that pertain to the number of statements and stored procedures that have been executed.
■ Statement cache statistical items return values that describe the activity of statements in a statement cache. For more information on using the statement cache, refer to “Using Statement Caching” in Chapter 3 in the DataDirect Connect Series for ADO.NET User’s Guide.See “Statistical Items Supported” for a description of the supported statistical items.Table 1-3 lists the mapping of the methods and properties of the Connection class to the corresponding pseudo stored procedure.
Table 1-3. Mapping to Pseudo Stored Procedure command.Parameters.Add(new OracleParameter("cid", 1));Table 1-4 lists the statistical items supported by the data providers, grouped by functional categories, and describes each statistical item. The statistical items have the form:item=value
Table 1-4. Statistical Items