Comments
5 comments
-
Would it be possible to set an interval on cache refresh checks? Currently it appears as though every time I connect to a db, SQLPrompt checks the schema.
Would be nice to be able to manage the interval per database. Every connection, once a day, once a week, etc
I love the auto insert functionality for alter and exec. Way cool! -
Hi Gail,I loaded several files into management studio at once (multiselect in the open file dialog) and SQL Prompt went and indexed the database once for each file. It hadn't cached that database before.When typing out a select, the candidate list appears at strange times, eg after I've entered a table name in the FROM clause or a column in the where. Neither place is appropriate. In the first case the next this typed would be a table alias or a SQL keyword and in the second it would be an expression (=, like, in, etc)Is it possible to give us options as to what we see in the candidate list? While I like the tables, columns, functions and built-in constants, I don't want the database roles, users or logins there and it would be nice to be able to deselect those.Would it be possible to set an interval on cache refresh checks? Currently it appears as though every time I connect to a db, SQLPrompt checks the schema.
Regards,
Tilman -
Tilman wrote:Hi Gail,
Every query window has its own candidate list in memory, so each query window needs to load the schema new. However, we do save the schema on disk the first time round and then read it from there, which should make things much quicker.Tilman wrote:We do actually have keywords on the list, so you could argue that it should pop up. I do agree, though that the pop up behaviour can be improved and it is on our list of things to do. If it is annoying you a lot, you can turn off automatic pop up and only use Ctrl + Space.Tilman wrote:Would it be possible to set an interval on cache refresh checks? Currently it appears as though every time I connect to a db, SQLPrompt checks the schema.
So it will only check the database once and load from disk after that? How often does it check the db for schema changes? -
About the candidate list in memory...
Could it be possible that opening two or three windows cause QA to use 200+ MB of RAM. We are currently experiencing this behaviour which forces us to close and reopen QA to save system resources... QA needs to coexist with VS 2005, which is our develpoment tool, and by itself it drains our resources.
Regards,
Juan. -
Hi,So it will only check the database once and load from disk after that? How often does it check the db for schema changes?
It doesn't check for changes at all, atm. If you change your schema you need to update Prompt manually by going to SQL Prompt > Cache Management > Refresh. We are planning to do some automatic refresh thing in a future version.Could it be possible that opening two or three windows cause QA to use 200+ MB of RAM. We are currently experiencing this behaviour which forces us to close and reopen QA to save system resources... QA needs to coexist with VS 2005, which is our develpoment tool, and by itself it drains our resources.
I'm afraid that is very well possible, and there is not much we can do about it for the moment.
Regards,
Tilman
Add comment
Please sign in to leave a comment.
I loaded several files into management studio at once (multiselect in the open file dialog) and SQL Prompt went and indexed the database once for each file. It hadn't cached that database before.
When typing out a select, the candidate list appears at strange times, eg after I've entered a table name in the FROM clause or a column in the where. Neither place is appropriate. In the first case the next this typed would be a table alias or a SQL keyword and in the second it would be an expression (=, like, in, etc)
Is it possible to give us options as to what we see in the candidate list? While I like the tables, columns, functions and built-in constants, I don't want the database roles, users or logins there and it would be nice to be able to deselect those.
I'll second the request I saw in another post for snippets to work without having to open the candidate list. They're nice as thy are, but could be nicer.
All in all, good work guys. Let me see if I can break it.... :twisted:
--
Gail