Comments
4 comments
-
Unfortunately there's no way to change the timeout or tell it to use a partial cache in the current build. I just had a look at what we log and it looks like that's going to be insufficient for narrowing down exactly where prompt times out.
I'll look into better logging and a configurable timeout today and hopefully have a private build for you later today - I'd be very interested to know which of our queries is timing out and why! -
I tried sending an email but got a delivery failed notification so I've sent you a PM with the details of the private build.
-
Thanks - I'll give it a try and let you know. I'll also check my email address.
-
The problem is being caused by a few synonyms that refer to a linked server that no longer exists. Apparently nobody is using these anymore.
SQL Prompt is timing out waiting for the remote connection attempts to timeout, and wisely gives up first.
Add comment
Please sign in to leave a comment.
Anyway, after I dismiss the error dialog I get no suggestions in for that query window at all. Of all the databases I work with, this is the one that I need the most help from SQL Prompt for - due to the support urgency of the queries I run there.
I'd like to know how I can configure SQL prompt to extend its timeout. In addition, is there a way to configure (or change SQL Prompt) to allow it to use the partially collected schema information to get some level of suggestions despite not having all synonyms, etc. in its cache.
Also, Is there a way I can see what SQL Prompt is trying to look at when it times out (tracing SQL on that server is not a good option for me) - that might give me an ability to isolate the offending object.
BTW, this happens in both SQL Prompt 5 and 6 in both SSMS 2008R2 and 2012.
Thanks