Forum Replies Created

Viewing 15 posts - 3,196 through 3,210 (of 5,841 total)

  • RE: I/O affinity

    Given your questions and that you are taking over for a previous DBA it sounds like you are in need of a system and performance review from a professional. ...

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

  • RE: SQL Server DBA Career

    I have numerous standing clients and EVERY ONE OF THEM is in desparate need of at least one SQL Server DBA. I routinely get calls/linkedin messages from a bevy...

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

  • RE: Scripts for monitoring

    1) sp_whoisactive

    2) glenn allan berry has great diagnostic collection script

    3) brent ozar has a good 'blitz' script

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

  • RE: To improve the performance of the query.

    best is to change channel_cd to be NOT NULL with a default of ''. Then remove all those horrid ISNULL(.., '') things from your query. And if channel_cd...

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

  • RE: Non clustered index not getting used for sorting on a large SQL 2005 table.

    GilaMonster (8/11/2011)


    Table definition (create table statement), index definitions (create index) and execution plan please.

    Agreed - and OP, please be sure you set your SSMS scripting options to include everything related...

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

  • RE: Any easy way to find if duplicate rows exist in a table?

    ChrisTaylor (8/11/2011)


    a method i've always used and works for me is this:

    with t (rn, col1, col2) as

    (

    select

    rn= row_number() over (partition by col1, col2, etc order by col1, col2, etc),

    col1, col2,...

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

  • RE: Clustered index scan vs Clustered Index seek

    Most people don't understand that a seek isn't always more efficient than a scan, and can in fact be unbelievably LESS efficient. If you are hitting (or the optimizer...

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

  • RE: Simplify Large Queries with Temporary Tables, Table Variables and CTEs

    alen teplitsky (8/9/2011)


    probably just me but i try to avoid temp tables as much as i can only because i don't like the I/O overhead of using them. One developer...

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

  • RE: How to find last updated row in the stored procedure

    tonyarp05 61903 (8/8/2011)


    Hello,

    Anyone can help me

    I have updated one stored procedure without commended out which line need to modify.

    Now I want to inform the client which line i have...

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

  • RE: Arithmetic overflow error converting expression to data type int.

    Why are we 2 days into futzing around with this question without having seen a create table script yet? Can't do anything useful without that.

    OP - please...

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

  • RE: Mount Points

    Given that you are only using 6 drive letters as it is I see no reason to move to mount points for your standalone servers.

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

  • RE: Simplify Large Queries with Temporary Tables, Table Variables and CTEs

    1) The primary if not only reason do break down a complex query into multiple steps with interim storage (using TEMPORARY TABLES, NOT TABLE VARIABLES as discussed in number 2...

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

  • RE: High Frequent Memory Paging

    micbra (8/4/2011)


    Thanks for the information TheSQLGuru. Any suggestions/suggested reading on tuning my instances? For example, are there perfmon counters I can look at to see how much BufferPool...

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

  • RE: No Parallelism When using Row level function

    Leo.Miller (8/4/2011)


    I've run some tests ranging from a few hundred rows to a few million rows, and in most cases using the inline case is more efficient than passing the...

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

  • RE: Massive Buffer I/O Wait Times

    Ninja's_RGR'us (8/4/2011)


    ... san might not be overkill here. kevin whould have better pointers than that to offer.

    For most small shops (and even lots of medium/big ones) direct-attached storage is...

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

Viewing 15 posts - 3,196 through 3,210 (of 5,841 total)