Forum Replies Created

Viewing 4 posts - 16 through 19 (of 19 total)

  • RE: High CPU, Low Reads

    Hi Jeff,

    You said that adding 'partition by' will reduce it only to one case statement, Not able to translate that into a query, can you please help?

    Regards - Yasub

  • RE: High CPU, Low Reads

    Hi Jeff,

    Thanks for your reply. Sorry about the code, its a copy paste error, when i was trying to make the dummy code for this post, please ignore that functional...

  • RE: High CPU, Low Reads

    Hi,

    Here is the code in the sp which takes a lot of time, around 17 secs, the reads are only 1303,

    SELECT

    col1, col2, col3....,

    (CASE @LocDBSortOrder

    WHEN 'DESC' THEN

    CASE @LocstrSortExpression ...

  • RE: High CPU, Low Reads

    Hi,

    Thanks for your reply, there was sniffing, had no choice but to disable it within the sproc.

    Was working on another perf issue, the reads are down but the duration is...

Viewing 4 posts - 16 through 19 (of 19 total)