Forum Replies Created

Viewing 15 posts - 691 through 705 (of 860 total)

  • RE: My LDF file grew to 180GB - How do I shrink it

    kladibeeto (2/16/2009)


    If you backup log with truncate only and after that perform full backup you didn't lose anything of data.

    Why do you have to truncate the log anyway??Tuncate...

  • RE: MSDB log file writes very high in Simple recovery mode

    chileu17 (2/16/2009)


    GilaMonster (2/16/2009)


    digitalox (2/14/2009)


    GilaMonster (2/14/2009)


    Simple recovery has no effect on what's written to a DB's log. Just how long it's retained after it's written.

    Good point, not sure why but I've...

  • RE: stupid stupid stupid restore problem

    Magy (2/16/2009)


    Ok, all I see is FULL in the backup_type. How do I turn on transactional logs?

    Thanks!

    Which means you don't have Transaction log backups. Then, you can only...

  • RE: stupid stupid stupid restore problem

    Magy (2/16/2009)


    How do I know if I have any transaction logs?

    Thanks for all the input!

    Query the "backupset" system table in msdb databse.

  • RE: My LDF file grew to 180GB - How do I shrink it

    kladibeeto (2/16/2009)


    Conclusion:

    If You DON'T perform transactional log backup's

    You need to do this:

    Execute:

    BACKUP LOG DatabaseName with truncate_only

    DBCC SHRINKFILE (FILENAME, 1000)

    And don't conclude anything, not a best practice. We are...

  • RE: My LDF file grew to 180GB - How do I shrink it

    kladibeeto (2/16/2009)


    Hi,

    Please explain me which log chain will he break if he don't work transactional log backups?

    Here a clean explanation from Gail's excellent article "Managing Transaction logs":

    "Log chains

    Log backups...

  • RE: My LDF file grew to 180GB - How do I shrink it

    kladibeeto (2/16/2009)


    It seems that You didn't understand my post.

    I well understood your post and also OP's post

    You can't perform point in time backup without transactional log backup and if...

  • RE: Transaction log backup, tempdb negative space?

    eashoori (2/16/2009)


    Thanks so much, it was not negative. Cna you tell me what do you suggest for tranact log backup schedule?

    It really depends on your businesss needs and how much...

  • RE: My LDF file grew to 180GB - How do I shrink it

    kladibeeto (2/16/2009)


    Hi,

    Please explain me which log chain will he break if he don't work transactional log backups?

    log chain for backups. LSN's will go out of order, which means you...

  • RE: CPU's @ 100%

    You can run this script to see how much your SQL server utilizing CPU:

    DECLARE @CPU_BUSY int, @IDLE int

    SELECT @CPU_BUSY = @@CPU_BUSY, @IDLE = @@IDLE WAITFOR DELAY '000:00:01'

    SELECT (@@CPU_BUSY - @CPU_BUSY)/((@@IDLE...

  • RE: How to identify if a backup did not run

    That's cool and a good work but if you post it int he Scripts section, many would be benifited from your script and also your name will appear when published...

  • RE: stupid stupid stupid restore problem

    homebrew01 (2/16/2009)


    We haven't heard that there are any t-logs. If there were, you would do a FULL DB restore WITH NORECOVERY of the database. Then restore each t-log in sequence...

  • RE: stupid stupid stupid restore problem

    Ninja's_RGR'us (2/16/2009)


    Yes I got that, can you post the precise steps to go about doing that so that he can make sure to not screw it up?

    😀 Me too excited...

  • RE: My LDF file grew to 180GB - How do I shrink it

    kladibeeto (2/16/2009)


    Execute:

    BACKUP LOG DatabaseName with truncate_only

    DBCC SHRINKFILE (FILENAME, 1000)

    Not at all. Truncate_Only option is disastrous. Please do not use this option as it breaks the log chain of the backupsets....

  • RE: Problem with adding datafile, error 1105

    GRANT REFERENCES ON SCHEMA :: dbo TO guest

    Guest User account is a dangerous account. I would not grant any permissions to it. Why dont you create a login for this...

Viewing 15 posts - 691 through 705 (of 860 total)