Transaction running too long.

  • Hi!

    We have reports running every night and it takes several hours to finished. It uses views in other instance of our server. When I check profiler, I got this.

    -- network protocol: TCP/IP

    set quoted_identifier on

    set arithabort off

    set numeric_roundabort off

    set ansi_warnings on

    set ansi_padding on

    set ansi_nulls on

    set concat_null_yields_null on

    set cursor_close_on_commit off

    set implicit_transactions off

    set language us_english

    set dateformat mdy

    set datefirst 7

    set transaction isolation level read committed

    Can someone please help me to translate this one and what should I change or do to make it faster?

    Thank you in advance for your help!

  • That's just a whole bunch of SET statements. It's not doing anything other than assigning values to session-scoped settings. There's no query there.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply