S
Srimar
Hello,
I am having this strange time out issue with some of our stored procs. We
have an SQL server on which we run our databases. Some times all of a sudden
a stored proc that is running fine from ASP.NET will start timing out. The
same query will run fine in the query anlyzer.
Initially we could not figure out why this is happening and then I ran
update statistics on the database. This fixed the time out issue with the
query from ASP.NET. What is puzzling me is that if the table stats are
messed up or there is page fragmentation it should affect both ASP.NET and
Query Analyzer, right?
I have verified that there are no locks. The time out has been observed with
procs that use tables from a different database on the same server. This
database is transactionally replicated. These procs contain joins to the
tables that are in the database that is getting transactionally replicated.
Can some body tell me what's going on?
Thanks
I am having this strange time out issue with some of our stored procs. We
have an SQL server on which we run our databases. Some times all of a sudden
a stored proc that is running fine from ASP.NET will start timing out. The
same query will run fine in the query anlyzer.
Initially we could not figure out why this is happening and then I ran
update statistics on the database. This fixed the time out issue with the
query from ASP.NET. What is puzzling me is that if the table stats are
messed up or there is page fragmentation it should affect both ASP.NET and
Query Analyzer, right?
I have verified that there are no locks. The time out has been observed with
procs that use tables from a different database on the same server. This
database is transactionally replicated. These procs contain joins to the
tables that are in the database that is getting transactionally replicated.
Can some body tell me what's going on?
Thanks