现象:

oracle11.2.0.4rac+linux6.9
分布式事务问题:alert日志大量分布式事务信息
Wed Sep 16 22:24:48 2020
DISTRIB TRAN GDDB.6d36e46c.419.26.15318211
  is local tran 158.31.753501 (hex=9e.1f.b7f5d)
  insert pending committed tran, scn=16991552165237 (hex=f74.276e5575)
Wed Sep 16 22:28:10 2020
Thread 1 advanced to log sequence 26380 (LGWR switch)
  Current log# 3 seq# 26380 mem# 0: +DATADG/gddb/onlinelog/group_3.283.986639037
Wed Sep 16 22:28:15 2020
Archived Log entry 60272 added for thread 1 sequence 26379 ID 0xc64e0bd6 dest 1:
解决办法:

SQL> alter system set "_clusterwide_global_transactions"=false scope=spfile sid='*';

Does Oracle Commerce Require DTP Or _clusterwide_global_transactions Flags To Be Set For Oracle RAC (Doc ID 1945707.1)

To Bottom


In this Document

 

Goal

 

Solution

 

References


APPLIES TO:

Oracle Commerce Platform - Version 11.1 and later
Information in this document applies to any platform.
**Checked for relevance on 8-June-18**

GOAL

Should Distributed Transaction Processing (DTP) or Clusterwide XA transactions management (global_txn_processes) be used for RAC configuration when using Oracle Commerce?

SOLUTION

Generally when XA is configured, either DTP or _clusterwide_global_transactions is set.

However, when XA transactions use SUSPEND/RESUME operations the Clusterwide XA transactions management (global_txn_processes) introduced with 11g cannot be used. This limitation is documented in this document:

ORA-24798 WHEN XA RESUMES JOIN AN EXISTING TRANSACTION BRANCH (Doc ID 1106793.1)

Since Oracle Commerce transactions use SUSPEND/RESUME operations, _clusterwide_global_transactions will need to be set to "FALSE".

Since Clusterwide XA transactions management cannot be used, per Oracle documentation it is recommended that DTP be used. For further details, look at Overview of XA Transactions and DTP Services section of the Real Application Clusters Administration and Deployment Guide.

An additional reason to set _clusterwide_global_transactions to "FALSE" is discussed in
High rdbms ipc reply and DFS lock handle in 11gR2 RAC With XA Enabled Application (Doc ID 1361615.1)

REFERENCES

NOTE:1361615.1 - High rdbms ipc reply and DFS lock handle in 11gR2 RAC With XA Enabled Application
NOTE:1106793.1 - ORA-24798 WHEN XA RESUMES JOIN AN EXISTING TRANSACTION BRANCH

日志显示:
Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter
Wed Sep 16 23:54:41 2020
ALTER SYSTEM SET service_names='SYS$SYS.KUPC$S_1_20200916234503.GDDB' SCOPE=MEMORY SID='gddb1';
ALTER SYSTEM SET service_names='SYS$SYS.KUPC$S_1_20200916234503.GDDB','SYS$SYS.KUPC$C_1_20200916234503.GDDB' SCOPE=MEMORY SID='gddb1';
Wed Sep 16 23:54:58 2020
Running Distributed Transactions in RAC without DTP service.
Thu Sep 17 00:01:40 2020

======================================

Can I use Oracle RAC in a distributed transaction processing environment?

YES. Best practices is to have all tightly coupled branches of a distributed transaction running on an Oracle RAC database must run on the same instance. Between transactions and between services, transactions can be load balanced across all of the database instances. 
Prior to Oracle RAC 11g, you must use services to manage DTP environments. By defining the DTP property of a service, the service is guaranteed to run on one instance at a time in an Oracle RAC database. All global distributed transactions performed through the DTP service are ensured to have their tightly-coupled branches running on a single Oracle RAC instance. 
Oracle RAC 11g provides transparent support for XA global transactions in an Oracle RAC environment and you do not need to use DTP services.

====================================

Services and Distributed Transaction Processing in Oracle RAC(DTP) (Doc ID 1307751.1) To Bottom

In this Document

  Symptoms
  Cause
  Solution

APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 10.2.0.5 [Release 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.

SYMPTOMS

You may find the following message in alert log when application servers which perform distributed transactions connects to the database at first.

"Running Distributed Transactions in RAC without DTP service."

CAUSE

If you are running any kind of distributed transactions, the service that the application uses to connect to the RAC database should be enabled for DTP. This keeps all parts of a distributed transaction on the same instance, and allows the service to migrate to a new instance in case of instance failure.

Note: DTP services are not needed in 11.2. As long as the database initialization parameter GLOBAL_TXN_PROCESSES is greater than zero,Oracle11.2 allows different branches of the same global transaction to span multiple RAC instances.

SOLUTION

1.Check for what services do you have enabled?:

select * from v$active_services;

2. Enable all services for the application which uses DTP:

EXECUTE DBMS_SERVICE.MODIFY_SERVICE(service_name => '', DTP=>TRUE);

Or alternately you can use Oracle Enterprise Manager or SRVCTL to modify the DTP property of the singleton service. Set the DTP option (-x) for the service to TRUE 
(the default value is FALSE).

The following example shows how to modify the xa_01.example.com service using SRVCTL:

srvctl modify service -d crm -s xa_01.example.com -x TRUE

alert日志大量DISTRIB TRAN GDDB.6d36e46c.419.26.15318211问题相关推荐

  1. DISTRIB TRAN xxxxx.xxxx.xx.x.xx

    客户系统alert log中出现大量的分布式延时信息: Wed Jun 03 20:05:44 2015 DISTRIB TRAN HAIERMDM.f905907b.355.1.7544   is ...

  2. ora-01591:锁被未分布式事物处理/Distrib tran

    伴随报错内容:         Distrib tran xxx.xxx.xx.x.xxxx          1.使用Oracle DBA用户,查询如下数据字典:select * from dba_ ...

  3. oracle 9i alert log,Oracle 9i,10g,11g各自alert日志的位置

    10g&9i的alert日志: 进入oracle: [zhangshengdong@oralocal1 ~]$ sudo su - oracle [oracle@oralocal1 ~]$ s ...

  4. oracle的脚本日志,学习笔记:Oracle alert日志文件巡检脚本

    天萃荷净 分享一篇Oracle alert日志文件巡检脚本 每天都检查oracle日志,所以写了一个比较完善的shell,让其自动处理,在运行程序之前,需要在该脚本目录下新建tmp目录 #!/usr/ ...

  5. oracle11g的alert日志路径,oracle11g下alert文件位置

    Oracle 11g以前oracle的alter文件是在bdump目录下呢. oracle 11g一改常态以XML与传统的文本两种格式提供 Alert 日志. oracle 11g新的日志的位置由Au ...

  6. alert日志中出现Private Strand Flush Not Complete的处理方法

    还是南京那个客户的库,alert.log日志还报了如下的错误: Fri Oct 17 19:59:51 2014 Thread 1 cannot allocate new log, sequence ...

  7. oracle alert日志点检,有哪些关键性运行指标需要每日点检、监控、跟踪的?

    原标题:有哪些关键性运行指标需要每日点检.监控.跟踪的? 以下内容来自社区问答 哪些关键性运行指标需要每日点检.监控.跟踪的?关键性指标即可,说多了记不住,用处不大. 洪烨 哈尔滨银行 数据库管理员: ...

  8. Alert 日志报错:ORA-2730x OS Failure Message: No Buffer Space Available

    前言 今天巡检遇到数据库报错 ORA-2730x 错误,数据库版本为Oracle 11204 (x86_64),错误日志如下: ORA-00603: ORACLE server session ter ...

  9. ALERT日志中常见监听错误:ORA-3136错误的排查

    [现象] ***********************************************************************Fatal NI connect error 1 ...

  10. oracle ora 3136,ALERT日志中常见监听错误:ORA-3136错误的排查

    [现象]*********************************************************************** Fatal NI connect error 1 ...

最新文章

  1. 如何开启PostGreSQL的远程访问端口?
  2. 用Leangoo看板工具策划一场活动,看板示例
  3. ArchSummit2018深圳站筹备中,18大专题征集演讲嘉宾
  4. win10 更新pip
  5. 【SSM 4】Mybatis逆向生成工具
  6. (四)学习CSS之position、bottom、left、right和top属性
  7. Js弹性漂浮广告代码
  8. 去掉IntelliJ IDEA 中 mybatis 对应的 xml 文件警告
  9. 玩转oracle 11g(37):rman备份-数据库指定文件恢复
  10. jQuery插件Label Effect制作个性化的文字特效
  11. oracle consistent gets,Oracle buffer cache理解之七——统计信息!
  12. python连接hive_python连接hive
  13. ***PHP各种编码的汉字字符串截取
  14. python数据结构5 - 排序与搜索
  15. python-open函数操作实例
  16. CMU 15-213 Introduction to Computer Systems学习笔记(12) Linking
  17. 图片如何转PDF格式?这些方法值得收藏
  18. 三菱PLC5u与台达变频器modbus RTU通讯
  19. python的一系列绘图基础
  20. UE4开关门简单记录

热门文章

  1. python 人民币数字转汉字大写金额
  2. 百度祝恒书:百度智能招聘技术和应用实践
  3. Problem L: 数羊————思维不严谨
  4. 阅读材料:信息技术年谱
  5. 在 Nebula K8s 集群中使用 nebula-spark-connector 和 nebula-algorithm
  6. APP在推广之渠道为王(三 )
  7. 全国各地电信网通铁通DNS服务器IP地址
  8. Leetcode 781 森林中的兔子
  9. 注册表编辑器(regedit)
  10. 爬虫项目十五:你了解你的QQ好友吗?教你用Python采集QQ好友数据