Results 1 to 3 of 3

Thread: SQL Server 2000 Log file size

  1. #1
    Join Date
    Nov 2006
    Posts
    1

    SQL Server 2000 Log file size

    Am running several databases on SQL server 2000.
    Have several overnight jobs for interface and maintenance, etc.
    Log file on one specific database increases in size 10 fold overnight. Unable to trace why.
    I have a job to truncate the logs before the final overnight backup. Several times a week the job hangs - on nights when log file expands, so it is a pain. Able to resolve the issue after the event, but do not understand why the log file increases in size (at that time) in the first place. No other activity on the server at the time.

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    Check if you have a long running transaction,

    dbcc opentran('dbname')

    If a transaction is open then backing up transaction log or truncating it does not really do much. For large data load consider using BULK_LOGGED recovery model. Or change data load transaction to multiple smaller transactions.

  3. #3
    Join Date
    Sep 2002
    Posts
    5,938
    Do you rebuild index and/or update statistics in the db? Will use lot of log space if so.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •