Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Active Server Pages (ASP)
Expertise: Beginner
Sep 3, 1999

Retrieving a Large Amount of Data From SQL Server

Question:
I am retrieving around 3000 records from a SQL database into an ASP page. The process is very slow. Will using MTS speed up the execution time? I am using Internet Information Server (IIS) 4.0, Option pack 4.0.

Answer:
No matter what you do, trying to retrieve large amounts of data (3000 records) will be slow. You can marginally improve the performance by bringing MTS in the picture. Then you would need to build a COM component that would actually retrieve the data and send it back to your page. The COM component (built with VB or VC++) would run under a MTS package. You might want to try out other techniques to improve performance. For example, you could "page" your data so that the user sees chunks of it (20 to 100 records) at a time and hits a 'Next' or 'Previous' button to see other data. Does the user really want to see all 3000 records at the same time?

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date