Forum Replies Created

Viewing 15 posts - 4,636 through 4,650 (of 5,841 total)

  • RE: how maxdop works?need reply with detail

    EdVassie (8/10/2009)


    MAXDOP 0 is often bad news. This allows SQL Server to produce a plan that does not take into account the resources on the box. I have...

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

  • RE: how maxdop works?need reply with detail

    Actually if it is an OLTP system the single most important thing to improve performance (part of which will come from reduced CXPACKET waits) is to have optimal indexing. ...

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

  • RE: SQL Profiler running on server side causes high CPU usage

    Maybe the world would be a better place if scalar UDFs were not allowed to do local data access...?

    I have started giving my clients that very 'mandate' actually.

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

  • RE: SQL Profiler running on server side causes high CPU usage

    anish_ns (8/7/2009)


    Were you originally tracing events like SP:StmtCompleted in the Stored Procedures category? Have you now changed to tracing events from the TSQL section like SQL:BatchCompleted?

    I ask since you...

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

  • RE: SQL Profiler running on server side causes high CPU usage

    >>To be clear, I would primarily encourage you to patch your server with the latest fixes before putting more work into this - the problem you have may have already...

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

  • RE: SQL Profiler running on server side causes high CPU usage

    TheSQLGuru (8/6/2009)


    IIRC there was also a bug where having a profiler filter on textdata that was longer than forty-some characters in length would cause a CPU race as well.

    I can't...

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

  • RE: Disable and enabling index frequently

    1) Gail is right - use uniqueidentifier type for the GUID storage. 20-bytes per record savings there.

    2) As another user pointed out, timespent is not only char based but...

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

  • RE: PeopleSoft searches go from 4 seconds to 20 seconds

    Hopefully you have identified the problem as app-side (and you can do something to address it). Whether or not you have, I would still get the name of the...

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

  • RE: SQL Profiler running on server side causes high CPU usage

    IIRC there was also a bug where having a profiler filter on textdata that was longer than forty-some characters in length would cause a CPU race as well.

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

  • RE: how maxdop works?need reply with detail

    >> I assume that a parellelised plan will run the parts of the plan on one processor sequentially if there is only one not busy.

    I don't think this is...

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

  • RE: how maxdop works?need reply with detail

    Using multiple CPUs will NOT speed up a query, and can actually make it run SLOWER, if your IO subsytem cannot supply data to the CPUs fast enough (which MANY...

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

  • RE: how maxdop works?need reply with detail

    Grant Fritchey (8/5/2009)


    I can't support .rar compression files at work (don't ask). Can you zip the files?

    Grant, aren't you supposed to be doing WORK at work?? 😀

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

  • RE: Optimizing UDF calls in SP.

    I have spent a significant chunk of the last 2 years or so helping several clients refactor UDFs out of their databases due to extremely poor performance. It is...

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

  • RE: Query taking long time to execute

    Sanjays probably has the right solution here, assuming the number of rows matched is (or may be) low. Otherwise, you can force the plan to use a HASH join...

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

  • RE: Allocate payments on a LIFO basis

    irobertson (7/30/2009)


    Exactly 😀

    Thankfully it's also a one off job, with a fixed data volume. The brief explicitly states "Performance is not an issue".

    Until someone decides it isn't fast enough...

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

Viewing 15 posts - 4,636 through 4,650 (of 5,841 total)