I have an application that uses an Access97 database. The clients connect to the db either locally or via a network share. I am using DAO with VisualC++ to get to the Access Data.
I am now re-writing the app using VS2005 and SQL Server 2005. My new app uses OLEDB to access Views and Stored Procedures on SQL Server.
It appears though, especially with a networked client, that the Access 97 version is significantly faster than SQL Server. How can this be?
On SQL Server, I have run the Performance Tuning Wizard and applied all recommendations but it's still slower than Access97.
One difference beside the obvious is that on the Access 97 version, I open the database and leave a connection open at all times. Whereas, with the SQL Server version, I only open the View or SP when I need to get or update data, and then I close it.
Are there any tips or tricks to accessing the SQL Server via a network. Is there anything special about my connection string that could improve performance?
The connection string I'm using is the same on a networked client as it is on the local client.
Thanks in advance.
I am now re-writing the app using VS2005 and SQL Server 2005. My new app uses OLEDB to access Views and Stored Procedures on SQL Server.
It appears though, especially with a networked client, that the Access 97 version is significantly faster than SQL Server. How can this be?
On SQL Server, I have run the Performance Tuning Wizard and applied all recommendations but it's still slower than Access97.
One difference beside the obvious is that on the Access 97 version, I open the database and leave a connection open at all times. Whereas, with the SQL Server version, I only open the View or SP when I need to get or update data, and then I close it.
Are there any tips or tricks to accessing the SQL Server via a network. Is there anything special about my connection string that could improve performance?
The connection string I'm using is the same on a networked client as it is on the local client.
Thanks in advance.