Forum Replies Created

Viewing 15 posts - 36,031 through 36,045 (of 49,552 total)

  • RE: Restore a Database without restoring LDF

    shanu.hoosen (11/3/2009)


    the shrinkfile will not help for this.

    it will reduce size if the log is full.

    shrinkfile will reduce the size if the log is NOT full. If the log is...

    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 ONLY FOR THE BRAVE & BOLD

    Execution plan?

    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: qouestion about Index

    farax_x (11/3/2009)


    yes it helps but does not answer my question.

    There is no one, single, always right answer to your question. Without knowing the queries that run against that table, 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: Monitoring Index Growth

    For monitoring space usage yes.

    Fill factor is reduced to alleviate page splits and fragmentation.

    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: Some general questions about Locks

    All data modifications take an exclusive lock.

    Locks can be at the row, page, extent or table. Never part of a row.

    Exclusive locks are held until the end of a transaction....

    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: How to handle network login/username changes? (ReportServerDb.dbo.Users table)

    Please don't cross post. it just wastes people's time and fragments replies.

    No replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic813034-1632-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: Query tuning ONLY FOR THE BRAVE & BOLD

    Please post table, index definitions and execution plans. Take a look through this article: http://www.sqlservercentral.com/articles/SQLServerCentral/66909/

    Also, take a look at that article, about narrowing down exactly where the performance problems speciofically...

    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: Monitoring Index Growth

    Jon.Morisi (11/3/2009)


    My end goal is to trend this growth in order to come up with an appropriate fill factor for index rebuilds.

    It's not growth that affects the fill factor. It's...

    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: Introduction to Indexes

    omkarred (11/3/2009)


    waiting fr post

    What are you waiting for?

    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: Stored Proc that joins based on parameters??

    stephenmbell (11/3/2009)


    and from what I have read, when using Dynamic SQL, it is inefficient because a cached execution plan can not be used.

    Absolutely false. Dynamic SQL has its plans cached...

    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: qouestion about Index

    farax_x (11/3/2009)


    my question is :

    its better put all columns together in one index or this situation is the best.

    As I said, it depends. It depends purely on the queries...

    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: qouestion about Index

    It depends.

    http://sqlinthewild.co.za/index.php/2009/01/19/index-columns-selectivity-and-equality-predicates/

    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 consistency-based I/O error

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

    No replies to this thread please. Replies to: http://www.sqlservercentral.com/Forums/Topic812740-266-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: SQL Server detected a logical consistency-based I/O error

    Please run the following and post the full results:

    DBCC CheckDB (<Database Name>) WITH NO_INFOMSGS, ALL_ERRORMSGS

    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: conditional inner join

    HowardW (11/3/2009)


    You don't need to use dynamic sql. The easiest way to do this would be to have two select statements and an if else to decide which one 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 - 36,031 through 36,045 (of 49,552 total)