取消請求的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
- 網路請求優化之取消請求優化
- Java中如何解析SQL語句、格式化SQL語句、生成SQL語句?JavaSQL
- SQL語句SQL
- SQL語句IN的用法SQL
- axios原始碼分析——取消請求iOS原始碼
- axios取消請求 CancelToken(如何使用)iOS
- 【SQL】9 SQL INSERT INTO 語句SQL
- 【SQL】10 SQL UPDATE 語句SQL
- 【SQL】11 SQL DELETE 語句SQLdelete
- SQL SELECT 語句SQL
- sql常用語句SQL
- 如何優雅地取消Retrofit請求?
- .NET Core使用 CancellationToken 取消API請求API
- 寫入請求轉換為一條SQL insert 語句發給後設資料叢集SQL
- 傳送新請求,取消上一次pending狀態的同一請求
- sql語句如何執行的SQL
- MySQL中常用的SQL語句MySql
- sqlserver dba常用的sql語句SQLServer
- SQL 語句的注意事項SQL
- sql宣告變數,及if -else語句、while語句的用法SQL變數While
- 1.3. SQL 語句SQL
- Oracle基本SQL語句OracleSQL
- Sql語句小整理SQL
- SQL語句優化SQL優化
- SQL 語句學習SQL
- vue axios路由跳轉取消所有請求VueiOS路由
- 資料庫常用的sql語句大全--sql資料庫SQL
- 不同的SQL語句執行時需要申請並持有對應的鎖SQL
- Oracle SQL精妙SQL語句講解OracleSQL
- 單個SQL語句的10046 traceSQL
- mysql的sql語句執行流程MySql
- SQL語句規範的寫法SQL
- 簡單的SQL語句學習SQL
- SQL 語句的執行順序SQL
- MySql和簡單的sql語句MySql
- 優化 SQL 語句的步驟優化SQL
- 使用sql語句查詢平均值,使用sql語句查詢資料總條數, not in 篩選語句的使用SQL
- 【SQL】14 UNION 操作符、SELECT INTO 語句、INSERT INTO SELECT 語句、CREATE DATABASE 語句、CREATE TABLE 語句SQLDatabase