Wait statistics, in the context of SQL Server, refer to the amount of time that a query spends waiting to access data in the database. When a client application requests data from the database, the request is placed in a queue and the client application must wait for its turn to access the data. The time that the query spends waiting is called a "wait" and is tracked by SQL Server. This information can be used to identify potential performance bottlenecks and optimize the performance of the database. Wait statistics are commonly used by database administrators to diagnose and troubleshoot performance issues in SQL Server.
The LCK_M_IX wait type in SQL Server is a type of wait that occurs when a task is waiting to acquire an intent exclusive lock. In SQL Server, an intent exclusive lock is a type of lock that is used to protect the data in an object, such as a table or index, during certain operations. For example, an intent exclusive lock might be taken when a query is modifying data in a table, or when an index is being rebuilt. When a task is in the LCK_M_IX wait state, it is waiting for the intent exclusive lock to be released before it can continue execution. This wait type is typically only seen when certain operations are being performed on an object in the database.