Forum Replies Created

Viewing 15 posts - 4,846 through 4,860 (of 49,552 total)

  • RE: CHECKDB does not complete

    Try increasing the size of TempDB, you're just running out of space. Put extra files on another drive if necessary, or get a larger drive for it.

    Without seeing the formula...

    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: Table lock during 1 row update

    That's normal. You'll always have intent locks at the table level. Nothing to worry about, it's how SQL's locking process works.

    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: Good Maxdop value in SQL 2014

    So 6 then.

    In that case, you can try 6, 9 or 12 as maxdop, see which works best for you (calced as 1x, 1.5x and 2x the number of physical...

    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: Blocking due to access_methods_scan_range_generator and Latch_Ex

    I'm going to give you my usual answer.

    Analyse, investigate and identify exactly what's happening. Don't guess, you're just going to waste time. Don't try stuff at random, it doesn't work....

    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: What is strongest encryption algorithms in SQL Server 2012

    I would suggest you start by reading Books Online, there's lots of details and recommendations there.

    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: Advanced Data Recovery Situation

    Restore from their last good backup. 😀

    Without a backup, pretty close to no options. I can't recall ever having seen a deleted database file recovered and be useful.

    What's the exact...

    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: Tablespace concept in SQL SERVER 2014

    sqlbaby2 (9/1/2015)


    Thanks for the replied. Is that mean filegroups only useful if I've multiples data files ? For instance sales data files can group to filegroup sales, marketing data files...

    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: restore database to a point of time

    sqlfriends (9/1/2015)


    Can I use a full and differential backup to restore to a point of time?

    No. Full and diffs can only be restored to the time which they ran (end...

    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: File group is running out of space frequently.

    EasyBoy (9/1/2015)


    Thanks for your prompt response. I understand that we can't limited to growth. But, this is how they implemented tempdb.

    Ok, but that doesn't stop you from reconfiguring it correctly

    ...

    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: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 2.

    Then someone else changed something, or you changed something that you didn't think relevant. CheckDB CANNOT have fixed the error you posted.

    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: File group is running out of space frequently.

    SQLBill (9/1/2015)


    Check your code for reindexing....does it use SORT_IN_TEMPDB?

    The rebuild starts 20 minutes after the alert, so unless there's a second rebuild job somewhere, it's not from rebuilds.

    Could be...

    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: Question on Procedures, Compilation, and Execution Plan

    Back in SQL 2000 that construct would cause a recompile on every execution, no idea offhand for 2008. Fire up server-side trace or extended events (no GUI in 2008 though)...

    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: File group is running out of space frequently.

    First fix that growth increment. Nothing should use % growth. Set the growth increment to a sensible size. Second, the limit on the file size means that if something needs...

    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: Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 0, current count = 2.

    CheckDB cannot fix code problems, and unless the errors being thrown were severity 24, probably did nothing at all.

    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: Are the posted questions getting worse?

    It probably did nothing, since the error was in code and repair can't fix that (short of deallocating pages from the system tables)

    Though he said nothing about using the REPAIR_ALLOW_DATA_LOSS...

    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 - 4,846 through 4,860 (of 49,552 total)