Forum Replies Created

Viewing 15 posts - 31,726 through 31,740 (of 49,552 total)

  • RE: query on indexes

    Write a query that retrieves from sys.indexes, sys.index_columns and sys.columns. Will show key and include columns.

    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 log goes full on running an update statement for just 2million records

    sqlbuddy123 (7/20/2010)


    Try to switch to Bulk Logged recovery model and take frequent Transaction Log backups. This would do minimal Logging and truncate the TL.

    Normal updates are fully logged...

    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: Dirty Data

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic955567-391-1.aspx

    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 log goes full on running an update statement for just 2million records

    Bradley B (7/20/2010)


    ... and dumping/shrinking the transaction log in between updates.

    Dump (backup to mark as reusable) yes, but why shrink? It'll grow again on the next batch and take time...

    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 log goes full on running an update statement for just 2million records

    Can you do the updates in batches? Couple hundred thousand rows at a time with either a log backup (full/bulk logged recovery) or checkpoint (simple recovery) in between to mark...

    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 2005 - SELECT query takes long time to retrieve

    Bradley B (7/20/2010)


    you cannot do a covering index as the limit is 16 columns,

    The 16 column limit is only on key columns, not on include columns.

    balasach, please post...

    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: Primary key without cluster index

    Bradley B (7/20/2010)


    Sorry to be the kiss @$$ looking for an "A" 😀

    but only non-clustered indexes can be filtered

    A unique index can be filtered, providing it's a nonclustered index. Neither...

    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: Please explain code used to identify currently executing SQL statements

    Please note: 2 year old thread.

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

    I think it means that you need to put there whatever the column type is. Int if the column is int, decimal if the column is decimal, etc. Just like...

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

    Could you be more specific please? Column_Type found where?

    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: Simple Back Up Question

    Dfalir (7/20/2010)


    i was wondering wether i should also include master database and / or all system databses, in my maintenance plan schemes...

    Absolutely. If you don't back the system...

    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: Torn_page_detection Vs Checksum (SQL Server 2005 database upgrade)

    Please note: 18 month old thread.

    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 query log

    However you should not use the Profiler GUI to trace a busy production server. It can have an adverse impact on the server's performance. If you're doing long-term traces, use...

    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?

    Jim McLeod (7/19/2010)


    I think we Southern Hemisphere people are going to have to have hot chocolate with marshmallows in protest of all this mouth-watering BBQ action. We've a top...

    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: Simple Back Up Question

    Paul White NZ (7/19/2010)


    although places that do a point-in-time restore to test and/or development platforms from production backups would include log verification implicitly.

    I should hope so. I would venture 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

Viewing 15 posts - 31,726 through 31,740 (of 49,552 total)