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?