This topic is locked

ODBC performance

2/8/2005 4:06:59 AM
ASPRunnerPro General questions
U
ugerike author

Admin,
I am using ASP runner Pro with ODBC DSN connection to access a MS SQL DB.

When comparing the cpu usage between using a linked table in an MS Access database and in other case using the ASP ODBC DSN connect there seems to be 100% usage on the server machine for 5 to 10 seconds. The cpu usage when linking with MS Access is very low (near to 20%).
I just tried a SELECT TOP 5000 but this doesn't have any effect. Suggest the difference is the recordset cache used by MS Access vs. ODBC DSN over IIS.
Is it possible to decrease the cpu usage by configuring the DSN connect string for telling the ASP application to use only a defined range of records when opening the SQL request?

Sergey Kornilov admin 2/8/2005

Hi,
I would recommend to use No records on the first page option. This way you can load first page very fast. After that you can use search to retrieve required portion of data only.