取消請求的sql語句
來源:老王 網路
在日常維護中,我們會經常發現,有些請求無法取消,而且佔用資源很高。這時候就需要我們從後臺用sql語句修改這個請求的狀態。
update fnd_concurrent_requests set status_code='X',phase_code='C' where request_id=
Subject: How to Cancel a Concurrent Request Stuck in the Queue?
Doc ID: 749748.1 Type: PROBLEM
Modified Date : 02-MAR-2009 Status: MODERATED
In this Document
Symptoms
Cause
Solution
References
--------------------------------------------------------------------------------
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.
Applies to:
Oracle Application Object Library - Version: 11.0 to 12.0
This problem can occur on any platform.
11.0.x - 12.0.x
Symptoms
Unable to cancel a concurrent request out of the queue that is stuck.
Cause
Tried to Cancel a concurrent request. Used the "Cancel Request" button from the Administer > Concurrent > Manager form.
Got the following message:
Request xxxxxx can no longer be cancelled. The Concurrent Manager Process that was running this request has exited abnormally. The ICM will mark this request as completed with error.
Solution
Manually cancel the request out of the queue with the following SQL against the offending
request id(s). This can be safely done while managers are up and running:
SQL> UPDATE fnd_concurrent_requests
SET phase_code = 'C', status_code = 'X'
WHERE request_id = '
commit;
Note: To obtain request details prior to cancelling the request, use Note 134035.1 ANALYZEREQ.SQL - Detailed Analysis of One Concurrent Request. When prompted, provide the request id to be analyzed. This can be useful for determining the reason why the request may be stuck in the queue.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15187685/viewspace-764990/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 網路請求優化之取消請求優化
- 取消Fetch API請求API
- 貼一個求表空間的sql 語句SQL
- 如何優雅地取消Retrofit請求?
- axios取消請求 CancelToken(如何使用)iOS
- axios原始碼分析——取消請求iOS原始碼
- .NET Core使用 CancellationToken 取消API請求API
- SQL語句SQL
- SQL語句IN的用法SQL
- 常用的SQL語句SQL
- 常用的SQL 語句SQL
- SQL 語句 as 的用法SQL
- oracle的sql語句OracleSQL
- Java中如何解析SQL語句、格式化SQL語句、生成SQL語句?JavaSQL
- Oracle EBS提交過多請求批量取消的方法Oracle
- 傳送新請求,取消上一次pending狀態的同一請求
- 請教:JDON 中找不到呼叫資料庫的SQL語句?資料庫SQL
- vue axios路由跳轉取消所有請求VueiOS路由
- EBS 取消“是否提交另一項請求”提示
- sql 中的with 語句使用SQL
- SQL語句的優化SQL優化
- sql語句的簡化SQL
- 實用的SQL語句~!SQL
- sql語句大全SQL
- 共享SQL語句SQL
- SQL語句整理SQL
- SQL基本語句SQL
- 精妙Sql語句SQL
- SQL語句集合SQL
- oracle sql語句OracleSQL
- sql語句 求救!SQL
- SQL精妙語句SQL
- SQL語句收集SQL
- 常用SQL語句SQL
- sql常用語句SQL
- 【SQL】10 SQL UPDATE 語句SQL
- 【SQL】11 SQL DELETE 語句SQLdelete
- 通過分析SQL語句的執行計劃優化SQL語句SQL優化