Article View: borland.public.cppbuilder.database.ado
Article #4477Re: Speed up Database
From: Avex
Date: Tue, 08 Jan 2002 09:11
Date: Tue, 08 Jan 2002 09:11
32 lines
2063 bytes
2063 bytes
So, changing the cursor between client and server makes very obvious difference in speed? And , the quickest method is using stored procedure ? "Vassiliev V.V." <vv_vas@iname.com> wrote :3c36e962_1@dnews... > You are wrong, at least what concerning MS Access and ADO (or Client Cursor > Engine in OLEDB). MS Access does not support batch updates, they could be > done only on ClientCursor. I will citate "Optimistic Remote Updating in the > Client Cursor Engine" article from "Microsoft Data Access Technical > Articles" help file: > > "In optimistic remote updating, the key to the complexity is that the CCE > does not "own" the data it is ultimately updating. Instead, the data is > owned by some specific provider, and the CCE must submit update requests in > the form of SQL commands. (This is also sometimes referred to as query-based > updating, or QBU.) " > > So, data are not updated directly, but by executing SQL commands. Parsing > SQL command takes much more time then just updating data and batch updatings > on ClientCursor could be 100-1000 times slower then inserting rows on server > cursor. >
Technical Details
Message-ID:
<3c3ab7de$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnewsReferences:
<3c1eb21f_1@dnews> <3C34767A.1060706@kalos-inc.com> <3c36e962_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,77d6545c02a2aaf5 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-01-08 01:26:45 PST From: "Avex" <I@dont.like.spammar> Newsgroups: borland.public.cppbuilder.database.ado References: <3c1eb21f_1@dnews> <3C34767A.1060706@kalos-inc.com> <3c36e962_1@dnews> Subject: Re: Speed up Database Date: Tue, 8 Jan 2002 17:11:37 +0800 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 x-mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 210.66.196.226 Message-ID: <3c3ab7de$1_1@dnews> X-Trace: dnews 1010481118 210.66.196.226 (8 Jan 2002 01:11:58 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.media.kyoto-u.ac.jp!newsfeed.mesh.ad.jp!osa.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews