Results 1 to 3 of 3

Thread: SQL Server Transaction Log Size...

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2002
    Location
    Thunder Bay, ON
    Posts
    89

    SQL Server Transaction Log Size...

    Hi,

    I am currentley using a SQL Server 2K db on a host (www.webhost4life) and when using MS Enterprise Manager I noticed that my data file size is 2.5 megs, and the transaction log is approaching 100 megs.

    Is there someway I can back up the existing data, back it up and then delete that log file and start again. Or a simpler way to keep that transaction log file size down?

    Thanks..
    "That is just it: you must have the devil in you to succeed in any art."

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131
    http://msdn.microsoft.com/library/de...r_da2_1uzr.asp - see the related links at the bottom of the page also.

  3. #3
    Junior Member
    Join Date
    Aug 2002
    Posts
    18

    Try This

    I use
    VB Code:
    1. DUMP TRANSACTION [imoReconcile] WITH NO_LOG
    in the query analyzer to clear out my transaction log. but first you must back up the data file as well as the transaction log. after you run this query
    VB Code:
    1. DUMP TRANSACTION [imoReconcile] WITH NO_LOG
    you transaction log should be virtually empty
    It's not what you climb, It's how you climb it that counts!
    -Peter Croft-

Posting Permissions

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



Click Here to Expand Forum to Full Width