dbTalk Databases Forums  

Retrieve a row of records but take very long time. Cluster?

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss Retrieve a row of records but take very long time. Cluster? in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
florencelee
 
Posts: n/a

Default Retrieve a row of records but take very long time. Cluster? - 10-07-2004 , 12:56 AM






Hi,
Sometimes, in my application, when i browse a
record, it takes very fast 1/2 seconds but sometimes it
seems like hang there and take a very long time around 10
minutes to finish, is it because of clustering?

How to check and prevent from clustering?

thanks.

regards,

florence

Reply With Quote
  #2  
Old   
Hilary Cotter
 
Posts: n/a

Default Re: Retrieve a row of records but take very long time. Cluster? - 10-07-2004 , 06:50 AM






probably not, unless your cluster is failing over from one node to another
as you issue the query, but even this is unlikely as

1) the application using this query would probably time out within 20
seconds or so
2) typically nodes failover within 2 minutes, although this can vary due to
the size of your transaction log.

I'd have a look at what you query is doing using profiler, and use sp_lock
to investigate locking.

It could also be related to the parameters in your query. The 1/2 second
query might only return 1 row, the 10 minute 1,000,000 or the 10 minute
query might involve different conditional logic than the 1/2 second query

--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html


"florencelee" <florencelee (AT) visualsolutions (DOT) com.my> wrote

Quote:
Hi,
Sometimes, in my application, when i browse a
record, it takes very fast 1/2 seconds but sometimes it
seems like hang there and take a very long time around 10
minutes to finish, is it because of clustering?

How to check and prevent from clustering?

thanks.

regards,

florence



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.