Re: SQL Server extremely slow
- From: lyle fairfield <lyle.fairfield@xxxxxxxxx>
- Date: Mon, 9 Mar 2009 14:40:57 -0700 (PDT)
On Mar 9, 5:26 pm, Rich P <rpng...@xxxxxxx> wrote:
Hello,
People will argue that the performance issue is not caused by ODBC, but
my personal experience with a similar setup as your (Sql Server ODBC
Access front end) has been the same as you. My fix was to use ADO
against the sql server (ADO was specifically designed for use with sql
server). This uses a disconnected recordset paradigm where you connect
temporarily to the server - process your data (read/write/edit) and then
the connection is closed. With ODBC the connection remains open the
entire time the app is open. If you have several people connected
simultaneously that will put quite a load on the server. ADO is
connected for only a matter of seconds (or milliseconds). Also, ADO has
wayyyy more bandwith than ODBC. You can transfer way more data through
an ADO connection than you can through an ODBC connection. At least,
that has been my personal experience for over 10 years.
My recommendation would be to step up to ADO. Don't confuse this with
dropping other data access technologies like DAO. DAO works best for
mdb to mdb. ADO works best for mdb to Sql Server. Although, you can
also use ADO against another mdb. You can also use ADO against Excel
from an mdb - works very nicely.
Rich
*** Sent via Developersdexhttp://www.developersdex.com***
Could you explain the steps required to use an ADO connection, ADO
recordset, ADO enabled SQL Statement or ADO whatever as the
recordsource or recordset of a report that resides in an mdb?
.
- Follow-Ups:
- Re: SQL Server extremely slow
- From: Niranjan
- Re: SQL Server extremely slow
- References:
- SQL Server extremely slow
- From: Niranjan
- Re: SQL Server extremely slow
- From: Rich P
- SQL Server extremely slow
- Prev by Date: Re: SQL Server extremely slow
- Next by Date: Re: SQL Server extremely slow
- Previous by thread: Re: SQL Server extremely slow
- Next by thread: Re: SQL Server extremely slow
- Index(es):
Relevant Pages
|