Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shrink database does not work much
Message
De
09/04/2010 11:54:49
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01459415
Message ID:
01459485
Vues:
42
>It's hard to tell anything w/o info about indexes. What's strange that total index size is about 14MB but I see only 5 MB used by tables. Maybe it's in the rest of report that is not included in the picture?
>All tables have space reserved. You cannot see it in this report because it doesn't reach 1MB per table.

Once, I reindexed those two tables, I ended up with the result as shown as in the attached file. So, it saved 3 MB.

The rest of the report in the first picture was all zeros. But, as you said, they were under 1 MB. So, adding them all together would probably sum it all.

As a test, if I remove all the records in the Hit table, which is only a log that lives for a few days, I end up with the image #2. But, the MDF is up to 57 MB now. But, if I shrink the database, it goes down to 19 MB. But, we shouldn't do that. Or, is it that the MDF size was in fact lower but still not refreshed in Windows Explorer. And, when I did the shrink database, it forced a refresh in Windows Explorer?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform