Forum Replies Created

Viewing 15 posts - 4,081 through 4,095 (of 5,841 total)

  • RE: TempDB Settings

    In general tlogs should not be with data due to a) the importance of tlog throughput and b) different nature of data access between data and log files

    But all this...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Performance Monitoring

    1) average disk queue length is useless measure with almost all modern IO subsystems, especially SANS. avg disk sec/read and /write are the best measures to use.

    2) Your us...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Avoiding Sort task in Execution Plan

    Suggestion 1: stop using LINQ 😀

    Failing that, make a stored procedure that executes a properly written (and performing) query to do the call that is causing problems and call...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Get minimum data without using MIN() function

    Paul White NZ (3/30/2010)


    TheSQLGuru (3/30/2010)


    In the past 3 years I have made more money consulting helping clients with performance problems due to UDFs than any single other issue - that...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Get minimum data without using MIN() function

    Paul White NZ (3/29/2010)


    karthikeyan-444867 (3/29/2010)


    will the usage of function in the WHERE clause hit performance issue?

    Yes.

    In the past 3 years I have made more money consulting helping clients with performance...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Best way to transpose multiple rows onto 1 row?

    There are some good things here, including some stuff on dynamic crosstabs: http://www.sommarskog.se/dynamic_sql.html

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: What is the ideal size for a table

    That question is like asking how big a human should be. Do you want to be a fullback for a professional US footbal team or a ballerina?? 😛

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Detected but now Prevent This Deadlock

    andy russell (3/30/2010)


    You might check out the link below. Near the bottom he offers suggestions on how to avoid deadlocks.

    http://blogs.msdn.com/bartd/archive/2006/09/09/Deadlock-Troubleshooting_2C00_-Part-1.aspx

    That, and the 2 follow-on blog posts, are the Bible...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Automated nightly restore to a different server

    1) stop using maintenance plans for doing maintenance. 🙂

    2) Ola Hallengren has some WONDERFUL scripts for doing all the standard maintenance stuff (ola.hallengren.com)

    3) as someone else mentioned you can...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: High memory usage server

    44GB on a 48GB box is too high as well. Christian Bolton, in his book SQL Server 2008 Internals and Troubleshooting recommends this formula, which I agree with:

    2GB for...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Creating Indices on Temp Tables from Stored Procedures

    I find it hard to believe that your proposed solution - using an existing index to retrieve some subset of a table into a temporary table and then indexing that...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Help with tuning the Query

    ss-457805 (3/25/2010)


    Grant, You are a genius. The query has come down to 6 secs with your recommendations.

    Thank you.

    Oy vey - there goes Grant's ego!! 😀

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Creating Indices on Temp Tables from Stored Procedures

    In 95+% of the cases I have seen clients put indexes on temp tables said operation has been counter-productive to efficient operation of the query involved.

    Do a proper indexing strategy...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Why create statistics on every column of every table in a database.

    Thanks Paul.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Why create statistics on every column of every table in a database.

    >>2. SQL Server will only update statistics if they are potentially useful to the optimizer, and found to be out of date. Statistics that are never useful will never be...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 4,081 through 4,095 (of 5,841 total)