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


SQL Server 2008 R2 is Sending too much Data through the network


SQL Server 2008 R2 is Sending too much Data through the network

Author
Message
SQL Geek
SQL Geek
Valued Member
Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)

Group: General Forum Members
Points: 57 Visits: 13
I am using SQL Server 2008 R2 on Windows Server 2008 R2 machine and the SQL is sending too much data from the network causing the website to perform slow. Please suggest what to do.
GilaMonster
GilaMonster
SSC Guru
SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)

Group: General Forum Members
Points: 290941 Visits: 46656
SQL will send the application the data that it requested, it won't send random stuff without some app querying it. If the application is requesting too much data, tune the queries and/or change the application design

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


SQLSACT
SQLSACT
SSCertifiable
SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)

Group: General Forum Members
Points: 6545 Visits: 2987
SQL Geek (6/5/2013)
I am using SQL Server 2008 R2 on Windows Server 2008 R2 machine and the SQL is sending too much data from the network causing the website to perform slow. Please suggest what to do.



How did you come to that conclusion? Are you noticing network_io waits ?



Regards
hvermaak
hvermaak
SSC-Enthusiastic
SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)

Group: General Forum Members
Points: 194 Visits: 169
Run a trace to see what is causing the "traffic"? Analyse the results or post an extract for assistance
SQL Geek
SQL Geek
Valued Member
Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)

Group: General Forum Members
Points: 57 Visits: 13
Yes, You are right but its happening since last 3-4 days only, everything before that was working absolutely fine. We have not changed the queries or anything. Its now utilizing the CPU to nearly 90-100%. I think I have missed some SQL Patch.
SQL Geek
SQL Geek
Valued Member
Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)

Group: General Forum Members
Points: 57 Visits: 13
Hi Grasshopper, Please instruct me how to do this.
SQL Geek
SQL Geek
Valued Member
Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)Valued Member (57 reputation)

Group: General Forum Members
Points: 57 Visits: 13
Hi SQLSACT, There is no wait only the CPu utilization is 90-100%.
hvermaak
hvermaak
SSC-Enthusiastic
SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)SSC-Enthusiastic (194 reputation)

Group: General Forum Members
Points: 194 Visits: 169
Open profiler,
File, new trace.
Connect to your sql server.
Use the template -> select Tuning
select save to file -> choose a location with sufficient space

select -> enable trace stop time 10 minute of data should be sufficient move it up 30 minutes if you need. The more data you gather the more needs to be analysed.

After you have collected the trace data. Open the trace file in the database tuning advisor
on the general tab select your database and trace file. Start anaylsis.
The queries that are affecting the system will be show in the results as well as suggestions of possible index optimisation

Hope this help
SQLSACT
SQLSACT
SSCertifiable
SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)SSCertifiable (6.5K reputation)

Group: General Forum Members
Points: 6545 Visits: 2987
Have a look at these articles

https://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

https://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/
GilaMonster
GilaMonster
SSC Guru
SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)SSC Guru (290K reputation)

Group: General Forum Members
Points: 290941 Visits: 46656
SQL Geek (6/5/2013)
Hi SQLSACT, There is no wait only the CPu utilization is 90-100%.


CPU usage at 100% in no way indicates or suggests that there's too much network traffic.

In contrast, it's an indication that one or more queries are performing inadequately, either due to changes to the query, the tables or the data.

Identify what queries are using the CPU, tune them to work more efficiently
Chapter 3: https://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/

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


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