Forum Replies Created

Viewing 15 posts - 25,561 through 25,575 (of 49,552 total)

  • RE: size field in sys.database_files

    sqlfriends (6/11/2011)


    in SELECT 8 from sys.database_files, there is a field called size.

    what unit is it? I mean is it in byte, or kb or other ?

    Straight from Books Online:

    size

    ...

    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: Missing Transaction Log

    http://sqlinthewild.co.za/index.php/2009/06/09/deleting-the-transaction-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: DBCC FREEPROCCACHE for Execution Plans??

    Save the file as a .sqlplan and attach it.

    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: Lazy Writer

    SQLRNNR (6/10/2011)


    GilaMonster (6/10/2011)


    SanDroid (6/10/2011)


    i.e. If I see this question on a Certification test should I select the Right wrong answer or the right right answser? :crazy:

    This is MCM level material....

    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: Log File Space during Updates of a Table

    At minimum the log used for the update will be 2x the size of the data changing + log header, log block, etc overhead. That's cause it logs old and...

    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: your spare time?

    GSquared (6/10/2011)


    MMORPGs (currently playing RIFT)

    Is it any good? I'm waiting for The Old Republic in anticipation...

    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: DBCC FREEPROCCACHE for Execution Plans??

    Don't reorder the columns in the key, it changes the index's usefulness.

    Need to see query, index & execution plan to say more (and I assume since you say 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: DBCC FREEPROCCACHE for Execution Plans??

    No. Are you sure the index is useful?

    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: Top 1 not bringing back Min record

    No. Depends on index used, scan mode used, parallelism (and that's completely ignoring joins or other operators)

    It's one of those things that will appear to work reliably until something causes...

    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: Top 1 not bringing back Min record

    Without an order by there is absolutely no guarantee whatsoever what record a TOP 1 will return. Depends on what order the last operator in the execution plan leaves it...

    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 Differential Backups

    Grant Fritchey (6/10/2011)


    OK. Your level of paranoia just exceeded mine. You sure you're not a DBA?

    Lol. No, not a DBA, but I do tell people how to do DBA 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: Sql Differential Backups

    Grant Fritchey (6/10/2011)


    As to keeping logs, once you have differential backups in place, you only need logs back to the last differential. Recovery would go, Full Backup, Latest Differential Backup,...

    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: Query tuning

    Object explorer. Right click the table or index, script-> create

    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 "incremental" Backups

    LutzM (6/10/2011)


    Some folks refer the transaction log backup as an incremental log backup though....

    I can call a horse a car, doesn't make it one. Incremental backups != transaction 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: Basic Index Question

    p.s. take that article with a pinch of salt (maybe a saltpan sized one) There's a lot of bad info in there unfortunately.

    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 - 25,561 through 25,575 (of 49,552 total)