About 180,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 while …

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

    I met the error: "The transaction log for database '...' is full due to 'ACTIVE_TRANSACTION' while deleting old rows from tables of my database for freeing disk space.

  3. Read SQL Server transaction log - Stack Overflow

    Jan 26, 2012 · How we can read SQL Server transaction logs, I know using DBCC log (database,4) and it will generate log output now i want to decode Log Record which is is hex format.

  4. 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?

  5. sql server - Why can't I shrink a transaction log file, even after ...

    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 truncate_only DBCC …

  6. sql server - Error 'The transaction log for database is full due to ...

    Jun 19, 2024 · And only perform the last step (shrinking the log) if the log file actually filled the drive and you need to reclaim the space. If you switch back to simple recovery again, or you leave it in full and …

  7. sql - How to shrink a log file without backuping first? - Stack Overflow

    Sep 30, 2014 · 6 I have a SQL Server 2008 database with a .mdf file with 1 GB and a .ldf file (log) with 70 GB. I really don't know what took my log file to be so big in a week and to stop to increase, but my …

  8. What is the LDF file in SQL Server? - Stack Overflow

    May 5, 2009 · The LDF is the transaction log. It keeps a record of everything done to the database for rollback purposes. You do not want to delete, but you can shrink it with the dbcc shrinkfile command. …

  9. sql server - DBCC SHRINKFILE on log file not reducing size even after ...

    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 using the following …

  10. sql - The transaction log for database 'tempdb' is full due to 'ACTIVE ...

    Jul 25, 2017 · I'm using Microsoft SQL Server 2014 and have run into some issues trying to create a temporary table. I've run this code once before with no issue, but when I tried to run the query today, …