SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


query statistics


query statistics

Author
Message
niranjankumark
niranjankumark
Grasshopper
Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)Grasshopper (17 reputation)

Group: General Forum Members
Points: 17 Visits: 3
My query is running very slow , i used index, defragmentation, querytuning . but still performance not improved. this report is statistics report, based on this what to improve in my query.I wish to know what are all things has to be improved based on this report.







COUNTER Value Average







Application Profile Statistics







Timer resolution (milliseconds) 0 0







Number of INSERT, UPDATE, DELETE statements 0 0







Rows effected by INSERT, UPDATE, DELETE statements 0 0







Number of SELECT statements 2 2







Rows effected by SELECT statements 1.70022e+006 1.70022e+006







Number of user transactions 7 7







Average fetch time 0 0







Cumulative fetch time 0 0







Number of fetches 0 0







Number of open statement handles 0 0







Max number of opened statement handles 0 0







Cumulative number of statement handles 0 0















Network Statistics







Number of server roundtrips 3 3







Number of TDS packets sent 3 3







Number of TDS packets received 28569 28569







Number of bytes sent 2054 2054







Number of bytes received 1.16501e+008 1.16501e+008















Time Statistics







Cumulative client processing time 974 974







Cumulative wait time on server replies 2.28888e+009 2.28888e+009
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (340K reputation)SSC Guru (340K reputation)SSC Guru (340K reputation)SSC Guru (340K reputation)SSC Guru (340K reputation)SSC Guru (340K reputation)SSC Guru (340K reputation)SSC Guru (340K reputation)

Group: General Forum Members
Points: 340163 Visits: 42634
This is very nearly a duplicate post...



http://www.sqlservercentral.com/Forums/Topic410280-65-1.aspx



The only thing that means anything about performance for all the timers you have here is this...



Number of TDS packets received 28569 28569

Number of bytes sent 2054 2054

Number of bytes received 1.16501e+008 1.16501e+008



It means you asked for a lot of data... and got it... The number of bytes returned are in excess of 100 million bytes and you did it all with two selects. That's a lot of information to stream over a pipe...

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search