Forum Replies Created

Viewing 15 posts - 15,571 through 15,585 (of 49,552 total)

  • RE: How to Restore .mdf file into sqlserver 2008 without .ldf file

    Attach will fail, no matter how you specify it because, as the earlier error said, the database was not cleanly shut down before the log was lost. Without a log,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: daily differential back up failed

    That's just a generic 'something went wrong' message.

    So the scheduled backup succeeds (backup file written, correctly, complete and restorable) but the job is marked as failed?

    Does the job step succeed?

    If...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL Server Backups

    Perry Whittle (11/20/2012)


    GilaMonster (11/19/2012)


    Only add multiple backup destinations if you have multiple separate IO paths (so 32 cores, 32 destinations on 1 LUN isn't a good idea. 32 cores, 32...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: locking question

    hi2u (11/20/2012)


    t i always thought this was not true because of this : http://dbaspot.com/ms-sqlserver/140553-transaction-deadlock-tablelocks.html

    That thread's talking about SELECT and the locks it takes. You're talking about UPDATE. Very different...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: locking question

    hi2u (11/19/2012)


    Hello,

    For this scenario :

    update Table1 with (TABLOCK, XLOCK)

    ...

    then a "INSTEAD OF TRIGGER" on Table1 update Table1 with other value

    Does the trigger keep the initial (TABLOCK, XLOCK) or the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: single user mode

    ramyours2003 (11/20/2012)


    how to take the sql objects (tables, SP's) in to single user mode in a database

    You can't take objects into single user mode. Only the entire database or the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Unable to shrink tempdb

    Restart the SQL Server. As has been pointed out more than once, you cannot safely shrink an in-use TempDB, you need to completely and totally quiesce the server (no operations,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Unable to shrink tempdb

    nitin.doshi (11/20/2012)


    This being our production server we are looking alternatives without restarting SQL service.

    Leave it as is?

    If tempDB grew that size, then, unless there was some unusual activity, it suggests...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Full Backup after changing Changing recovery models

    Maybe, but I meant deleting smaller chunks in a while loop.

    Have a search for batched deletes, should find you something

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Full Backup after changing Changing recovery models

    Delete in smaller chunks.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Full Backup after changing Changing recovery models

    Nope.

    Simple and bulk-logged allow for minimal logging

    Bulk-logged and full allow for log backups

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Full Backup after changing Changing recovery models

    No, it'll make it worse or no change at all.

    Simple recovery - minimal logging, log truncated on checkpoint

    Bulk-logged recovery - minimal logging, log truncated on log backup (if a full...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: system databases mirroring

    System databases cannot be mirrored, only user databases.

    You probably want to copy over logins, jobs, etc, but it can't be done by mirroring the DBs.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Full Backup after changing Changing recovery models

    Ratheesh.K.Nair (11/20/2012)


    Thanks Everyone.

    Do we need to take any kind of backup when changing database recovery model from SIMPLE-->BULK LOGGED-->SIMPLE

    My first question would be why you're changing the recovery model to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL Server Backups

    tafountain (11/19/2012)


    Use multiple backup files (up to 1 per CPU)

    I wouldn't necessarily recommend this.

    If you're going to stripe your backups, stripe based on how many IO paths you have (if...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 15,571 through 15,585 (of 49,552 total)