Solved

Log file is too large than data file

Posted on 2012-12-26
4
271 Views
Last Modified: 2013-04-05
There is Log file is too large than data file..

What would be the best way to shrink log file in SQL server

The transaction logs are too large, a s I noticed log file size is very large compared to data file & major problem is that the transaction log is continuing to grow

I am looking for a recommended solution to shrink our transaction logs
0
Comment
Question by:jjjosef
  • 2
4 Comments
 
LVL 39

Expert Comment

by:Pratima Pharande
ID: 38722908
0
 
LVL 39

Expert Comment

by:Pratima Pharande
ID: 38722913
0
 
LVL 2

Accepted Solution

by:
RRobinho earned 0 total points
ID: 38726164
If you are in FULL recovery mode; database log will continue to grow unless you backup the transaction log

If you do not need point in time recovery, you may to switch to simple recovery mode

Also Rebuilding the index may cause this. Use SORT_IN_TEMPDB option when rebuilding indexes

Refer the article in case

MSDN Library
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have written a PowerShell script to "walk" the security structure of each SQL instance to find:         Each Login (Windows or SQL)             * Its Server Roles             * Every database to which the login is mapped             * The associated "Database User" for this …
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now