博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux sql撤销,取消请求的sql语句
阅读量:6279 次
发布时间:2019-06-22

本文共 1701 字,大约阅读时间需要 5 分钟。

来源:老王  网络

在日常维护中,我们会经常发现,有些请求无法取消,而且占用资源很高。这时候就需要我们从后台用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.

转载地址:http://eknva.baihongyu.com/

你可能感兴趣的文章
nanomsg实验——survey
查看>>
Java设计模式(八)----代理模式
查看>>
LinkedList的用法小结
查看>>
Using mongoDB's Profiler analyze the performance of database operations
查看>>
python range() function like postgresql generate_series()
查看>>
一则优化案例
查看>>
[实践]Sonar Xcode8兼容
查看>>
Canvas应用
查看>>
node inspect chrome日志调试
查看>>
书写可维护代码的重要性
查看>>
数据库实时转移之Confluent环境搭建(二)
查看>>
(一)检测浏览器是否支持websocket
查看>>
读书笔记02-《术与道》上
查看>>
微信小程序知识点
查看>>
那些你可能不知道的搜索奇技淫巧
查看>>
译 如何做好产品经理面试工作
查看>>
[译] 伟大设计与好设计之间区别是什么?这里告诉你真相
查看>>
Webpack 使用小结
查看>>
Vue 进阶
查看>>
CentOS Docker 安装
查看>>