Re: Massive Log Files

From: Carlos Eduardo Rojas (carloser_at_mindspring.com)
Date: 03/02/04

  • Next message: Ray Higdon: "Re: Performance Testing: Can I void the cache?"
    Date: Mon, 1 Mar 2004 22:31:18 -0500
    
    

    If you're not backing up the transaction log, use simple recovery model
    instead of full (or bulk-logged). To truncate the log, use the BACKUP LOG
    command with the TRUNCATE_ONLY option, you can find more info in books
    online.

    -- 
    Carlos E. Rojas
    SQL Server MVP
    Co-Author SQL Server 2000 Programming by Example
    "Jeff Johnson" <anonymous@discussions.microsoft.com> wrote in message
    news:2E21167D-7069-4241-AB1C-E518AF0A130A@microsoft.com...
    > We have a problem with huge log files for our SQL Server databases.
    >
    > We can't figure out how to get these files down to a reasonable size.
    >
    > We've been digging through Books Online and trying various esoteric
    commands... but nothing works.
    >
    > Any ideas???  Please help!
    

  • Next message: Ray Higdon: "Re: Performance Testing: Can I void the cache?"

    Relevant Pages

    • Re: database optimization
      ... Isn't there a single command that will take care of the whole database ... certain fragmentation level. ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
      (comp.databases.ms-sqlserver)
    • RE: error 0x2B33
      ... when i go to download it it wont install it and the error is 0x2B33. ... You can search the system for log files, maybe the log file gives some ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
      (microsoft.public.sqlserver.security)
    • Re: drop a database user. assign objects to dbo.
      ... You can find objects that are not owned by dbo with this select: ... You can use this command ... Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx ... Books Online for SQL Server 2005 at ...
      (microsoft.public.sqlserver.security)
    • Re: SQL Express - How do I view SQL Server Log Files
      ... or at least I have not found how to view the log files using ... I'm having a hard time believing they didn't ... I much prefer to access the SQL Server error log directly ... Books Online for SQL Server 2005 at ...
      (microsoft.public.sqlserver.tools)
    • Re: On to Bulk Insert issues
      ... in what situations does the sql server 2000 return with such an error? ... there is an error with your delimiters, so that BCP gets out of sync. ... post the CREATE TABLE command for the table and the ... Books Online for SQL Server 2005 at ...
      (comp.databases.ms-sqlserver)