Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure SQL high wait time on "VDI_CLIENT_OTHER"

We're benchmarking our app with different scales of an Azure SQL database, and we're having a hard time saturating the db. Among other things, we've executed this query:

SELECT *
FROM sys.dm_os_wait_stats
ORDER BY wait_time_ms DESC

The top row of the result was something like

wait_type        waiting_tasks_count    wait_time_ms    max_wait_time_ms    signal_wait_time_ms
VDI_CLIENT_OTHER         19560           409007428          60016                37281

What is this wait time? What exactly have we been waiting for during those 409000 seconds (almost 5 days)? Google doesn't seem to know what VDI_CLIENT_OTHER is.

like image 283
Malt Avatar asked Apr 12 '16 16:04

Malt


People also ask

Is Azure SQL High Availability?

Azure SQL Database and Azure SQL Managed Instance feature a built-in high availability solution, that is deeply integrated with the Azure platform.

What causes SQL Server waits?

Common SQL WAIT Stats This indicates that SQL is waiting on a Parallel process to complete. This can be a sign of resource issues on the SQL server (CPU, MEM, DiskIO) or the query itself is poorly written.

What is SQL wait time?

SQL Server keeps track of the time that elapses between leaving the RUNNING state and becoming RUNNING again (called the “wait time”) and the time spent on the RUNNABLE queue (called the “signal wait time” – i.e. how long does the thread need to wait for the CPU after being signaled that its resource is available).


1 Answers

VDI_CLIENT_OTHER is used in case of new replica seeding or any other user initiated workflow that triggers copies like update service tier and setting up geo relationship link. High wait time It likely just means we did seeding and the task remained running waiting for additional work items which aren’t arriving.

like image 76
MihaelaBlendea Avatar answered Nov 15 '22 02:11

MihaelaBlendea