About 987,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. 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?

  3. Where to see SQL Server start/stop logs? - Stack Overflow

    Sep 23, 2009 · I want to know where to see SQL Server start/stop logs for each instances and SQL Server agent/job start/stop logs? I am developing some tools to monitor SQL Server status.

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

    You have to shrink & backup the log a several times to get the log file to reduce in size, this is because the the log file pages cannot be re-organized as data files pages can be, only truncated.

  5. sql server - SQL Transaction Error: The current transaction cannot …

    Aug 28, 2015 · SQL Transaction Error: The current transaction cannot be committed and cannot support operations that write to the log file Asked 14 years, 2 months ago Modified 1 year, 8 …

  6. Where are SQL Server connection attempts logged?

    Jul 20, 2011 · Does SQL Server has an external log file or internal table for attempted connections, or is that kind of info put somewhere in the Windows Event Log?

  7. sql - Why is my LDF file taking up so much space, and how can I …

    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 …

  8. 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 …

  9. 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 …

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

    System.Data.SqlClient.SqlException: The transaction log for database 'xxx' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases So …