SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Deleting SQL Database Log File
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sridharsridhar
Starting Member

India
21 Posts

Posted - 07/22/2013 :  06:16:45  Show Profile  Reply with Quote
Hi Can we delete SQL Database log file . i want to delete is there any problem if we delete it ?

sridhar

webfred
Flowing Fount of Yak Knowledge

Germany
8760 Posts

Posted - 07/22/2013 :  06:24:56  Show Profile  Visit webfred's Homepage  Reply with Quote
Not a good idea!
Why do you want to delete it?


Too old to Rock'n'Roll too young to die.
Go to Top of Page

sridharsridhar
Starting Member

India
21 Posts

Posted - 07/22/2013 :  06:32:15  Show Profile  Reply with Quote
its in c drive the memory for c drive is only 50 GB in that the SQL DB occupied upto 20 GB thats y ?

sridhar
Go to Top of Page

sridharsridhar
Starting Member

India
21 Posts

Posted - 07/22/2013 :  06:35:04  Show Profile  Reply with Quote
the database we created and configured is having 20 GB Log file thats why we want to delete it

sridhar
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

Sweden
30117 Posts

Posted - 07/22/2013 :  06:41:32  Show Profile  Visit SwePeso's Homepage  Reply with Quote
What is your recovery mode? If FULL, please backup database and the shrink logfile.
However, this is a workaround because there is a reason the log file has grown to the current size.

You should investigate why the log file need this size in the first place.



Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA
Go to Top of Page

sridharsridhar
Starting Member

India
21 Posts

Posted - 07/22/2013 :  09:56:49  Show Profile  Reply with Quote
We had restored Previous Database in to newly installed SQL server 2008 While restoring we had selected full only this is how the log file created and the log file is not in LDF format it saved in database name with no extension .

sridhar
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000