Viewing 14 posts - 91 through 104 (of 104 total)
I'm not 100% sure, but I would guess that you need to (if you're the DBA) take action. I don't see SQL doing it automatically.
May 5, 2008 at 6:50 am
From BOL: "Maximum file size, in 8-KB pages"
100 MB * 1024 (KB) / 8
Hope that makes sense
May 5, 2008 at 6:30 am
Hi Steve,
You can try "select * from sys.database_files"
May 5, 2008 at 5:41 am
adoniadelavigne, for the Implementation & Maintenance exam, it's about 10 full days (according to Microsoft anyway) for the course & usually about twice that much if you're doing it part...
April 30, 2008 at 2:04 am
Thanks. The log is fine.
I have re-biult the indexes, but the filesize (of the primary file - MDF) doesn't change after shrinking.
April 16, 2008 at 2:36 am
Thanks again Cliff.
No rows returned. I don't think any objects(tables) are orphaned as I only truncate & delete data, not dropping tables. I'll pray this weekend & start afresh on...
April 11, 2008 at 2:00 pm
Thanks Cliff.
Still no joy. I'm really stumped. Funny thing is this happens every time I restore this db...
April 9, 2008 at 11:17 pm
No errors with DBCC Checkcatalog.
Thanks for the script Michael. It's a nice to have, but unfortunately didn't shrink it...
Appreciate the help though.
April 8, 2008 at 7:51 am
It returns the following:
DbID: 18
FileID: 1
CurrentSize: 13887128
MinimumSize: 152
UsedPages: 234824
EstimatedPages: 234528
Even though the current size reflects what it should be, the size of the file on the OS is still 110GB
April 7, 2008 at 4:49 am
Thanks, I appreciate the input. But as previously stated, truncating/shrinking the log file is not a problem. 😉
It's getting that MDF down to size...
April 2, 2008 at 8:26 am
sp_spaceused & OS correlate.
The log file is under control & is currently sitting on 100MB.
The problem is that the MDF file is sitting on 105GB, but I'd like it to...
April 1, 2008 at 7:11 am
Thanks Bessem,
There's also a report you can run from Management Studio for this info.
Unused space in my tables only add up to about 750MB (Againt a total of nearly 95GB...
April 1, 2008 at 5:45 am
Thanks for the pointers. Unfortunately it's producing the same results...
Is there anything else I can/should look at?
March 31, 2008 at 3:47 am
Mohan Kumar (3/20/2008)
useDBCC shrinkfile (filename, expected size in MB , notruncate)
once this is completed then
DBCC shrinkfile(filename, expected size in MB , truncateonly)
This will do trick.
Thanks Mohan, will give it...
March 21, 2008 at 7:23 am
Viewing 14 posts - 91 through 104 (of 104 total)