iis服务器助手广告
返回顶部
首页 > 资讯 > 错误编码 >ORA-16123: transaction string string string is waiting for commit approval ORACLE 报错 故障修复 远程处理
  • 786
分享到

ORA-16123: transaction string string string is waiting for commit approval ORACLE 报错 故障修复 远程处理

报错故障transaction 2023-11-05 00:11:27 786人浏览 八月长安
摘要

文档解释 ORA-16123: transaction string string string is waiting for commit approval Cause: The apply process is waiting for

文档解释

ORA-16123: transaction string string string is waiting for commit approval

Cause: The apply process is waiting for approval to commit a transaction. This transaction may depend on another or other synchronization activity may delay the committing of a transaction.

Action: No action necessary, this infORMational statement is provided to record the event for diagnostic purposes.

ORA-16123 错误表示有一个显式的事务需要提交前的确认。这在执行跨多个表的复杂操作时可能会发生,例如从一个数据库表移动大量数据到另一个数据库表中。

官方解释

ORA-16123 表示发出方正请求提交一个显式事务,但该事务太复杂,超出系统能处理的范围,需要 DBA 预先确认,即该事务安全可以提交。

常见案例

常见的发生案例是在执行更新数据的操作时,事务太复杂,涉及多张表,超出系统能处理的范围,这时需要 DBA 预先确认,才能够将其提交。

一般处理方法及步骤

1.确认是哪个用户提交了此事务,使用下面的语句:

select session_id, serial#, distinct client_process, username from v$session;

2.将查询结果里username 为此用户,会话 ID (session_id) 及序列 (serial#) 住:

alter system kill session ‘session_id, serial#’;

3.将此用户的锁解开:

alter system unlock session ‘session_id, serial#’

4.使用授权的启用和禁用功能,让用户可以提交事务:

alter user user_name identified by 设置密码; grant select, update, delete, insert on table_name to user_name; grant commit to user_name;

5.用户提交事务后,再禁用该用户的权限:

revoke select, update, delete, insert on table_name from user_name; revoke commit from user_name; alter user user_name identified by 空;

--结束END--

本文标题: ORA-16123: transaction string string string is waiting for commit approval ORACLE 报错 故障修复 远程处理

本文链接: https://www.lsjlt.com/news/527430.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作