A few times a day Toad hangs while a background process is “Counting Tables”. I did not ask it to this and do not know what triggers it. I wish it would only do this once when I first connect (SQL Server connection) and not do it again unless I want it to refresh. Is there any way to make Toad stop doing this automatically?
Hi Greg,
I am afraid this cannot be simply disabled. But you can try to enable/disable caching (Options/Database/Cache).
May I ask you what version of SQL Server do you use? There must be some reason why the Toad hangs.
When you take off caching it means we will be executing a lot more SQL. When counting the tables we are taking each table and caching the related info. It sounds like it might not be efficient with the large amount of objects.
if you are happy with turning off caching, then no worries. But caching is supposed to be helping the user experience. We would be willing to dig deeper if you wanted to open a support ticket.
It definitely works better with the caching disabled when I am hitting a database with thousands of tables or views or stored procedures. I tried it again with the caching turned back on. I find it more annoying than it is worth, actually makes a noticeable difference in productivity, again only when hitting very large item databases.
This should not be the case. Can you be more detailed on what exactly is better with caching disabled?
Every piece of information about an object needs to be queried from the database. Once we get that information once we cache it in memory and don’t query again. So once you have retrieved the info for an object is should be faster. If I have exact steps of issue I have have a Developer look into this.