---
title: Troubleshooting Application Issues - SQL Server
description: In this article about Troubleshooting Application Issues, Tony Fortunato writes about how he came across an application performance issue and with the help of the ProfiShark portable packet capture device he found that, in this particular case, SQL server was the main source of high latency.
image: https://insights.profitap.com/hubfs/SQL%20Troubleshooting%20Configuration%20%20Edit.png
---

[![Profitap](https://insights.profitap.com/hubfs/profitap-logo-white-rev1.png "Profitap")](https://www.profitap.com)

- [Solutions](https://www.profitap.com/solutions/)
- Products
- Resources
- Company
- <https://twitter.com/Profitap>
- <https://www.youtube.com/c/Profitap>
- <https://www.facebook.com/Profitap>
- <https://www.linkedin.com/company/profitap-international>

# Profitap Blog

### Recent Posts

### Categories

- [Network Monitoring (75)](https://insights.profitap.com/topic/network-monitoring)
- [Insights (38)](https://insights.profitap.com/topic/insights)
- [IOTA (32)](https://insights.profitap.com/topic/iota)
- [Copper TAPs (31)](https://insights.profitap.com/topic/copper-taps)
- [ProfiShark (24)](https://insights.profitap.com/topic/profishark)
- [Fiber TAPs (23)](https://insights.profitap.com/topic/fiber-taps)
- [Data Center (17)](https://insights.profitap.com/topic/data-center)
- [Network Packet Brokers (14)](https://insights.profitap.com/topic/network-packet-brokers)
- [Network Visibility and Cybersecurity (14)](https://insights.profitap.com/topic/network-visibility-and-cybersecurity)
- [Network Security (13)](https://insights.profitap.com/topic/network-security)
- [News (13)](https://insights.profitap.com/topic/news)
- [Product Update (11)](https://insights.profitap.com/topic/product-update)
- [Field Service (10)](https://insights.profitap.com/topic/field-service)
- [Case Study (3)](https://insights.profitap.com/topic/case-study)
- [OIDA (3)](https://insights.profitap.com/topic/oida)
- [Events (2)](https://insights.profitap.com/topic/events)
- [Heroes of Packet Analysis (2)](https://insights.profitap.com/topic/heroes-of-packet-analysis)
- [Solutions for Government and Defense (2)](https://insights.profitap.com/topic/solutions-for-government-and-defense)
- [Power and Utilities Solutions (1)](https://insights.profitap.com/topic/power-and-utilities-solutions)
- [Solutions for Logistics (1)](https://insights.profitap.com/topic/solutions-for-logistics)
- [cloud (1)](https://insights.profitap.com/topic/cloud)

see all

### Archives

- [July 2026 (1)](https://insights.profitap.com/archive/2026/07)
- [June 2026 (1)](https://insights.profitap.com/archive/2026/06)
- [May 2026 (3)](https://insights.profitap.com/archive/2026/05)
- [April 2026 (2)](https://insights.profitap.com/archive/2026/04)
- [March 2026 (3)](https://insights.profitap.com/archive/2026/03)
- [February 2026 (3)](https://insights.profitap.com/archive/2026/02)
- [January 2026 (3)](https://insights.profitap.com/archive/2026/01)
- [November 2025 (1)](https://insights.profitap.com/archive/2025/11)
- [October 2025 (4)](https://insights.profitap.com/archive/2025/10)
- [September 2025 (1)](https://insights.profitap.com/archive/2025/09)
- [August 2025 (2)](https://insights.profitap.com/archive/2025/08)
- [July 2025 (3)](https://insights.profitap.com/archive/2025/07)
- [May 2025 (1)](https://insights.profitap.com/archive/2025/05)
- [March 2025 (2)](https://insights.profitap.com/archive/2025/03)
- [February 2025 (3)](https://insights.profitap.com/archive/2025/02)
- [January 2025 (2)](https://insights.profitap.com/archive/2025/01)
- [December 2024 (1)](https://insights.profitap.com/archive/2024/12)
- [November 2024 (2)](https://insights.profitap.com/archive/2024/11)
- [October 2024 (1)](https://insights.profitap.com/archive/2024/10)
- [September 2024 (3)](https://insights.profitap.com/archive/2024/09)
- [August 2024 (8)](https://insights.profitap.com/archive/2024/08)
- [July 2024 (7)](https://insights.profitap.com/archive/2024/07)
- [June 2024 (1)](https://insights.profitap.com/archive/2024/06)
- [May 2024 (6)](https://insights.profitap.com/archive/2024/05)
- [April 2024 (1)](https://insights.profitap.com/archive/2024/04)
- [March 2024 (3)](https://insights.profitap.com/archive/2024/03)
- [February 2024 (2)](https://insights.profitap.com/archive/2024/02)
- [January 2024 (1)](https://insights.profitap.com/archive/2024/01)
- [December 2023 (2)](https://insights.profitap.com/archive/2023/12)
- [November 2023 (1)](https://insights.profitap.com/archive/2023/11)
- [July 2023 (1)](https://insights.profitap.com/archive/2023/07)
- [June 2023 (1)](https://insights.profitap.com/archive/2023/06)
- [April 2023 (1)](https://insights.profitap.com/archive/2023/04)
- [February 2023 (1)](https://insights.profitap.com/archive/2023/02)
- [January 2023 (1)](https://insights.profitap.com/archive/2023/01)
- [December 2022 (1)](https://insights.profitap.com/archive/2022/12)
- [October 2022 (1)](https://insights.profitap.com/archive/2022/10)
- [April 2022 (1)](https://insights.profitap.com/archive/2022/04)
- [March 2022 (1)](https://insights.profitap.com/archive/2022/03)
- [February 2022 (2)](https://insights.profitap.com/archive/2022/02)
- [January 2022 (1)](https://insights.profitap.com/archive/2022/01)
- [December 2021 (2)](https://insights.profitap.com/archive/2021/12)
- [October 2021 (2)](https://insights.profitap.com/archive/2021/10)
- [September 2021 (1)](https://insights.profitap.com/archive/2021/09)
- [August 2021 (1)](https://insights.profitap.com/archive/2021/08)
- [June 2021 (1)](https://insights.profitap.com/archive/2021/06)
- [May 2021 (1)](https://insights.profitap.com/archive/2021/05)
- [March 2021 (2)](https://insights.profitap.com/archive/2021/03)
- [February 2021 (1)](https://insights.profitap.com/archive/2021/02)
- [January 2021 (2)](https://insights.profitap.com/archive/2021/01)
- [November 2020 (1)](https://insights.profitap.com/archive/2020/11)
- [September 2020 (1)](https://insights.profitap.com/archive/2020/09)
- [August 2020 (1)](https://insights.profitap.com/archive/2020/08)
- [July 2020 (2)](https://insights.profitap.com/archive/2020/07)
- [June 2020 (2)](https://insights.profitap.com/archive/2020/06)
- [April 2020 (2)](https://insights.profitap.com/archive/2020/04)
- [March 2020 (2)](https://insights.profitap.com/archive/2020/03)
- [February 2020 (4)](https://insights.profitap.com/archive/2020/02)
- [September 2019 (1)](https://insights.profitap.com/archive/2019/09)
- [August 2019 (1)](https://insights.profitap.com/archive/2019/08)
- [May 2019 (2)](https://insights.profitap.com/archive/2019/05)
- [April 2019 (1)](https://insights.profitap.com/archive/2019/04)
- [March 2019 (1)](https://insights.profitap.com/archive/2019/03)
- [February 2019 (1)](https://insights.profitap.com/archive/2019/02)
- [December 2018 (2)](https://insights.profitap.com/archive/2018/12)
- [October 2018 (2)](https://insights.profitap.com/archive/2018/10)
- [August 2018 (1)](https://insights.profitap.com/archive/2018/08)
- [July 2018 (2)](https://insights.profitap.com/archive/2018/07)
- [June 2018 (1)](https://insights.profitap.com/archive/2018/06)
- [May 2018 (4)](https://insights.profitap.com/archive/2018/05)
- [April 2018 (1)](https://insights.profitap.com/archive/2018/04)
- [March 2018 (2)](https://insights.profitap.com/archive/2018/03)
- [February 2018 (1)](https://insights.profitap.com/archive/2018/02)
- [January 2018 (1)](https://insights.profitap.com/archive/2018/01)
- [December 2017 (1)](https://insights.profitap.com/archive/2017/12)
- [November 2017 (2)](https://insights.profitap.com/archive/2017/11)
- [October 2017 (1)](https://insights.profitap.com/archive/2017/10)
- [July 2017 (1)](https://insights.profitap.com/archive/2017/07)
- [May 2017 (2)](https://insights.profitap.com/archive/2017/05)
- [February 2016 (1)](https://insights.profitap.com/archive/2016/02)
- [December 2015 (2)](https://insights.profitap.com/archive/2015/12)
- [June 2015 (2)](https://insights.profitap.com/archive/2015/06)
- [May 2015 (3)](https://insights.profitap.com/archive/2015/05)

see all

### Stay up to date

[Follow @Profitap](https://twitter.com/Profitap?ref_src=twsrc%5Etfw)

[Return to Blog](https://insights.profitap.com/)

# Troubleshooting Application Issues - SQL Server

- [Tweet](https://twitter.com/share)

Someone called and said “Clients are complaining about application performance issues”.  In other words, ‘things are slow’. I’m sure that this is a common statement heard by most IT technicians.

I asked for a meeting with the client and the IT team to discuss the issue. I needed to determine when the problem started, how often it happens and if they can reproduce the issue at will. During our meeting we found out that the issue has been occurring since day one (over a year ago), only getting worse and the client can reproduce the problem 9 out of 10 times.

![ Troubleshooting Application Issues](https://insights.profitap.com/hs-fs/hubfs/Blog%20visuals/Tony%20Fortunato/SQL%20Troubleshooting%20Configuration%20.png?width=687&name=SQL%20Troubleshooting%20Configuration%20.png)

Some of the team members thought the issue was related to the latency caused by their WAN connection to their server farm. I asked what they did to prove or disprove the latency theory. They commented that they pinged the remote server and router. Since there was no packet loss or latency issues, the WAN equipment, path and server must be fine. The ping test did have some value but I explained that a ping is by default a small packet, does not use TCP or UDP and is not the same as an application request so further testing is required. 

 

> *My ‘gut’ tells me that since the client can reproduce the performance problem and other applications are fine, I doubt it is network related, but I need to prove it.*
> 
>  

I can’t stress how important it is to document where your capture points are. When dealing with client complaints and application baselining, I like to start near the client. Since I am not familiar with the network and switch configuration, I don’t want to start with an Ethernet TAP. My concern is that if port security is enabled, I could cause an issue by introducing my MAC address. That’s one reason why I reached for my [ProfiShark](https://insights.profitap.com/evolution-of-portable-packet-capture). Since the connection to my computer is USB, tripping port security is not an issue.

The other concern I have using an Ethernet TAP on an unknown network is that my computer might drop packets. Even if I don’t drop any packets, a broadcast storm could skew my packet latency. During our meeting the network team said the average utilization on the client port is about 11%. 11% of 1 Gb is 110 Mbps which can easily cause issues with my capture.

 

> *Even though I replaced WinPcap with NPCAP on my system, I don’t feel comfortable gambling that my laptop can keep up with the network, or provide accurate timestamps. Through vigorous testing in my lab, I know my [ProfiShark](https://www.profitap.com/profishark-network-taps/)won’t drop a packet and has accurate timestamps at 1 Gb with 64 Byte Packets.*

 

One of the network analysts suggested setting up a SPAN port but I explained that I recommend against that since we are working on a performance issue. I don’t want the possibility of the span port adding latency or causing any other issues.

I’m not sure how well the switch is working, or if the switch is contributing to the problem, so I prefer we not initially modify any network device configurations. In some cases, a switch configuration change can take weeks to implement if change management approval is required.

Since the boot up and login did not have any major issues, I jumped straight to the application baseline. I started with reviewing some sample TCP SYN ACK and Application response time measurements. Then I quickly looked through the trace to see if there are any breaks in the initial pattern. In some cases, the Statistics -> IO graph is helpful in identifying a change in packets/sec or bits/sec. I simply clicked on the peak or valley to jump to those packets.

One of the first thing I do when analyzing this trace file is to look for any common issues that would cause performance issues. Here is a quick list of some of the things I look for:

- Name server performance issues (DNS, LDAP, WINS)
- Small packets used during hi volume transactions
- TCP retransmissions
- UDP dropped packets
- ICMP or application ERROR messages
- Excessive delays

That last one “Excessive Delays” is a tough one. Ideally you want to compare a good and bad trace. So, what do you do when you do not have a baseline or good trace to reference?

I covered all of these and as how to configure your protocol analyzer in the following video:

Please keep in mind where the trace was taken. In this case, it was from the client. If we see delays from the server, keep in mind it may not be the server, it could be anything between the client and the server. If we had the time and resources, I would have taken a trace from the server.

Lastly, we did find that the server was sized properly and the administrator found that the server needed more RAM and CPU’s.

With this application, I can clearly see that the SQL server is the main source of latency and created a table comparing the response times from other servers or services used by the client. I find summary tables like this helpful to ensure that all team members understand what server or device we will focus on.  

![SQL Troubleshooting Tabel](https://insights.profitap.com/hs-fs/hubfs/Blog%20visuals/Tony%20Fortunato/SQL%20Troubleshooting%20Tabel.png?width=600&name=SQL%20Troubleshooting%20Tabel.png)

When identifying sources of high latency, it is important to remember your capture point. For example, the SQL server seems to be the source of high latency, but since we are capturing from the client, all we can conclude is that the latency is not at the client and ‘towards the SQL Server”. I have to be careful since we do not have a trace from the server, and I am not aware of what network devices are between the client and server. This statement could simply mean that we need to perform more captures along the path between the client and server.

After seeing this table, the server team looked at the SQL server more closely. They found issues in the SQL/Server log so a capture from the server does not seem required at the point in time. They adjusted certain settings, such as number of CPUS, RAM and database size. They also determined the database has never had their regular maintenance performed so things like reindexing was scheduled.

>  
> 
> I noticed portions of the software where many smaller packets were used instead of the larger fewer packets when the client is performing other tasks. I sat down with the in-house programmers and they appreciated the feedback since I could show the exact commands. This change is more of a longer term issue, but at least they can compare the impact of any code changes to this trace.

 

Lastly, I trained the group in Wireshark and protocol analysis as I went through the trace. I had my computer connected to a projector and when I found something interesting, I would show the group my findings and my workflow. This is one of my favorite classroom approaches, live traces with the network team. I learn about their network and IP addressing and they learn about how I do my network troubleshooting, Wireshark and protocol analysis.

 

*The article is written by [Tony Fortunato](https://www.profitap.com/experts-corner/#tonyfortunato) - Network Performance Expert and Packet Analysis Hero* 

[![New Call-to-action](https://no-cache.hubspot.com/cta/default/2954816/d8a37719-9410-4e70-bcb1-137036f895df.png)](https://cta-redirect.hubspot.com/cta/redirect/2954816/d8a37719-9410-4e70-bcb1-137036f895df)

- [Tweet](https://twitter.com/share)

by [Profitap](https://insights.profitap.com/author/profitap) |  Feb 4, 2019  | [Insights](https://insights.profitap.com/topic/insights), [ProfiShark](https://insights.profitap.com/topic/profishark)

[**Packet Capture & Analysis**](https://www.profitap.com/iota/)

- [IOTA 1G](https://www.profitap.com/iota-1g/)
- [IOTA 1G+](https://www.profitap.com/iota-1g-plus/)
- [IOTA 10G](https://www.profitap.com/iota-10g/)
- [IOTA 10G+](https://www.profitap.com/iota-10g-plus/)
- [IOTA 10 CORE](https://www.profitap.com/iota-10-core/)
- [IOTA 10 CORE+](https://www.profitap.com/iota-10-core-plus/)
- [IOTA 100 CORE](https://www.profitap.com/iota-100-core/)

 

[**ProfiShark**](https://www.profitap.com/profishark-network-taps/)

- [ProfiShark 100M](https://www.profitap.com/profishark-100m/)
- [ProfiShark 1G](https://www.profitap.com/profishark-1g/)
- [ProfiShark 1G+](https://www.profitap.com/profishark-1g-plus/)
- [ProfiShark 10G](https://www.profitap.com/profishark-10g/)
- [ProfiShark 10G+](https://www.profitap.com/profishark-10g-plus/)

 

[**Accessories**](https://www.profitap.com/accessories/)

- [Transceivers](https://www.profitap.com/transceivers/)
- [Data Diodes](https://www.profitap.com/data-diodes/)
- [Connectivity](https://www.profitap.com/accessories/#connectivity/)

<https://twitter.com/Profitap>

<https://www.youtube.com/c/Profitap>

<https://www.facebook.com/Profitap>

<https://www.linkedin.com/company/profitap-international>

[**Network Traffic Aggregators**](https://www.profitap.com/network-traffic-aggregators/)

- [XX-720G](https://www.profitap.com/xx-720g-network-packet-broker/)
- [XX-1800G](https://www.profitap.com/xx-1800g-network-packet-broker/)
- [XX-3200G](https://www.profitap.com/xx-3200g-network-packet-broker/)

 

[**Network Packet Brokers**](https://www.profitap.com/network-packet-brokers/)

- [X3-Series](https://www.profitap.com/x3-series-advanced-network-packet-brokers/)
- [X2-2010G](https://www.profitap.com/x2-2010g-network-packet-broker/)
- [X2-3200G](https://www.profitap.com/x2-3200g-network-packet-broker/)
- [X2-6400G](https://www.profitap.com/x2-6400g-network-packet-broker/)
- [X2-12800G](https://www.profitap.com/x2-12800g-network-packet-broker/)

 

**NPB Features**

- [Data Masking](https://www.profitap.com/data-masking/)
- [Timestamping](https://www.profitap.com/timestamping/)
- [Packet Deduplication](https://www.profitap.com/packet-deduplication/)
- [Tunneling & De-tunneling](https://www.profitap.com/tunneling-de-tunneling/)
- [Packet Slicing](https://www.profitap.com/packet-slicing/)
- [GTP IP Filtering](https://www.profitap.com/gtp-ip-filtering/)

[**Network TAPs**](https://www.profitap.com/network-taps/)

- [Secure TAPs](https://www.profitap.com/secure-data-access/)
- [Fiber TAPs](https://www.profitap.com/fiber-taps/)
- [Copper TAPs](https://www.profitap.com/copper-taps/)
- [Aggregation TAPs](https://www.profitap.com/aggregation-taps/)
- [Bypass TAPs](https://www.profitap.com/bypass-taps/)
- [Regeneration TAPs](https://www.profitap.com/regeneration-taps/)
- [Replication TAPs](https://www.profitap.com/replication-taps/)

 

**Cloud Visibility**

- [VMware](https://www.profitap.com/vtap/)
- [Kubernetes](https://www.profitap.com/cloud-tap/)
- [AWS EKS](https://www.profitap.com/cloud-tap/)
- [Azure VM](https://www.profitap.com/cloud-tap/#azure)

 

**Centralized Management**

- [IOTA CM](https://www.profitap.com/iota-cm/)
- [Supervisor](https://www.profitap.com/supervisor/)

 

[**Solutions**](https://www.profitap.com/solutions/)

- [Performance analysis & diagnostics](https://www.profitap.com/performance-analysis-and-diagnostics-solutions/)
- [Network troubleshooting](https://www.profitap.com/network-troubleshooting-solutions/)
- [Packet forensics](https://www.profitap.com/packet-forensics-solutions/)
- [Network security](https://www.profitap.com/network-security-solutions/)
- [ICS/OT network monitoring](https://www.profitap.com/ics-ot-network-monitoring-solutions/)

[**About Us**](https://www.profitap.com/our-story/)

- [Our Story](https://www.profitap.com/our-story/)
- [Events](https://www.profitap.com/events/)
- [Careers](https://jobs.profitap.com/)
- [News](https://news.profitap.com/)

 

**Resources**

- [Knowledge Base](https://kb.profitap.com/)
- [Software & Drivers](https://resources.profitap.com/)
- [Product Portfolio](https://www.profitap.com/portfolio/)
- [Blog](https://insights.profitap.com/)
- [Library](https://www.profitap.com/library/)
- [Product Updates](https://www.profitap.com/product-updates/)
- [Academy](https://www.profitap.com/academy/)

 

**Partners**

- [Partner with Us](https://www.profitap.com/partner-with-us/)
- [Our Partners](https://www.profitap.com/our-partners/)
- [Locate a Reseller](https://www.profitap.com/locate-a-reseller/)

 

**Contact**

- [Contact Us](https://www.profitap.com/contact-us/)
- [Professional Services](https://www.profitap.com/professional-services/)
- [Get a Quote](https://www.profitap.com/get-a-quote/)

---

© 2026 Profitap HQ B.V. and its licensors. All Rights Reserved — Profitap HQ B.V., High Tech Campus 84, 5656 AG Eindhoven, The Netherlands | [Privacy Policy](https://www.profitap.com/privacy-policy/) | [Terms and Conditions](https://www.profitap.com/terms-and-conditions/)

```json
{
  "@context" : "http://schema.org",
  "@type" : "Blog",
  "author" : {
    "@type" : "Person",
    "name" : "Profitap"
  },
  "dateModified" : "October 23, 2019, 2:38:52 PM",
  "datePublished" : "2019-02-04 09:31:54",
  "description" : "In this article about Troubleshooting Application Issues, Tony Fortunato writes about how he came across an application performance issue and with the help of the ProfiShark portable packet capture device he found that, in this particular case, SQL server was the main source of high latency. ",
  "headline" : "Troubleshooting Application Issues - SQL Server",
  "image" : {
    "@type" : "ImageObject",
    "url" : "https://cdn2.hubspot.net/hubfs/2954816/SQL%20Troubleshooting%20Configuration%20%20Edit.png"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://cdn2.hubspot.net/hubfs/2954816/Logos/Profitap-logo-black-orange-whitebg.png"
    },
    "name" : "Profitap HQ B.V."
  }
}
```