Forum Replies Created

Viewing 15 posts - 33,871 through 33,885 (of 49,552 total)

  • RE: Performance Tuning Woe's

    I don't think it's just the lack of indexes that's hurting you (fwiw, you can create some indexes on table vars), it's lack of statistics. The optimiser's going to 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: Multiple Log File for High Log Writes Wait

    Multiple log files does not reduce log waits. The files are used sequentially, not in parallel. Having 2 200MB log files is no different from 1 400MB log file.

    What's 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: SQL Engine

    There's an entire chapter on SQL's startup procedure in the book "SQL Server 2005 Practical troubleshooting"

    In summary (and not necessarily in completely the correct order, some stuff runs in parallel):

    Start...

    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?

    Grant Fritchey (2/19/2010)


    If you haven't submitted anything to Tony Davis at Simple-Talk, head on over there. His editing process can feel a bit like a prison rape, but you'll really...

    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 went wrong in this backup?

    AndrewSQLDBA (2/19/2010)


    Are you placing the backup files on the same box? If so, why even bother, if that box dies, so do your backup files. Have SQL place the 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: What went wrong in this backup?

    AndrewSQLDBA (2/19/2010)


    I was at the understanding, and have tested this, that once the data is committed to the database, that is can be removed from the transaction log.

    Yes, 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: Add Shrink to database maintenance plan?

    David Data (2/19/2010)


    Being new to SQL Server, I had naively thought that SHRINK would either defragment the indexes, or at least copy them as-is. What does it do that...

    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 Engine

    Still not following.

    Are you interested in the startup process of the SQL service or the login process for a user connection?

    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: Consistency Errors in Table

    As the checkDB output says, REPAIR_ALLOW_DATA_LOSS is the minimum level needed to repair. Hence REPAIR_REBUILD will do nothing.

    Since you have no backup (why not?) you have little choice other than...

    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 went wrong in this backup?

    Not enough info. The messages are always truncated in the history log. Go into the job, set up a file to log output to and check what's in that file...

    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: Add Shrink to database maintenance plan?

    Ser Tharg (2/19/2010)


    In my situation I'd expect the space freed not be reused.

    Not ever?

    In that case, do a once-off shrink followed by a rebuild of all indexes. I've got...

    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 Engine

    Sorry, I don't understand your question. What do you mean by 'starting modes'?

    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?

    GilaMonster (2/18/2010)


    Lynn Pettis (2/18/2010)


    No kidding. That's more than my house payment.

    It's about 5 times my house payment.

    To give you a rough idea, I pay around R500/month for 512kb/s with...

    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: performance

    Take a look at this blog post. http://sqlinthewild.co.za/index.php/2010/01/12/in-vs-inner-join/

    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: performance

    sanketahir1985 (2/19/2010)


    Obviously first one

    because in first query both the table will be scanned only for condition a.name=b.name

    In second query whole table2 will be scanned then it will 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

Viewing 15 posts - 33,871 through 33,885 (of 49,552 total)