Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. LOG file growing unexpectedly

LOG file growing unexpectedly

Scheduled Pinned Locked Moved Database
sharepointdatabasehelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aman786Singh
    wrote on last edited by
    #1

    Month before, One of my database size was 15GB. But today i have looked it , it grows to 35GB. In which MDF(Data file) Size is 13603584 KB and LDF(Log File) sixe is 39793536 KB. after analyzing it for a few hours i had seen growth of Log files is so fast. i ran sp_dboption '', 'trunc. log on chkpt.', 'TRUE' CHECKPOINT use master Go EXEC sp_configure 'show advanced option', '1' RECONFIGURE EXEC sp_configure USe GO DBCC SHRINKFILE (_LOG, 1) GO But it does not help me. kindly let me know how to truncate it or How to reduce log file size.?? thanks in advance.

    L 1 Reply Last reply
    0
    • A Aman786Singh

      Month before, One of my database size was 15GB. But today i have looked it , it grows to 35GB. In which MDF(Data file) Size is 13603584 KB and LDF(Log File) sixe is 39793536 KB. after analyzing it for a few hours i had seen growth of Log files is so fast. i ran sp_dboption '', 'trunc. log on chkpt.', 'TRUE' CHECKPOINT use master Go EXEC sp_configure 'show advanced option', '1' RECONFIGURE EXEC sp_configure USe GO DBCC SHRINKFILE (_LOG, 1) GO But it does not help me. kindly let me know how to truncate it or How to reduce log file size.?? thanks in advance.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      SQL Server tries to protect you, by remembering what you did to it's databases. Or your databases, depending on your point of view :) Read this[^] to understand why this happens. Read on here[^] for some remedies.

      I are troll :)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups