Hi
I am running Web server(iis 5.0) and database server( sql server 7) on a single pc(IBM , 512 P4 MB RAM). The application i run has a stored procedure which when called , starts a while loop of abt 100000 records. In the loop based on conditions checked other stored procedures are called. This leads to processor utilisation of abt 80-98%.
The front end is in ASP 3.0. When i click from the front end the procedure are called.However the speed at which the process runs when called from front end compared to when it is run as a standalone from SQL server is very slow.Some times the database server gets hung. This happens only when run from front end.
Why is this difference is performance. Will this improve if IIS and sql server are seperated.
While the stored procedure runs ,the front end has to wait for it to get over. This takes abt an hour or more. I hve kept server script timeout to 2 hrs. Yet it gets timedout sometimes.. can i run some dummy process in front end meanwhile?
pls suggest