Skip to content

SQLGrease SQL Server Performance tips

Performance tuning tips from the SQLGrease team

  • Blog Home
  • About Me
  • Contact Me
  • SQLGrease Home Page

Wait events

OLEDB waits: what they mean and a few ideas on addressing them

March 21, 2024March 21, 2024 ~ franklinyamamoto

Typically when you see OLEDB waits they come from querying linked servers set up through OLEDB.  If you are seeing a high number of these as a query runs, you should consider monitoring performance on the remote server to see how the query on the local server splits the work up.  Unfortunately the optimizer is […]

Read More

ASYNC_NETWORK_IO Wait, What is it? What causes it?

July 5, 2019December 31, 2019 ~ franklinyamamoto ~ 1 Comment

You may occasionally see ASYNC_NETWORK_IO waits surface in your database . This wait can be caused by an unhealthy network connection; however, more often than not I see it caused for different reasons. What are causes of ASYNC_NETWORK_IO wait? There’s a few common scenarios I see as a cause for this. Queries retrieving large result […]

Read More

How to fix RESOURCE_SEMAPHORE waits

September 16, 2018December 31, 2019 ~ franklinyamamoto ~ 3 Comments

RESOURCE_SEMAPHORE waits occur when a query is unable to get enough memory to execute.  In this post I will describe how to see they are occurring.  I will also provide tips on ways to help reduce or eliminate them. How do I see them occurring? You can detect they are occurring by checking wait stats. […]

Read More

Subscribe to our mailing list

* indicates required

Follow @sqlgrease

What are you waiting on?

Recent Posts

  • How CURSOR processing logic shows up in Query Store
  • Using GO in SSMS versus not – what is the difference
  • Unmatched Indexes plan warnings
  • No Join Predicate plan warning may be a red herring
  • Parallel plans can be selected with scalar UDF’s
  • What’s my parallel query waiting on?
  • Improving performance of SUBSTRING queries
  • Execution plan shortcuts causing random long executions
  • SQL Server compile locks
  • Are you searching for a Precise I3 replacement?
  • How to measure query runtime when developing/testing – part 3
  • Deadlock graphs now contain query hashes
  • RESOURCE_SEMAPHORE waits caused by OBJECTSTORE_LOCK_MANAGER memory usage
  • Opening an actual plan in a separate SSMS tab
  • How to measure query runtime when developing/testing – part 2
  • How to measure query runtime when developing/testing – part 1
  • OLEDB waits: what they mean and a few ideas on addressing them
  • STATMAN queries causing you timeouts?
  • What does the status column of a session mean in SQL Server?
  • Query store queries losing forced plans
~