Performrnce tuning

  • when i run a select query with 7 joins on database it is giving the same set of results but consuming different amount of time once the query will run for 1 min next for 30 sec next for 11 sec i am executing the query continuesly

    not having much time log

    i have executed the query atlease for 10 times and got 7 different timings

    coould some one help me out

  • On SQL Server there are many activities concurrently run and the execution time for any SQL depends upon the Load at that time on your server this may be only reason, u are getting varying execution time.

  • Is there any blocking?

    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
  • there were no blocking

    ours is 4 GB ram and the size of the records it returns is 2,50,000 and which is only 660MB

  • 660 MB of data's a fair bit. I wouldn't be surprised if the time difference is due to the network. That's a lot of data to be streaming out.

    What's the application going to do with a quarter of a million rows? No one's going to read all of that.

    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 5 posts - 1 through 4 (of 4 total)

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