About 327,000 results
Open links in new tab
  1. How do you clear the SQL Server transaction log?

    Sep 11, 2008 · Log file autogrow events are expensive, since SQL Server has to zero out the files (unlike data files when instant file initialization is enabled), and user transactions have to wait …

  2. sql server - DBCC SHRINKFILE on log file not reducing size even …

    161 Okay, here is a solution to reduce the physical size of the transaction file, but without changing the recovery mode to simple. Within your database, locate the file_id of the log file …

  3. What is the command to truncate a SQL Server log file?

    Sep 2, 2008 · I need to empty an LDF file before sending to a colleague. How do I force SQL Server to truncate the log?

  4. How do I decrease the size of my sql server log file?

    2 I had the same problem, my database log file size was about 39 gigabyte, and after shrinking (both database and files) it reduced to 37 gigabyte that was not enough, so I did this solution: …

  5. Huge transaction log with SQL Server database in simple recovery …

    Nov 19, 2009 · For some reason the transaction log for this database is massive (410 GB) with 99% of the space unallocated. I've tried to shrink the file using ( DBCC SHRINKFILE …

  6. Why can't I shrink a transaction log file, even after backup?

    Apr 23, 2009 · I have a database that has a 28gig transaction log file. Recovery mode is simple. I just took a full backup of the database, and then ran both: backup log dbmcms with …

  7. The transaction log for the database is full - Stack Overflow

    You can't shrink the log file while a long running process - that is holding open a transaction - is in progress. That process was solely responsible for the file growth.

  8. Log file is not Shrinking on SQL Server - Stack Overflow

    Feb 22, 2017 · I wanted to shrink the log file as much as possible by the command: DBCC SHRINKFILE ('LogFile', 10) and get this error: Cannot shrink log file 2 ('LogFile') because the …

  9. sql server - My log file is too large - Stack Overflow

    Jan 30, 2009 · My log file in SQL Server used up all the space on my disk. I run full backups every night, but the log file keeps growing. What can I do?

  10. Why is my LDF file taking up so much space, and how can I free up …

    Why is the log file taking this much space (30gb)? It was because the Autogrowth / Maxsize was set to 200,000 MB. How can I free up the space? As described I used the following command …