Solved

Disk Space Allocation

Posted on 1998-12-11
1
202 Views
Last Modified: 2012-05-04
I see how you can shrink a database, but how do you free up the space to the system once you've shrunk it?
0
Comment
Question by:jacknjill
1 Comment
 

Accepted Solution

by:
mhamra earned 20 total points
ID: 1092242
When you shrink your database, you only reduce the "db device" space used by the database, but not the "db device" size. You cannot shrink your devices. If no database is using a specific device, you can delete it and after that, you need to delete the .dat file to free up disk space. (Maybe the shrink operation free one or more devices that your database is not using)
If your database is installed in one device only or you cannot free some devices with the shrink operation, make a dump to a backup, check your backup, delete the database, delete the device and its asociated .dat file, and recreate the database in smaller devices.
Remember to create your database copying the same extents you did. You can see the "extents creation history" with sp_helpdb <db_name>
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now