Re: ADO find method performance
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Sun, 18 Feb 2007 06:03:35 -0500
Mr.Sajal@xxxxxxxxx wrote:
Hi,Can you not modify the sql statement used to retrieve the records to only
I am developing one application where i need to search for record in
the ado recordset. i am giving search crieteria on a indexed(ID)
field. depending upon that record i need to fetch other field values.
my ado record set is created though client side cursor. and it
contains 1 million data and it can be 10/20 millions of record. what i
do is i just create a client side recordset for that ID field along
with required other 3 fields. those 3 field values i need for an ID
value.
ADO find method works fine when record counts are less but it dies for
millions of record.
Is there any performant way to achieve this??
retrieve the ones you want? The database engine (what database are you using
by the way?) is likely to be far superior to the ADO cursor library when it
comes to searching for records. If you provide more details, it is very
likely that we could help you create a sql statement to only retrieve the
records you really need.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Follow-Ups:
- Re: ADO find method performance
- From: Sajal
- Re: ADO find method performance
- References:
- ADO find method performance
- From: Mr . Sajal
- ADO find method performance
- Prev by Date: ADO find method performance
- Next by Date: Re: ADO find method performance
- Previous by thread: ADO find method performance
- Next by thread: Re: ADO find method performance
- Index(es):