cancel
Showing results for 
Search instead for 
Did you mean: 

How can i get the free diskspace?

Former Member
0 Kudos

It is about 2G free for every db file of sqlserver 2005,then i reg with theirself tool,but i can't get any free diskspace,please help me,thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can just shrink database file (or whole database) to free empty space.

Regards,

wojtek

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi XG, what kind of space do you want to get cleared?

Your question it's a little confused.

Regards,

darcas

Former Member
0 Kudos

It is ok now,thanks!

Former Member
0 Kudos

What exactly are you asking?

Do you need the space for SQL to be able to write to it, or do you need it freed up for the OS to use?

SQL will automatically utilize the free space if needed, so there is no manipulation needed there.

You will need your DBA to free up the space to the OS. If the datafile in SQL Server is 4GB in size, but only 2GB is used, the OS still sees it as a 4GB file by design (so that the space does not get taken by some other process).