is there any case that you changed the access right for your login on these databases? Please make sure you have similar access on your databases within your login/users.
Did you re-add yourself as a user on those DB’s? Doing a restore will note re-add you (although being a server admin should give you full rights to everything). If you did not re-add yourself, try going to server security, logins, and re-assigning yourself to the DB’s. If you have a login already on the DB’s, you will need to remove it first, as GUID’s will be different (unless you took steps to prevent that issue).
I have often seen developers lose rights to the development DB’s after a restore, even though their ID appears to be on the DB. Dropping the ID on the DB, and then adding them back in through the login security fixes the issue every time.
I use user of SQL Server sa to connect to my server. I try to add my Windows user to Group sysadmin of SQL but the problem still remain.
In attach you find a screenshot of secon tab of storage management.
As you can see, I select a DB of 55 MB size. In my previous screenshot on tab driver (first tab) the size is 0 B, but in the second tab the same DB is about 55 MB.
This is very strange...
Why on first 0 and in the second the size is correct ?
Toad get’s file sizes from sys.master_files view on the Drives tab and from sys.database_files on the Databases tabs. And sometimes Sql Server updated sys.master_files later than sys.database_files.I think it’s the main reason of your situation.
We’ve changed a way of retrieving data in 6.1 so it will use sys.database_files on both tabs.
Thank you for your report I hope that my answer will help you.
I can reproduce this issue sometimes. So I reopen the issue TSS-16 to see if we can find the problem. I will reply you if we have any update. Thank you very much!
I reviewed the SQLs we use for Drives page and Databases page, I could not find any clues that the SQL for Drives page would retrieve size data differently to the DB page.
I attached the 2 SQLs here. Could you run them directly in Toad when you connect to the server which has this problem? Please check the results sets of them and see if there is any differences. If there is, could you take a screen shot of it?