Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
SQL2000User
Starting Member
13 Posts |
Posted - 2007-04-04 : 09:36:38
|
Hi, I have a database which has a daily job to inserting data into its tables meanwhile deleting the big volume data from its tablesNow I noticed that the database got big size for unallocated space.database size is 27GB, and anallocated space is 21GB. So how this unallocated space grow so big, and what do I need to avoid that? And now does I need to do shrink to release that space ?but there is index on those tables, it seems shrink would affect index performance, is it right?Any suggestion would be appreciated. |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-04-04 : 09:48:42
|
Is this with, or without, the log file size?Peter LarssonHelsingborg, Sweden |
 |
|
SQL2000User
Starting Member
13 Posts |
Posted - 2007-04-04 : 09:58:53
|
it is without log file(actually, the result is by running sql sp_spaceused) |
 |
|
mcrowley
Aged Yak Warrior
771 Posts |
Posted - 2007-04-04 : 10:40:10
|
You may need to make sure of that number, by running sp_spaceused with the updateusage parameter. SQL Server's numbers tend to drift over time when you import/delete large amounts of data. |
 |
|
|
|
|