MSSQLSERVER_1222MSSQLSERVER_1222
Aplica-se a:Applies to: SQL ServerSQL Server (todas as versões compatíveis)
SQL ServerSQL Server (all supported versions)
SQL ServerSQL Server (todas as versões compatíveis)
SQL ServerSQL Server (all supported versions)
DetalhesDetails
AtributoAttribute | ValorValue |
---|---|
Nome do ProdutoProduct Name | SQL ServerSQL Server |
ID do eventoEvent ID | 12221222 |
Origem do EventoEvent Source | MSSQLSERVERMSSQLSERVER |
ComponenteComponent | SQLEngineSQLEngine |
Nome simbólicoSymbolic Name | LK_TIMEOUTLK_TIMEOUT |
Texto da mensagemMessage Text | Tempo limite da solicitação de bloqueio excedido.Lock request time out period exceeded. |
ExplicaçãoExplanation
Outra transação manteve um bloqueio em um recurso necessário por mais tempo do que esta consulta podia aguardar.Another transaction held a lock on a required resource longer than this query could wait for it.
Ação do usuárioUser Action
Execute as seguintes tarefas para aliviar o problema:Perform the following tasks to alleviate the problem:
Localize a transação que está mantendo o bloqueio no recurso necessário, se possível.Locate the transaction that is holding the lock on the required resource, if possible. Use as exibições de gerenciamento dinâmico sys.dm_os_waiting_tasks e sys.dm_tran_locks.Use sys.dm_os_waiting_tasks and sys.dm_tran_locks dynamic management views.
Se a transação ainda estiver mantendo o bloqueio, termine a transação, se necessário.If the transaction is still holding the lock, terminate that transaction if appropriate.
Execute a consulta novamente.Execute the query again.
Se esse erro ocorrer com frequência, altere o período de tempo limite de bloqueio ou modifique as transações incorretas para que mantenham o bloqueio por menos tempo.If this error occurs frequently change the lock time-out period or modify the offending transactions so that they hold the lock for less time.