Forum Replies Created

Viewing 15 posts - 16 through 30 (of 66 total)

  • RE: Is our log file too big?

    Steve Jones - Editor (9/5/2010)


    Glad it's working. Be sure that you have log backups running, and manage the size over time, watching the growth and balance that with the backups...

  • RE: Is our log file too big?

    I went ahead and did the shrink anyway. I am very happy to report that the log file has now gone from 160GB to 3MB so it looks like that...

  • RE: Is our log file too big?

    Okay Gail I've done as you said and the reference to the to the distributed and non-distributed LSNs seems to have gone away

    Also log_reuse_wait_desc now = NOTHING

    So I guess I...

  • RE: Is our log file too big?

    It's definately not supposed to be set up in any kind of replication

  • RE: Is our log file too big?

    GilaMonster (9/5/2010)


    It means that replication (specifically transactional replication) is preventing the log space from been reused. Is this DB the publisher for a transactional replication publication?

    What's the output of DBCC...

  • RE: Is our log file too big?

    GilaMonster (9/5/2010)


    Query sys.databases. See what the log_reuse_wait_desc is for that database.

    As for the target size, that's how small you want the log. Pick a value based on what you know...

  • RE: Is our log file too big?

    I foun this on the Microsoft site: -

    DBCC SHRINKFILE (<FileName>, <TargetSize>) WITH NO_INFOMSGS

    but how do I know what to set the target size to?

  • RE: Is our log file too big?

    CirquedeSQLeil (9/4/2010)


    Shouldn't be. Once you have a full backup and then a tran backup (and since you also manually checkpointed) you should have adequate free space in the file...

  • RE: Is our log file too big?

    I wonder if the problem is something to do with the database running in simple recovery mode up until today?

  • RE: Is our log file too big?

    Okay, so I went to to work on the log files to try and reduce them in size. The log files have now grown to just over 160 Gb which...

  • RE: Is our log file too big?

    GilaMonster (8/31/2010)


    The maintenance plan adds a timestamp to the filename.

    okay thanks

  • RE: Is our log file too big?

    homebrew01 (8/31/2010)


    I back up production log files at least once an hour. More frequently for some DBs.

    Once you have a good plan in place, you shouldn't need to shrink the...

  • RE: Is our log file too big?

    So if I had a maintenance plan that backed up the log files every so often, would that maintenance plan also need to do a shrink on the log files...

  • RE: Is our log file too big?

    It may have been my fault as I think I might have been trying to shrink the data file rather than the log file. I tried again and this time...

  • RE: Is our log file too big?

    So here's what I tried on a test database

    The data file was 337 MB an the Log file was 1.09 GB

    I backed up the log file, did a checkpoint, backed...

Viewing 15 posts - 16 through 30 (of 66 total)