Article View: borland.public.cppbuilder.database.ado
Article #4467Re: Speed up Database
From: Vassiliev V.V.
Date: Sat, 05 Jan 2002 11:37
Date: Sat, 05 Jan 2002 11:37
27 lines
2302 bytes
2302 bytes
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. "David Barnes" <david@kalos-inc.com> ???????/???????? ? ???????? ?????????: news:3C34767A.1060706@kalos-inc.com... > Plz correct me if I am wrong, but when you append to a table, isn't the > table being refreashed after every append?! This would make it slower. > > If you are posting this way, maybe set cachedUpdates to true first. This > will allow you to make all appends on your machine in memory(stored > client side) then when all post have been made, you can write all > transactions in a single post. I would think that might be abit faster. >
Technical Details
Message-ID:
<3c36e962_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!KWeb!dnewsReferences:
<3c1eb21f_1@dnews> <3C34767A.1060706@kalos-inc.com>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-05 04:03:06 PST From: "Vassiliev V.V." <vv_vas@iname.com> Newsgroups: borland.public.cppbuilder.database.ado References: <3c1eb21f_1@dnews> <3C34767A.1060706@kalos-inc.com> Subject: Re: Speed up Database Date: Sat, 5 Jan 2002 14:37:23 +0300 Lines: 29 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: 62.118.133.192 Message-ID: <3c36e962_1@dnews> X-Trace: dnews 1010231650 62.118.133.192 (5 Jan 2002 03:54:10 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!KWeb!dnews