Re: Fastest record create method with JET 4.0
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Wed, 13 Sep 2006 08:52:33 -0500
"Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom> wrote in message
news:uWQiNCz1GHA.1040@xxxxxxxxxxxxxxxxxxxxxxx
mayAs someone else pointed out, DAO code may be written shoddy and still
do the job. Even with lazy code, DAO ought to be faster at inserting
records into an Access database than ADO, even though Microsoft says
otherwise.
Where do they say that?
I believe Microsoft do acknowledge DAO is faster than ADO for Access
databases
See http://support.microsoft.com/kb/225048/
where you can read what DAO and ADO philosophy.
But frequently programmers use ADO badly so the performance difference
not be that apprecaibly different.
Stephen Howe
Just to be boorish for a moment.
MS has switched its "pronouncements" several times concerning DAO. When ADO
first appeared, ADO was touted as being the only way to go, and that all
subsquent development of DAO was going to be discontinued. DAO 3.6 slipped
in rather quietly.
While I am not sure MS themselves ever stated "ADO is faster". Many authors
and insiders certainly did. I believe most of the time it was just an extra
adjective tacked on without too much thought (and certainly without
testing). After all once you have proclaimed something as prettier, slicker,
cleaner, simpler, neater, ... What is more natural that to proclaim it
'faster'?
The waters also became cloudier at this time, because OLE DB was also
introduced. Many comparisons were made at the time comparing DAO with ADO,
with the unfortunate underlying, but understated, actual comparison of ODBC
with OLE DB. "DAO" always came out the loser. (With one exception DB2)
You make a good point, that ultimately it always comes down to how you are
using the tool. A common discovery when visiting teams using ADO and chewing
away on some 'performance' problem, is to examine the connection string and
learn that they are using ODBC or an outdated provider. <g>
-ralph
.
- Follow-Ups:
- Re: Fastest record create method with JET 4.0
- From: Desertphile
- Re: Fastest record create method with JET 4.0
- References:
- Re: Fastest record create method with JET 4.0
- From: Desertphile
- Re: Fastest record create method with JET 4.0
- From: Desertphile
- Re: Fastest record create method with JET 4.0
- From: Stephen Howe
- Re: Fastest record create method with JET 4.0
- Prev by Date: Re: Fastest record create method with JET 4.0
- Next by Date: Using LDAP server control with ADODB
- Previous by thread: Re: Fastest record create method with JET 4.0
- Next by thread: Re: Fastest record create method with JET 4.0
- Index(es):
Relevant Pages
|
|