Solved

SQL Server 2005 compaction

Posted on 2011-02-15
1
373 Views
Last Modified: 2012-05-11
In SQL server 2005 (Express and Standard), does the database automatically compact itself (ie allow the reuse of disk space)?

Thanks in advance!
0
Comment
Question by:steven_maher
1 Comment
 
LVL 16

Accepted Solution

by:
EvilPostIt earned 500 total points
ID: 34895291
You would have to shrink the data file or set the database to auto_shrink.

Please do bear in mind that any kind of shrink operation will fragment the database.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Record open by another user 6 66
How to import SQL 2000 database to SQL 2014 5 140
INSERT DATE FROM STRING COLUMN 18 59
Query group by data in SQL Server - cursor? 3 50
Recently, when I was asked to create a new SQL 2005 cluster, Microsoft released a new service pack for MS SQL 2005 what is Service Pack 3. When I finished the installation of MS SQL 2005 I found myself troubled why the installation of SP3 failed …
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 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