Click here to Skip to main content
15,918,889 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am working on a classic ASP project where I am getting time out issue when populating the data from DB and Bind it in the UI.

To resolve the issue we tried to do the pagination but it went un successfull.

Can any one suggest me, whether we have any other approaches to fix the issue.

Regards
Prashant P
Posted

1 solution

Without code it is hard to say what is happening. With databases, it could be a lot of things.

First I'd suggest you need to optimise how your pagination is happening - if you paginate your get fewer rows so the performance should shoot up - something is wrong here, you need to examine the join orders of the tables involved. Overall this can be a fairly complicated process. Secondly, your data schema might be inefficient. You might need to add indexes to columns that are used for joins, assuming they aren't primary or foreign keys already. Finally, if you are not running your SQL as a stored procedure, migrate it across - though this is unlikely to help if your SQL is running this slowly.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900