Article View: borland.public.cppbuilder.database.ado
Article #756Improving query speed
From: Tumurbaatar S.
Date: Wed, 06 Apr 2005 10:21
Date: Wed, 06 Apr 2005 10:21
12 lines
1342 bytes
1342 bytes
To improve speed of two TADOQuery comp-s linked as master-detail, I changed some default values of them: CacheSize > 1 (default is 1, but I use 1000) CursorLocation=clUseClient (by default) CursorType=ctStatic (default ctKeyset) LockType=ltReadOnly (default ltOptimistic) Prepared=true (default false) Am I doing right? Anything wrong or more to add? Also I need to minimize a server load and do the most things on a client side, as much as possible. Any suggestions?
Technical Details
Message-ID:
<4253aa28@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,163cdffa7452f010,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Tumurbaatar S." <nospam_tumur@magicnet.mn> Newsgroups: borland.public.cppbuilder.database.ado Subject: Improving query speed Date: Wed, 6 Apr 2005 18:21:49 +0800 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 202.131.2.6 Message-ID: <4253aa28@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1112779304 202.131.2.6 (6 Apr 2005 02:21:44 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail