Re: Issue with retrieving large data over web using Stored Procedu
- From: Justin Doh <JustinDoh@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Aug 2008 14:14:12 -0700
Hi Bob,
Thanks for all your help.
You know what. I found a solution.
I realized that the tables at the new server did not have have proper indexes.
The indexes did not copy over properly to the new server.
I will try that first.
Then, if it still cause so much delay, then I would create a new procedure
or try other approach.
Thanks.
"Bob Barrows [MVP]" wrote:
Frankly, no. ASP is really not designed for activities that take this long.
to complete. If the procedure cannot be tuned to return results in less than
a minute, then I would suggest you move that functionality into a scheduled
task that populates a table with the results from the procedure. Then create
another procedure to be called from ASP to retrieve results from that table.
It should be much quicker unless you are doing something silly like
retrieving millions of rows of data.
Justin Doh wrote:
I think I know how to analyze the query.
Beside what the recommendation stated here (mostly index), is there
any other improvements I could do at the ASP page?
--
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"
- References:
- Issue with retrieving large data over web using Stored Procedure
- From: Justin Doh
- Re: Issue with retrieving large data over web using Stored Procedure
- From: Bob Barrows [MVP]
- Re: Issue with retrieving large data over web using Stored Procedu
- From: Justin Doh
- Re: Issue with retrieving large data over web using Stored Procedu
- From: Bob Barrows [MVP]
- Re: Issue with retrieving large data over web using Stored Procedu
- From: Justin Doh
- Re: Issue with retrieving large data over web using Stored Procedu
- From: Bob Barrows [MVP]
- Re: Issue with retrieving large data over web using Stored Procedu
- From: Justin Doh
- Re: Issue with retrieving large data over web using Stored Procedu
- From: Bob Barrows [MVP]
- Re: Issue with retrieving large data over web using Stored Procedu
- From: Justin Doh
- Re: Issue with retrieving large data over web using Stored Procedu
- From: Justin Doh
- Re: Issue with retrieving large data over web using Stored Procedu
- From: Bob Barrows [MVP]
- Issue with retrieving large data over web using Stored Procedure
- Prev by Date: Re: Issue with retrieving large data over web using Stored Procedu
- Next by Date: Re: Get a month's days and merge with a table
- Previous by thread: Re: Issue with retrieving large data over web using Stored Procedu
- Next by thread: ASP and MySQL
- Index(es):
Relevant Pages
|
Loading