Ask a Question related to ASP Database, Design and Development.
-
dw #1
MaxRecords to make db call faster
Hello, all. We have a search page that can return many thousands of records
from a SQL Server 2000 database. We've noticed that it's slow -- mainly b/c
the stored procedure arranges the person's first, middle, last names into
'name' before returning the results. In addition, we're using recordset
paging (using Pagesize and Pagecount properties of the recordset). Will we
see a speed performance by using the Maxrecords property of the recordset?
Are there any examples with recordset paging? Thanks.
dw Guest
-
Can't make a Call to main.asc
Okay, I've got something simple going on but I can't see it. I am trying to add a heartbeat function to main.asc so that my client apps can... -
How to make XML file load faster
I'm new to flex and have been playing with Flex 2 beta 1 and the flexstore example. What I'm trying to do is have the catalog.xml file load faster... -
Make a query faster...
Dear all, Context: FreeBSD postgresql 7.4.5, on a pentium 3 server 128MB. I have a huge table letture02 made of 1,340,000 "freezed" records of... -
HOW TO MAKE MY SITE LOAD FASTER?!
Hello. I have created my new site using Flash MX. It has 6 categories, quite a bit of graphics. Each categorie is a separate ..fla file, with... -
Make php faster?
hi, I've been recently testing a little few things with php (mainly speed). On thing I've noticed is that php is incredible SLOW to start up.... -
Aaron Bertrand [MVP] #2
Re: MaxRecords to make db call faster
Plenty of different approaches here:
[url]http://www.aspfaq.com/2120[/url]
Also, suggest doing the string operations on the name at the client, where
you have to treat each iteration in the loop anyway. This should reduce the
strain on the actual SQL call...
A
"dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
news:uMHsyB%23GEHA.2408@TK2MSFTNGP10.phx.gbl...records> Hello, all. We have a search page that can return many thousands ofb/c> from a SQL Server 2000 database. We've noticed that it's slow -- mainly> the stored procedure arranges the person's first, middle, last names into
> 'name' before returning the results. In addition, we're using recordset
> paging (using Pagesize and Pagecount properties of the recordset). Will we
> see a speed performance by using the Maxrecords property of the recordset?
> Are there any examples with recordset paging? Thanks.
>
>
Aaron Bertrand [MVP] Guest
-
dw #3
Re: MaxRecords to make db call faster
Thanks, Aaron. However, we know how to do recordset paging; but returning
1100 records (even w/out the string concatenation) is slow. When we use
maxrecords, it limits the entire recordset. What we're trying to do is to
design the paging to just fetch the ones for that page, not the entire
recordset. Thanks.
"Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
news:ui6JxY%23GEHA.3556@TK2MSFTNGP11.phx.gbl...the> Plenty of different approaches here:
>
> [url]http://www.aspfaq.com/2120[/url]
>
> Also, suggest doing the string operations on the name at the client, where
> you have to treat each iteration in the loop anyway. This should reduceinto> strain on the actual SQL call...
>
> A
>
>
>
> "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
> news:uMHsyB%23GEHA.2408@TK2MSFTNGP10.phx.gbl...> records> > Hello, all. We have a search page that can return many thousands of> b/c> > from a SQL Server 2000 database. We've noticed that it's slow -- mainly> > the stored procedure arranges the person's first, middle, last nameswe> > 'name' before returning the results. In addition, we're using recordset
> > paging (using Pagesize and Pagecount properties of the recordset). Willrecordset?> > see a speed performance by using the Maxrecords property of the>> > Are there any examples with recordset paging? Thanks.
> >
> >
>
dw Guest
-
dw #4
Re: MaxRecords to make db call faster
I think I may have found an answer at
[url]http://www.aspfaqs.com/webtech/062899-1.shtml[/url]. Thanks, Aaron.
"dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
news:%23ASkIR$GEHA.624@TK2MSFTNGP10.phx.gbl...where> Thanks, Aaron. However, we know how to do recordset paging; but returning
> 1100 records (even w/out the string concatenation) is slow. When we use
> maxrecords, it limits the entire recordset. What we're trying to do is to
> design the paging to just fetch the ones for that page, not the entire
> recordset. Thanks.
>
> "Aaron Bertrand [MVP]" <aaron@TRASHaspfaq.com> wrote in message
> news:ui6JxY%23GEHA.3556@TK2MSFTNGP11.phx.gbl...> > Plenty of different approaches here:
> >
> > [url]http://www.aspfaq.com/2120[/url]
> >
> > Also, suggest doing the string operations on the name at the client,mainly> the> > you have to treat each iteration in the loop anyway. This should reduce> > strain on the actual SQL call...
> >
> > A
> >
> >
> >
> > "dw" <cougarmana_NOSPAM@uncw.edu> wrote in message
> > news:uMHsyB%23GEHA.2408@TK2MSFTNGP10.phx.gbl...> > records> > > Hello, all. We have a search page that can return many thousands of> > > from a SQL Server 2000 database. We've noticed that it's slow --recordset> into> > b/c> > > the stored procedure arranges the person's first, middle, last names> > > 'name' before returning the results. In addition, we're usingWill> > > paging (using Pagesize and Pagecount properties of the recordset).> we> recordset?> > > see a speed performance by using the Maxrecords property of the>> >> > > Are there any examples with recordset paging? Thanks.
> > >
> > >
> >
>
dw Guest
-
Aaron Bertrand [MVP] #5
Re: MaxRecords to make db call faster
> Thanks, Aaron. However, we know how to do recordset paging; but returning
Did you notice that the article I pointed out offers several methods that> 1100 records (even w/out the string concatenation) is slow. When we use
> maxrecords, it limits the entire recordset. What we're trying to do is to
> design the paging to just fetch the ones for that page, not the entire
> recordset. Thanks.
just fetch the ones for that page, not the entire recordset?
Aaron Bertrand [MVP] Guest



Reply With Quote

