At the risk of sounding like a mathematical moron I have a question about DBCC SHRINKDATABASE. How is the actual free space calculated based on the percentage free value specified in the command?
I take an example from BOL:
mydb data file contains 6 MB of data, if you specify a target_percent of 25 for shrinking mydb. SQL Server calculates the target size for this file to be 8 MB (6 MB of data plus 2 MB of free space).
I understand that 2MB is 25% of 8MB. But how did they arrive at the 8MB value in the first place? Another way to ask this question is: 6MB plus how many MB's would represent 25% of the resulting value?
I ask this question because I am taking the 70-228 practice tests and there are a number of similar questions.
I am pulling out what little hair I have left
Thank you.
Ric
I take an example from BOL:
mydb data file contains 6 MB of data, if you specify a target_percent of 25 for shrinking mydb. SQL Server calculates the target size for this file to be 8 MB (6 MB of data plus 2 MB of free space).
I understand that 2MB is 25% of 8MB. But how did they arrive at the 8MB value in the first place? Another way to ask this question is: 6MB plus how many MB's would represent 25% of the resulting value?
I ask this question because I am taking the 70-228 practice tests and there are a number of similar questions.
I am pulling out what little hair I have left
Thank you.
Ric