Using statement caching can improve application performance because the actions on the prepared statement are performed once even though the statement is reused multiple times over an application’s lifetime. You can analyze the effectiveness of the statements in the cache (see “Analyzing Performance With Connection Statistics”).By default, statement caching is not enabled. To enable statement caching for existing applications that use the Progress DataDirect Connect for ADO.NET data providers without changing any application code, set the Statement Cache Mode connection string option to Auto. In this case, all statements are eligible to be placed in the statement cache.Table 3-2 summarizes the effects of the statement caching settings.
Table 3-2. Summary of Statement Cache Behavior