I'm no expert  but I've tried everything I can think of to get this log
file smaller.... On our test server I am practicing archiving old data.
The program I am using performs all the actions for the validation and
cascading deletes etc. I'm just the monkey that pushes the button.

 

My MDF shrunk from about 28G to about 17G, and the LDF went from about
1G up to 23G. This isn't unexpected since a lot of deletions took place.

 

But how do I commit the LDF records and get this thing smaller?

 

I thought if you did a backup that the DB would commit the log file but
I've tried that with no effect. I've done backups in both Simple and
Full modes.

 

I've done a Shrink Database on both the MDF and the LDF - same lack of
progress.

 

I did a "backup log myfile with truncate_only" - no joy.

 

I did the "DBCC shrinkfile" stuff - still a huge file.

 

Like I said I'm not an expert at this but is there something obvious
that I am missing out on?

 

Matt Jarvis

Programmer/DBA

King | Retail Solutions 

541-349-8512

 


 




Electronic Privacy Notice. This e-mail, and any attachments, contains 
information that is, or may be, covered by electronic communications privacy 
laws, and is also confidential and proprietary in nature. If you are not the 
intended recipient, please be advised that you are legally prohibited from 
retaining, using, copying, distributing, or otherwise disclosing this 
information in any manner. Instead, please reply to the sender that you have 
received this communication in error, and then immediately delete it. Thank you 
in advance for your cooperation.

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to