Viewing 14 posts - 31 through 44 (of 44 total)
Hey Sjoerd,
Thanks for your reply. Unfortunately our applications are all heavily reliant on LINQ-To-SQL and thus on the SqlConnection .NET class which does not accept the Provider or Driver connection...
October 19, 2010 at 6:07 am
I'm currently experiencing exactly the same problem with a mirrored and witnessed SQL Server 2008 (non R2) mirror. As the principal disappears, either the box (via a network cable pull...
October 18, 2010 at 5:32 am
Bump for the possibility of at least 1 response. Sorry!
September 6, 2010 at 3:07 am
Thanks Chaps. The moving the head forward to flush then back to use up the preallocated, but now unused, space makes sense. 🙂
May 21, 2010 at 7:35 am
Thank Perry. I have read that. But it still doesn't explain why 2 x backups are required, if anything that article insinuates that 1 backup should be enough! "When the...
May 21, 2010 at 2:08 am
TRUNCATEONLY will never increase fragmentation as doesn't move any pages. Even so, you should only really do this if you're sure you're not going to fill the space you reclaim...
May 20, 2010 at 6:57 am
Trying to replay the SET OFFLINE -> SET ONLINE didn't work second time round! aarrggh!
Back to getting the following from SHRINKFILE
DbIdFileIdCurrentSizeMinimumSize UsedPages EstimatedPages
8.......1......17363872....384............2888816....2885160
132gb of current size vs 22gb of actual...
May 20, 2010 at 4:54 am
Secondaries don't have to have the .ndf extension btw. It's just convention 🙂
May 20, 2010 at 3:14 am
Me too Stefan, although I'm still not 100% sure what it was! Guess I'll restore a local backup tomorrow and replay the SET OFFLINE -> SET ONLINE.
Thanks CirquedeSQLeil, I already...
May 19, 2010 at 3:01 pm
Just thinking about it. I did offline then online the database. Maybe this caused some lock preventing sql server from shrinking the file? I recall reading something about that somewhere...
May 19, 2010 at 10:01 am
Hey Stefan. Yes DBCC SHRINKFILE'ing. It just won't drop that space.
I was thinking of creating a new secondary file, adding it to the same filegroup as the primary data file...
May 19, 2010 at 9:56 am
Just to add running DBCC CHECKALLOC ends up with:
The total number of extents = 6244877, used pages = 49737236, and reserved pages = 49956438 in this database.
(number of mixed...
May 19, 2010 at 7:44 am
1. backup the log
2. DBCC SHRINKFILE([log name here], TRUNCATEONLY)
3. If that didn't affect the log size then back it up again and run the shrink file command again.
4. DBCC SHRINKFILE([data...
May 19, 2010 at 3:08 am
Viewing 14 posts - 31 through 44 (of 44 total)