Forum Replies Created

Viewing 15 posts - 1,141 through 1,155 (of 5,843 total)

  • RE: Help Solving Deadlock Issues

    nari.koud (4/20/2016)


    Hi, I am looking for some help on solving deadlock issues. Please see below scenario..

    There are frequent SELECT, UPDATE, BULK INSERTS happening in DatabaseA- Tables and Heavy blocking is...

  • RE: Tuning of DW Load

    Chris-475469 (4/19/2016)


    Hi Kevin,

    I'm not new to being a DBA, just new to my current role and have been given this process to look at.

    The INSERT statements are the biggest offenders...

  • RE: Tuning of DW Load

    1) What you have posted goes WAY WAY WAY WAY beyond free help from a forum.

    2) You need to find out which of those steps is taking the longest...

  • RE: getting killed on new server

    tcronin 95651 (4/19/2016)


    one of the problems before was the PLE as almost zero, new server has 512 gig of RAM. Old server CPU was never really above 45%. ...

  • RE: Performance tuning a query

    Atif-ullah Sheikh: why would you want to pay the price of building two clustered indexes on (potentially hugely fat) temp tables only to hit them once each? That is almost...

  • RE: getting killed on new server

    Like I said, you may not be able to do anything about this if the root cause is that your old box had poor IO and the new one is...

  • RE: Please help me improve the performance of this query

    Jeff Moden (4/18/2016)


    Good discussion but still off the rails. Anyone going to help the OP? 😉

    At 11:09am two days ago I gave the OP 2 things to try (although...

  • RE: getting killed on new server

    tcronin 95651 (4/18/2016)


    Will start checking for recompiles, this is a fairly old code set from vendor way to hard to describe. ALso seeing a lot of deadlocks which did...

  • RE: getting killed on new server

    tcronin 95651 (4/18/2016)


    had old 3rd party oltp system on older HP server with 64 gig of memory. This weekend went to brand new super HP server (512 gig of...

  • RE: Performance tuning a query

    If the function you mention is a Scalar or Multi-StatementTVF UDF then those will void the use of parallelism, which clearly can make things slower with the volume of data...

  • RE: Please help me improve the performance of this query

    It's absolutely not coding "laziness". It's simply to allow for data type changes later without causing performance issues in the code.

    Completely disagree with the first sentence. And even more vehemently...

  • RE: Please help me improve the performance of this query

    ScottPletcher (4/18/2016)


    TheSQLGuru (4/16/2016)

    New rule: YOU WILL, ALWAYS WITHOUT EXCEPTION, USE EXACTLY THE SAME DATA TYPE AS THE COLUMN TO THE BEST OF YOUR LANGUAGES ABILITY TO DO SO!

    THAT IS A...

  • RE: very strange issue with profiler

    I tell clients to only run statement completed profiler traces for a VERY short period when they want to see just how truly horrific Scalar and Multi-StatementTVF User Defined Functions...

  • RE: Please help me improve the performance of this query

    Jeff Moden (4/15/2016)


    Heh... wow... this thread certainly jumped the track. 😉

    The original post is pretty clear. Everything flies when the last condition is removed even though a...

  • RE: ISNULL VS COALESCE on nullible and not null columns Sargability comparison

    ScottPletcher (4/15/2016)


    TheSQLGuru (4/15/2016)


    ScottPletcher (4/15/2016)


    The simplest rules is:

    Never use ISNULL in a WHERE or JOIN clause.

    Whether the column is nullable or not is irrelevant.

    The proper way to code this:

    where isnull(SalesOrderID,-1) =...

Viewing 15 posts - 1,141 through 1,155 (of 5,843 total)