Solved

Log file is too large than data file

Posted on 2012-12-26
4
273 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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 …
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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