alert文件中出現:Auto-tuning: Shutting down background process GTXd

(一)早上查看一套4節點的RAC服務器時發現 alert 日志中有如下顯示內容。

 

         Thu Jun 13 06:20:31 2013
Auto-tuning: Shutting down background process GTXd
Thu Jun 13 06:30:32 2013
Auto-tuning: Shutting down background process GTXc
Thu Jun 13 06:40:33 2013
Auto-tuning: Shutting down background process GTXb
Thu Jun 13 06:50:38 2013
Auto-tuning: Shutting down background process GTXa
Thu Jun 13 07:01:17 2013
Auto-tuning: Shutting down background process GTX9
Thu Jun 13 07:11:18 2013
Auto-tuning: Shutting down background process GTX8
Thu Jun 13 07:13:53 2013

 

 (二)先看一下DB版本信息。

 

    SQL> select * from v$version;     

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE    11.2.0.3.0      Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production

 

(三)在metalink上查找了一下這個日志錯誤信息,找到以下連接。

 

      Auto-tuning:shutting Down Background process GTX [ ID 1481153.1]

 

     已摘錄如下:

    http://space.itpub.net/?uid-27348-action-viewspace-itemid-763753

 

 (四)根據以上文摘中所說,產生此提示的原因是:

 

         (1)在RAC的環境中,為支持 global (XA) transactions,設定了參數         GLOBAL_TXN_PROCESSES

 

         (2)當系統global (XA) transactions很重時使用此參數 GLOBAL_TXN_PROCESSES,不般不需要設定,系統自動調整,一般只在RAC系統見到。

 

(五)解決辦法:

 

   (1)不用理會。

 

             系統會根據DB的負載自動的GTX進程。如果有應用使用XA連到DB,那么可能需要這個參數,這個提示是正常的。

 

   (2)如果你確認未使用XA,你想停掉此提示,請disable GTXn進程。

            設置GLOBAL_TXN_PROCESSES = 0 

 

         

(六)相關閱讀:

 

      Overview of XA Transactions and DTP Services
http://docs.oracle.com/cd/E11882_01/rac.112/e16795/hafeats.htm#RACAD8287

Overview of XA Transactions and DTP Services

An XA transaction can span Oracle RAC instances by default, allowing any application that uses the Oracle XA library to take full advantage of the Oracle RAC environment to enhance the availability and scalability of the application.

GTXn background processes support global (XA) transactions in an Oracle RAC environment. The GLOBAL_TXN_PROCESSES initialization parameter, which is set to 1 by default, specifies the initial number of GTXn background processes for each Oracle RAC instance. Use the default value for this parameter clusterwide to allow distributed transactions to span multiple Oracle RAC instances. Using the default value allows the units of work performed across these Oracle RAC instances to share resources and act as a single transaction (that is, the units of work are tightly coupled). It also allows 2PC requests to be sent to any node in the cluster.

Before Oracle RAC 11g release 1 (11.1), the way to achieve tight coupling in Oracle RAC was to use Distributed Transaction Processing (DTP) services, that is, services whose cardinality (one) ensured that all tightly-coupled branches landed on the same instance—regardless of whether load balancing was enabled. Tightly coupled XA transactions no longer require the special type of singleton services to be deployed on Oracle RAC databases if the XA application does not join or resume XA transaction branches. XA transactions are transparently supported on Oracle RAC databases with any type of service configuration.

Note:

Oracle RAC 11g release 1 (11.1) and later does not require a DTP service but performance might be improved if you use a DTP service, as described in "Benefits of DTP Services for XA Transactions".

An external transaction manager, such as Oracle Services for Microsoft Transaction Server (OraMTS), coordinates DTP/XA transactions. However, an internal Oracle transaction manager coordinates distributed SQL transactions. Both DTP/XA and distributed SQL transactions must use the DTP service in Oracle RAC.

See Also:

Benefits of DTP Services for XA Transactions

To provide improved application performance with distributed transaction processing in Oracle RAC, you may want to take advantage of DTP services. Using DTP services, you can direct all branches of a distributed transaction to a single instance in the cluster. To load balance across the cluster, it is better to have several groups of smaller application servers with each group directing its transactions to a single service, or set of services, than to have one or two larger application servers.

In addition, connection pools at the application server tier that load balance across multiple connections to an Oracle RAC database can use this method to ensure that all tightly-coupled branches of a global distributed transaction run on only one Oracle RAC instance. This is also true in distributed transaction environments using protocols such as X/Open Distributed Transaction Processing (DTP) or the Microsoft Distributed Transaction Coordinator (DTC).

To enhance the performance of distributed transactions, you can 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. This has the following benefits:

  • The changes are available locally within one Oracle RAC instance when tightly coupled branches need information about changes made by each other
  • Relocation and failover of services are fully supported for DTP
  • By using more DTP services than there are Oracle RAC instances, Oracle Database can balance the load by services across all of the Oracle RAC database instances

    


GTXn


Global Transaction Process


Provides transparent support for XA global transactions in an Oracle RAC environment


These processes help maintain the global information about XA global transactions throughout the cluster. Also, the processes help perform. two-phase commit for global transactions anywhere in the cluster so that an Oracle RAC database behaves as a single system to the externally coordinated distributed transactions.

The GLOBAL_TXN_PROCESSES initialization parameter specifies the number of GTXn processes, where n is 0-9 or a-j. The database automatically tunes the number of these processes based on the workload of XA global transactions. You can disable these processes by setting the parameter to 0. If you try to run XA global transactions with these process disabled, an error is returned.

时间: 2024-09-22 20:17:39

alert文件中出現:Auto-tuning: Shutting down background process GTXd的相关文章

c#-程序設計題 字符比較 字符中出現的字母相同

问题描述 程序設計題 字符比較 字符中出現的字母相同 有如下输入:若干个由大写英文字母构成的单词,以','号隔开.如"ABCCD,CDA,BCDD,DCA,ADC,BCD,CDCAB". 写一段程序,从输入中寻找由相同字符构成(重复字符出现次数也是一样)的单词组输出. 如以上输入,则输出: 第1组:ABCCD,CDCAB 第2组:CDA,DCA,ADC 解决方案 http://blog.csdn.net/xianfajushi/article/details/11999309 解决方案

c++-求教!通过内存映射,实现生成的数组存储到文件中,显示出来头100个数?

问题描述 求教!通过内存映射,实现生成的数组存储到文件中,显示出来头100个数? 我目前就了解个大概,现在我不明白const DWORD mmf_size = 512*1024;//?这个地方不懂 ,这个原来的代码部分,我拿别人的代码改的,增加了自己的double的动态数组SigNRead,这个怎么弄 我就想实现,通过内存映射 实现写入 读取 double数组 数组有 1列 90000行个double数组成. #include #include #include #include #define

教你如何清除RM文件中的恶意弹出广告

给普通rm文件加入弹出广告功能,操作并不复杂,现在网上已经出现具备类似功能的共享软件. 那么有没有办法清除这些RM文件的弹出窗口广告呢? 实际上可以在影片中添加事件(events)是rm文件的特性之一.用户可以安装 RealProducerPlus(Realnetworks的官方产品之一) 来对rm文件进行编辑.制作.修改.其安装目录下的ealMediaEditor/rmevents.exe可执行文件正是用来为rm文件插入事件的命令行程序.你可以任意新建一个文本文件,比如myevents.txt

c++-命名空间中定义的类是否需要在同一文件中给出实现方法?

问题描述 命名空间中定义的类是否需要在同一文件中给出实现方法? 如题,比如在test.h文件中有如下namespace namespace ns { ...; class student *ptr; ...} class student 的实现方法是否要在test.h文件中给出?为什么? 解决方案 命名空间只是为了区分重命名等,你的实现等可以在其他cpp中. 解决方案二: 不需要,命名空间是为了防止变量重名.

servlet-Servlet中alert没有弹出框

问题描述 Servlet中alert没有弹出框 response.setContentType(""text/html;charset=utf-8""); request.setCharacterEncoding(""utf-8""); PrintWriter out = response.getWriter(); out.println(""<script> alert('验证失败,请重新输入

java-JAVA新手求救!从文件中读取出的歌词在TextArea中显示不全!

问题描述 JAVA新手求救!从文件中读取出的歌词在TextArea中显示不全! RT,最近在写一个简单的MP3播放器,由于是新手,所以代码比较屎,大神不要嘲笑.. 从文件中(.lrc格式)中读取出的歌词可以在控制台完美输出,但是在Textarea中 是残缺状态,想知道原因及解决办法 以下是读取歌词并显示的代码: int lastTime = 0; int minute, second, milliSecond, total; String str = "", time, words;

编程-给定一个最多包含40亿个随机排列的32位整数的顺序文件,找出一个不在文件中的32位整数。

问题描述 给定一个最多包含40亿个随机排列的32位整数的顺序文件,找出一个不在文件中的32位整数. (在文件中至少缺失一个这样的数为什么?)括号里的话怎么得到的 在具有足够内存的情况下,如何解决该问题? 如果有几个外部的临时文件可以用,但是只有几百字节的内存,又该如何解决该问题. 解决方案 足够内存,用位图法.定义一个arr[4294967296]大小的数组,遍历顺序文件,遇到一个值,就把对应下标的置1,最后遍历这个数组,找0的元素. 解决方案二: 如果只有几百的内存,可以用hashtable.

jquery中直接用alert()输出弹出窗口在谷歌浏览器中显示位置居中????

问题描述 jquery中直接用alert()输出弹出窗口在谷歌浏览器中显示位置居中???? jquery中直接用alert()输出弹出窗口在谷歌浏览器中显示位置居中???? 解决方案 默认是居中的,具体还要看你浏览器放大的比例

c++-VS软件弹出以下文件中的行尾不一致。是否将行尾标准化,如果我选了,如果以后想换,如何弄

问题描述 VS软件弹出以下文件中的行尾不一致.是否将行尾标准化,如果我选了,如果以后想换,如何弄 VS软件弹出以下文件中的行尾不一致.是否将行尾标准化,如果我选了,如果以后想换,如何弄 解决方案 文件格式不同而已,t一般是你文件是从linux过来的,所有VS建议转换成windows格式.如果你以后想转换回linux格式,可以把文件放到Linux,然后u用dos2unix命令转换一下. 解决方案二: 你是否是用 VS 打开了类似于 Linux 下的源代码?如果是,有这样的提示不奇怪的. 就是回车换